Kay Sievers wrote: > On Tue, 2005-03-15 at 14:09 +0100, Hannes Reinecke wrote: [ .. ] >>This is not what happens. >>modprobe will return _after_ device initialisation finished, ie after >>the firmware is loaded (or not, as the case might be). >>The firmware event is triggered when modprobe is still running, so udev >>thinks the device is still initialising and waits until modprobe returns >>before executing that event. > > Ick, I expected modprobe to return. This is what I saw the last time > with the ipw2100 driver. > Well, yes. After the timeout :-(. >>>>For now I'll be putting in a quick exit for firmware events (ie not wait >>>>for the devices initialisation to finish) but this is nevertheless _nasty_. >>>The time I stumbled across a similar problem with the firmware class, I >>>thought about adding a TIMEOUT= to the hotplug environment which udev >>>can use to prioritize such events. But we should better replace >>>class_firmware. >>> >>That's what i thought also. (That's why I named the variable 'timeout'). > > You have put that into the kernel hotplug env? Or udev itself? > udev. This time I've attached the patch :-). It might be not a bad idea to have a 'TIMEOUT' variable within the kernel, then we can set it to a proper value. Cheers, Hannes -- Dr. Hannes Reinecke hare@suse.de SuSE Linux AG S390 & zSeries Maxfeldstraße 5 +49 911 74053 688 90409 Nürnberg http://www.suse.de