Bug#436703: #436703: /sbin/shutdown fails to properly spindown drive

2007-08-25 Thread Roland Stigge
tag 436703 patch thanks Hi, I'm attaching a patch that fixes it. It basically follows http://linux-ata.org/shutdown.html and skips the drive shutdown when the respective /sys/block/sdX/device/scsi_disk:*/manage_start_stop exists (leaving it for the kernel to do). After fixing, contact

Bug#436703: #436703: /sbin/shutdown fails to properly spindown drive

2007-08-25 Thread Eric Valette
Roland Stigge wrote: tag 436703 patch thanks Hi, I'm attaching a patch that fixes it. It basically follows http://linux-ata.org/shutdown.html and skips the drive shutdown when the respective /sys/block/sdX/device/scsi_disk:*/manage_start_stop exists (leaving it for the kernel to do).

Bug#436703: #436703: /sbin/shutdown fails to properly spindown drive

2007-08-25 Thread Roland Stigge
Hi, Eric Valette wrote: had some trouble finding the file I had to patch but managed (debian/patches/67_init_hddown.dpatch.orig). You should patch debian/patches/67_init_hddown.dpatch, not *.orig. Recompile (dpkg-buildpackage -rfakeroot) and dpkg -i sysvinit_*.deb. Shutdown. The warning

Bug#436703: #436703: /sbin/shutdown fails to properly spindown drive

2007-08-25 Thread Eric Valette
Roland Stigge wrote: You should patch debian/patches/67_init_hddown.dpatch, not *.orig. Was a copy paste problem. I did patch 67_init_hddown.dpatch and the patch applied just skips the SCSI disk if the /sys/... fil is present. Recompile (dpkg-buildpackage -rfakeroot) and dpkg -i