udev can't run

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I have some questions in using UDEV for 2.6 kernel, too.  The "udevd
--daemon" gives me a "cannot open /dev/null" error message.
I use udev-135 and 2.6.28 kernel.What I do is as follows:

1)compiling
./configure --prefix=./install --host=arm-linux
make install

Then I get five directories:etc, include, lib, sbin, share. Copy them
to the root filesystem.

2)adding these lines to /etc/init.d/rcS:
/bin/mount -t proc proc /proc
/bin/mount -t sysfs sysfs /sys
/bin/mount -n -t tmpfs tmpfs /dev -o mode=755

echo > /proc/sys/kernel/hotplug
# I have create some device nodes in /lib/dev/devices,
# such as null, console, kmsg, etc
cp -a /lib/udev/devices/* /dev

/sbin/udevd --daemon
/sbin/udevadm trigger
/sbin/udevadm settle


When booting kernel, I get these messages:

Starting udevd ...
Jan  1 00:00:01 udevd[325]: [truncated] m

Jan  1 00:00:01 udevd[325]: [truncated] m

udev: starting version 135
Jan  1 00:00:02 udevd-event[426]: [truncated] m

Jan  1 00:00:02 udevd-event[427]: [truncated] m

Jan  1 00:00:02 udevd-event[427]: [truncated] m
...

Then I can still enter shell. But there are only the static nodes in /dev.

What is the mistake? Thanks for the help.
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux