geninitrd and udhcpc

Rafał Cygnarowski zswi at pers.pl
Wed Feb 21 13:55:58 CET 2007


Hi!

geninitrd has a bug in /dev/urandom creation which causes udhcpc wating for 
some random data for a very long time (or some kbd input which will generate 
some "random" irqs)

> initrd_gen_nfs() {
>	# use root=/dev/ram0 init=/linuxrc when starting kernel or you will
>	# have problems like init(XX) being child process of swapper(1).
>	debug "Adding rootfs on NFS support to initrd (dhcp)"
>	mknod "$MNTIMAGE/dev/urandom" c 1 8

should be:
	mknod "$MNTIMAGE/dev/urandom" c 1 9

-- 
Rafał Cygnarowski
rafi at pers.pl


More information about the pld-devel-en mailing list