Comment 25 for bug 63937

Revision history for this message
Martijn de Nerd (martijn-de-nerd) wrote :

Okay, i read the abovementioned bugreport again, and now more carefully :) apparently, the patch is already (partly*) in 2.6.20 , but it is sort of not activated. However, this can be done manually.

For me the following procedure removed the unhealthy 'click';
sudo -i
echo 1 > /sys/class/scsi_disk/0\:0\:0\:0/stop_on_shutdown
(repeat this for all your disks, replace 0\:0\:0\:0/ )

However, this setting is lost when rebooting, that's why optimally the default setting has to be changed, which is;
/sys/module/sd_mod/parameters/stop_on_shutdown_default, then all the disks should follow this setting.
This is set somewhere at bootup, but I don't know where or when, this can't be to hard, though.

So, as far as I can see there is a simple solution for the 2.6.20 case, the edgy people aren't helped by this however...

Cheers,

Martijn
BTW
why does the upstream 7838 status say 'rejected' , while it actually is; resolved / code_fix ??

*partly; "SCSI part is committed into mainline. libata part is still pending. This can
appear in mainline 2.6.22 at the earliest."