client hangs after eth0 becomes ready
Thomas Lange
lange at informatik.uni-koeln.de
Wed Nov 16 20:38:36 CET 2011
>>>>> On Wed, 16 Nov 2011 16:01:21 +0100, Carsten Aulbert <carsten at welcomes-you.com> said:
> I put 'set -x ' into the init function of the initrd to try to trace down if
You do not need this. Just add the string debug to the kernel command
line, that will do the same trick.
The problem is, that the BOOTIF code is only used in the subroutine
configure_networking(), which is only called in scripts/nfs but not in
scritps/live. So I've tried to add this to scripts/live, and it seems
to work in my test case.
It may also be important to use IPAPPEND 2 not 3 on the kernel command
line, so only BOOTIF is set but not ip=.
--- live.orig 2011-11-16 20:32:16.000000000 +0100
+++ /srv/fai/nfsroot/live/filesystem.dir/usr/share/initramfs-tools/scripts/live 2011-11-16 20:32:48.000000000 +0100
@@ -1707,6 +1707,8 @@
. /scripts/live-functions
Arguments
+configure_networking
+echo "DEVICE=$DEVICE" >> /conf/param.conf
maybe_break live-premount
log_begin_msg "Running /scripts/live-premount"
After patching the scripts/live script inside the nfsroot, you have to
rebuild the initrd (chroot into the nfsroot, rm initrd, then
update-initramfs -c -k all) and copy it to /srv/tftp/fai.
--
regards Thomas
More information about the linux-fai
mailing list