From mboxrd@z Thu Jan 1 00:00:00 1970 From: "E. Oltmanns" Date: Mon, 02 May 2005 13:45:41 +0000 Subject: Re: Once more udev/hotplug and usb-storage devices Message-Id: <87vf61u4fu.fsf@denkblock.local> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Elias Oltmanns wrote: [...] > 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/sda1 afterwards. 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 stale scsi_eh_0 process > remains and cannot be killed but apparently doesn't affect the > system's stability either. The relevant part of /var/log/syslog is > attached below. > > As the explicit mentioning of scsi_eh_0 suggests, 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 unloading usb_storage, sd_mod > and scsi_mod so I ended up with a stale scsi_eh_0 again. 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 Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel