HAL not handling storage devices correctly

Andrey Borzenkov arvidjaar at mail.ru
Sat May 13 08:08:52 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[sorry for delay, I was off for some time]

On Thursday 04 May 2006 11:39, Simon Geard wrote:
> On Tue, 2006-05-02 at 20:21 +0400, Andrey Borzenkov wrote:
> > lshal shows scsi.type =="unknown" for USB SCSI node so probing for volume
> > is skipped. May be HAL gets notification too early before USB is settled.
> > Do you have something like this rule as one of the first udev rules:
> >
> > ACTION=="add", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"
>
> Nope. The only rule I have that relates to the scsi subsystem is for
> loading sd_mod, which is pretty much the last rule other than the ones
> HAL adds.
>
> ACTION=="add", SUBSYSTEM=="scsi", SYSFS{type}=="[07]", \
>   RUN+="/sbin/modprobe sd_mod"
>
> You think I need to fit a WAIT_FOR_SYSFS rule in somewhere?
>

At least it is worth a try.

- -andrey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEZfaQR6LMutpd94wRAixuAKDKiTD5jWPhRhdrnMHFS9MK/A+OqwCgzZe+
lnbAudd2nL7fytY3oYBMXBo=
=t6kb
-----END PGP SIGNATURE-----


More information about the hal mailing list