Re: udev is too slow creating devices

From: Greg KH
Date: Wed Sep 29 2004 - 18:55:51 EST


On Wed, Sep 29, 2004 at 04:38:28PM -0700, Randy.Dunlap wrote:
> On Sun, 19 Sep 2004 10:30:35 -0700 Greg KH wrote:
>
> | On Sun, Sep 19, 2004 at 10:00:52PM +0600, Alexander E. Patrakov wrote:
> | >
> | > OK. The fact is that, when mounting the root filesystem, the kernel can
> | > (?) definitely say "there is no such device, and it's useless to wait
> | > for it--so I panic". Is it possible to duplicate this logic in the case
> | > with udev and modprobe? If so, it should be built into a common place
> | > (either the kernel or into modprobe), but not into all apps.
> |
> | No, we need to just change the kernel to sit and spin for a while if the
> | root partition is not found. This is the main problem right now for
> | booting off of a USB device (or any other "slow" to discover device.)
> | It's a known kernel issue, and there are patches for 2.4 for this, but
> | no one has taken the time to update them for 2.6.
>
> (I'm way behind, and I was hoping this thread would die, but:)
>
> I've seen 2.6 patches for booting from USB or IEEE1394.

Where?

> Is there a fair chance of getting something for USB/1394 booting
> merged? (other than by using initrd)

I want to see this work, as lots of people bug me about this when I meet
them with the comment, "Oh, you're the USB maintainer, how come I can't
boot off of my USB flash key," which causes me to turn and run away very
fast...

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/