[Pkg-sysvinit-devel] Bug#436703: #436703: /sbin/shutdown fails to properly spindown drive

Eric Valette eric.valette at free.fr
Sat Aug 25 19:46:16 UTC 2007


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).
> 
> After fixing, contact linux-ide at vger.kernel.org. We still have a chance
> of Debian being the first in the list supporting this new kernel
> "feature". ;)
> 
> bye,
>   Roland
> 

had some trouble finding the file I had to patch but managed
(debian/patches/67_init_hddown.dpatch.orig). Unfortunately this does not
fix my problem allthough  have a system that support the feature (see below)

uname -a
Linux tri-yann3 2.6.22.5 #3 SMP PREEMPT Sat Aug 25 21:07:19 CEST 2007
x86_64 GNU/Linux

ls /sys/block/sda/device/scsi_disk\:3\:0\:0\:0
allow_restart  cache_type  device  FUA  manage_start_stop  subsystem  uevent


BTW, I saw other patches applyed in svn branches to init scripts. Are
they not relevant?



-- 
   __
  /  `                   	Eric Valette
 /--   __  o _.          	6 rue Paul Le Flem
(___, / (_(_(__         	35740 Pace

Tel: +33 (0)2 99 85 26 76	Fax: +33 (0)2 99 85 26 76
E-mail: eric.valette at free.fr








More information about the Pkg-sysvinit-devel mailing list