FS#18910 - [sg3_utils] some disks don't spindown correctly

Attached to Project: Arch Linux
Opened by Johannes Pfau (jpf) - Thursday, 01 April 2010, 15:31 GMT
Last edited by Isenmann Daniel (ise) - Wednesday, 30 June 2010, 17:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Isenmann Daniel (ise)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


With recent kernels some disks don't correctly spin down anymore. The disk spins down for a small moment but immediately spins up again.

Additional info:
* package version: sg3_utils 1.28-1 x86_64
* no special config, nothing special in logs, but listening to the disk and watching power consumption it's obvious the disk immediately spins up again.
* related redhat bug: https://bugzilla.redhat.com/show_bug.cgi?id=553039
* patch https://bugzilla.redhat.com/attachment.cgi?id=389195&action=diff tested & working
* the patch does work with 1.28 as well
* I can't seem to find the upstream sg3-utils bugtracker, otherwise I would report the bug there, sorry.

Steps to reproduce:
sg_start --stop /dev/sd*

it doesn't happen with all disks, but where it happens it happens always.
This task depends upon

Closed by  Isenmann Daniel (ise)
Wednesday, 30 June 2010, 17:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  Seemed fixed, reported by user.
Comment by Ionut Biru (wonder) - Wednesday, 09 June 2010, 19:38 GMT
i've updated to 1.29. from what i see from redhat bugtracker, it should be fixed in this version
Comment by Isenmann Daniel (ise) - Tuesday, 15 June 2010, 15:10 GMT
@jpf: Please test the new version and tell us if it works..
Comment by Johannes Pfau (jpf) - Saturday, 19 June 2010, 08:45 GMT
sorry, this was a problem with a friends computer, so it took some time to test this again.

But yes, it seems fixed with the new package :-)