Re: Linux 2.6.10-rc2 start_udev very slow

From: Greg KH
Date: Thu Dec 16 2004 - 16:15:08 EST


On Thu, Dec 16, 2004 at 08:57:25PM +0000, Andrew Walrond wrote:
> On Thursday 16 Dec 2004 15:56, Greg KH wrote:
> > On Wed, Nov 17, 2004 at 07:32:47PM +0000, Andrew Walrond wrote:
> > > I noticed that when upgrading from 2.6.8.1 to rc2, start_udev now takes
> > > 10-15s after printing
> > >
> > > "Creating initial udev device nodes:"
> >
> > udevstart should be used instead of start_udev. It goes a lot faster
> > and fixes odd startup dependancies that are needed.
>
> I'm using 048 at the moment. Works great, but if I replace start_udev with
> udevstart in my init scripts as you suggest, it all goes horribly wrong...
>
> udevstart is just a symlink to udev, but start_udev is a script which:
> - mounts ramfs
> - runs udevstart
> - makes some extra nodes not exported by sysfs (stdin/out/err)

Then I don't really know what to recommend. As the udev startup logic
is very tightly tied to how the distro is set up, I recommend using
whatever they do, and ignore what I say :)

> So I guess I need to migrate this functionality to my init system before I can
> call udevstart directly.

I'd suggest just leaving it alone.

>
> Is that list of 'extra nodes not exported by sysfs likely to change?'

What does that list contain?

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/