Re: [Bugme-new] [Bug 12944] New: Parallel initialization of USB creates races for boot devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 25 Mar 2009, Andrew Morton wrote:

> > http://bugzilla.kernel.org/show_bug.cgi?id=12944
> > 
> >            Summary: Parallel initialization of USB creates races for boot
> >                     devices

> > Speeding up initialization of USB devices appears to have created race
> > conditions for consoles and auto-configured network devices.

Isn't this really a more general problem?  You can't set up devices 
before they have been detected -- that's just as true for serial and 
Ethernet devices as anything else.

What you really need is a way to wait until the devices have been
registered.  How about polling in a loop before running the initramsfs
setup routine?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux