On Tue, Jun 03, 2008 at 10:44:26PM +0800, Bernard Blackham wrote:
> Hi,
> 
> When I switched from udev+udevd to mdev, booting was much faster and it 
> shaved a decent amount from the total image size.

That's why I switched from udev to mdev--it's much, much smaller!

>                                                   However, I've recently 
> noticed device nodes sometimes disappearing on boot. The specific 
> scenario is:
> 
> 1. /dev/ttyS1 exists as a device node in the filesystem on boot - prior 
> to the actual device existing, and prior to mdev being called.

Is that because you're using a serial console?  It is in my case.

> 2. echo /bin/mdev > /proc/sys/kernel/hotplug

Good, that's per documentation.  Did you also do this?

     mdev -s

> 3. a module is loaded that provides ttyS1

I'm running a non-modular kernel.

> When this module is loaded, most of the time the existing ttyS1 remains. 
> Sometimes however, it is unlinked from the filesystem and is never seen 
> again (until mdev -s is run, or next boot, maybe).

Do you mean you need to do "mdev -s" more than once?

My startup (/etc/init.d/rcS) is:

    mount -t proc none /proc
    mount -t sysfs none /sys
    echo /sbin/mdev > /proc/sys/kernel/hotplug
    /sbin/mdev -s

This works quite reliably for me w/ busybox-1.8.2.

-- 
David N. Lombard, Intel, Irvine, CA
I do not speak for Intel Corporation; all comments are strictly my own.
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to