Itried the workaround of Martijn (which I found on another page). It didn't 
work for me.
I made a file hdd-shutdown-workaround in /etc/init.d with the following two 
lines:

#!/bin/sh
echo 1 > /sys/class/scsi_device/0\:0\:0\:0/stop_on_shutdown

(only had to change "scsi_disk" for "scsi_device")
then

sudo chmod +x filename
sudo ln -s /etc/rc0.d/S99hdd-shutdown-workaround 
/etc/init.d/hdd-shutdown-workaround

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/module/sd_mod/parameters/stop_on_shutdown_default
nor /sys/class/scsi_disk/0\:0\:0\:0/stop_on_shutdown . only 
/sys/class/scsi_device/0\:0\:0\:0/
am I missing something?

-- 
The SATA disk doesn't power off while shutdown
https://bugs.launchpad.net/bugs/63937
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to