Re: can we move USB_DEVICEFS to non-embedded?

From: Scott James Remnant
Date: Wed Jul 08 2009 - 07:42:17 EST


On Wed, 2009-07-08 at 21:20 +1000, Dave Airlie wrote:

> On Wed, Jul 8, 2009 at 9:03 PM, Kay Sievers<kay.sievers@xxxxxxxx> wrote:
> > On Wed, Jul 8, 2009 at 12:54, Dave Airlie<airlied@xxxxxxxxx> wrote:
> >
> >> Okay can we revert this for a better reason? it seems to have unhidden a race
> >> condition on booting some of my machines. I've booted some other machines
> >> with the same USB disk and the same kernel fine.
> >
> > Are you sure? USBFS is for userspace USB drivers, booting from
> > usb-storage devices should be fully handled by the kernel.
> >
>
> Yes, changing just this option means the difference between a bootable
> and stuck in initrd system. maybe Peter knows if our initrd does something
> otherwise I suspect we have a race that usbfs was hiding.
>
I assume you're not using libusual or anything like that? We had a race
caused by libusual calling modprobe before we'd generated modules.dep

Scott
--
Scott James Remnant
scott@xxxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part