Hi,

I must be doing something wrong cause LFS-7.1 has been out for a while and 
noone has complained yet about udev-181/182.

Here's my problem: I have a custom initramfs that works perfectly well with 
udev-173.  When the *only* thing I  supplant in the initramfs image is 
udev-173 with udev-181/182 (everything else remains the same), the kernel 
populates /sys with all the correct data (meaning all devices are there) and 
udev sees them, but does not create the device nodes under /dev.  The only 
things it creates are:

btrfs-control
char
fd
fuse
kmsg
log
mapper
net
ppp
snd
stderr
stdin
stdout

I have to create manually /dev/tty1 to be able to get even a console.

Here's what I do in my initramfs's init script:

mkdir -p /run
mount -n -t tmpfs tmpfs /run
mkdir -p /run/{var,lock,shm,udev}
chmod 1777 /run/shm
mount -o nosuid,noexec,nodev -t proc proc /proc
mount -o nosuid,noexec,nodev -t sysfs sysfs /sys
mount -o mode=0755,nosuid -t tmpfs tmpfs /dev -o mode=755
ln -s /run/shm /dev/shm
echo > /proc/sys/kernel/hotplug

/sbin/udevd --daemon (moved /lib/udev/udevd to /sbin for convenience, but even 
with /lib/udev/udevd --daemon it still doesn't work)

/sbin/udevadm trigger --action=add --type=subsystems
/sbin/udevadm trigger --action=add --type=devices
/sbin/udevadm settle --timeout=15

I haven't tried udev-18x with a harddisk only boot, as I require initramfs 
(disk encryption).  For now I've stuck with udev-173, but I want to stay 
current with LFS development and move to 18x.

Any suggestions what I could be doing wrong?  I have debugging output from 
udevd if anyone cares to view it.

Thanks,
IvanK.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to