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
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/class/scsi_disk/0\:0\:0\:0/stop_on_shutdown . only 
/sys/class/scsi_device/0\:0\:0\:0/
Am I missing something here?

-- 
bad hard disk noise on shutdown
https://bugs.launchpad.net/bugs/67810
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to