[Pkg-sysvinit-devel] Coordination of the libata shutdown issues we need to fix

Tejun Heo htejun at gmail.com
Sat Jun 9 15:36:49 UTC 2007


[cc'ing Werner Fink who maintains sysvinit on suse]

Hello,

Henrique de Moraes Holschuh wrote:
> I have created a branches/libata-fixes in SVN where the various bugs in
> sysvinit and Debian sysvinit related to disk device shutdown can be fixed.
> 
> Currently, I have already commited a change that should work around all of
> them on kernels supporting /sys/class/scsi_disk/*/manage_start_stop.  That
> one should be ported to *stable* as soon as possible, as it is a trivial
> one-line in an initscript.
> 
> Testing of this branch would be appreciated.
> 
> I will also do a clenup on these particular issues in the BTS.

Thanks a lot.  Werner Fink has been working on fix for suse and
preliminary patches are available.

  https://bugzilla.novell.com/show_bug.cgi?id=229210

Werner found out that /sys/block/sda/device/scsi_disk:* symlink is no
longer present on newer kernels unless CONFIG_SYSFS_DEPRECATED is set.
We need to do readlink() on /sys/block/sda/device and use the last path
component for h:c:i:l to access /sys/class/scsi_disk/h:c:i:l/.
shutdown.html is updated and posted at
http://htj.dyndns.org/shutdown.html.  I sent the updated version to Jeff
so the linux-ata page will be updated soon.

Thanks.

-- 
tejun



More information about the Pkg-sysvinit-devel mailing list