Once more udev/hotplug and usb-storage devices
Elias Oltmanns <[email protected]> wrote:
[...]
Quoted 11 lines
On linux-2.6.11.7 with udev, hotplug, dbus-1 and hald but no X running, I plug in my usb stick. If I'm lucky, nothing unexpected happens and I can mount
/dev/sda1afterwards. Otherwise, a whole bunch of error messages is generated and there is no way to access the media. In fact, udev removes the freshly created device nodes even before I remove the usb stick. In the latter case, removing and reinserting the usb stick resolves the problem. However, a stalescsi_eh_0process remains and cannot be killed but apparently doesn't affect the system's stability either. The relevant part of/var/log/syslogis attached below.
Quoted 7 lines
As the explicit mentioning of
scsi_eh_0suggests, I haven't managed to reproduce this problem if the usb stick has been inserted before. In fact, I did achieve this but it involved unloadingusb_storage,sd_modandscsi_modso I ended up with a stalescsi_eh_0again. So far, it only appeared when hald wsa running at the time but I didn't try very thoroughly without dbus-1 and hald and, as I said before, I can't reproduce this problem reliably.
Just for the record:
While I managed to reproduce the described problem on reinsertion of the usb stick (without unloading the kernel modules first), the whole problem never appeared when hald wasn't running at the time. Naturally, I thought that hal was the problem. However, after an upgrade of udev from 0.050 to 0.056 the problem didn't occur anymore - even with hald running! Sorry that I didn't think about upgrading earlier. Hopefully, this really is the reason.
Regards,
Elias
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel