Re: can we move USB_DEVICEFS to non-embedded?

From: Greg KH
Date: Wed Jul 08 2009 - 09:01:28 EST


On Wed, Jul 08, 2009 at 09:20:04PM +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.

Like Kay stated, this sounds very strange, I'd like to find out the root
cause of this before reverting the config option. Nothing at startup
should be using/needing usbfs that I can think of.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/