I guessed this didn't work because "S99" meant it was called after S90halt so the computer was shutdown before. so I changed it to "S00hdd-shutdown-workaround" (like Martin wrote) but still nothing changed. I had no noise in Dapper, then noise in Edgy with kernel 2.6.17 but not with kernel 2.6.15, and still the noise in Feisty with kernel 2.6.20.
I don't have this file (or directory?) /sys/class/scsi_disk/0\:0\:0\:0/stop_on_shutdown . only /sys/class/scsi_device/0\:0\:0\:0/
Am I missing something here?
I tried the workaround of Martin and More. It didn't work for me.
I made a file in /etc/init.d with the following two lines:
#!/bin/sh scsi_device/ 0\:0\:0\ :0/stop_ on_shutdown
echo 1 > /sys/class/
(only had to change "scsi_disk" for "scsi_device")
then
sudo chmod +x filename d/S99hdd- shutdown- workaround /etc/init. d/hdd-shutdown- workaround
sudo ln -s /etc/rc0.
I guessed this didn't work because "S99" meant it was called after S90halt so the computer was shutdown before. so I changed it to "S00hdd- shutdown- workaround" (like Martin wrote) but still nothing changed. I had no noise in Dapper, then noise in Edgy with kernel 2.6.17 but not with kernel 2.6.15, and still the noise in Feisty with kernel 2.6.20.
I don't have this file (or directory?) /sys/class/ scsi_disk/ 0\:0\:0\ :0/stop_ on_shutdown . only /sys/class/ scsi_device/ 0\:0\:0\ :0/
Am I missing something here?