Problems with wheezy installation on multi nic servers

Steffen Eichler steffen.eichler at stayfriends.com
Mon Aug 26 15:05:15 CEST 2013


Hi,

I've installed a fai server with version 4.0.7.

If I start a installation on a server with more than one network interface the following options in pxelinux.cfg

APPEND initrd=initrd.img-3.2.0-4-amd64 ip=dhcp root=/dev/nfs nfsroot=XXX.XXX.XXX.XXX:/srv/fai/wheezy/nfsroot aufs rd_NO_LVM FAI_CONFIG_SRC=nfs://XXX.XXX.XXX.XXX/srv/fai/wheezy/config/ FAI_FLAGS="verbose,sshd,createvt" root=/dev/nfs boot=live FAI_ACTION=install vga=785

DHCP configuration of interfaces fails and fai-client is not able to mount nfs. After that installation runs in kernel panic.

[7.708528] igb: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[7.726326] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Starting dhcp for Interface eth2
[17.4887931] ADDRCONF(NETDEV_UP): eth2: link is not ready
dhcp failed
Starting dhcp for Interface eth3
[78.7849391] ADDRCONF(NETDEV_UP): eth3: link is not ready
...
[ 151.0693400] aufs: module is from the staging directory, the quality is unknown, you have been warned.
[ 151.1099321 aufs 3.2-20130204 warning: can't open /etc/fstab: No such file or directory
[ 151.157267] aufs test_add:264:mount[594]: uid/gid/perm /live/image 65534/6553 4/0755, 0/0/01777
[ 151.201399] type=1702 audit(1377512130.864:2): op=follow_link action=denied pid=599 comm="ls" path="/sysroot/initrd.img" dev="aufs" ino=149
[ 151.239125] type=1702 audit(1377512131l.900:3): op=follow_link action=denied pid=599 comm="ls" path="/sysroot/vmlinuz" dev="aufs" ino=165
/init: 42: //lib/dracut/hooks/pre-pivot/50mount-usr.sh: cannot open /sysroot/etc/fstab: No such file
rpcbind: rpcbind terminating on signaI. Restart with "rpcbind -w"
rpcbind: cannot open file = /run/rpcbind/rpcbind.xdr for writing
rpcbind: cannot save any registration
rpcbind: cannot open file = /run/rpcbind/rpcbind.xdr for writing
rpcbind: cannot save any registration
[ 151.7709431] dracut: Switching root
switch_root: failed to execute /sbin/init: Not a directory
[ 151.619594] Kernel panic - not syncing: Attempted to kill init!
[ 151.627461] Pid: 1, conn: switch_root Tainted: G C 3.2. 0-4-and64 U1
Debian 3.2.46-1
[ 151.663269] Call Trace:
[ 151.660871] [<ffffffff613461ed>] ? panic+0x95/0x1a2
[ 151.696699] [<ffffffff611l49c3b>] ? do_exit+0x95/0x713
[ 151.916673] [<ffffffff6lll4a539>] ? do_group_exit+0x74/0x9e
[ 151.934191] [<ffffffff6lll4a572>] ? sys_exit_group+0xf/0xf
[ 151.951250] [<ffffffff61353b52>] ? systen_call_fastpath+0x16/0x1b


If I remove ip=dhcp option and set "IPAPPEND 3",

APPEND initrd=initrd.img-3.2.0-4-amd64 root=/dev/nfs nfsroot=XXX.XXX.XXX.XXX:/srv/fai/wheezy/nfsroot aufs rd_NO_LVM FAI_CONFIG_SRC=nfs://XXX.XXX.XXX.XXX/srv/fai/wheezy/config/ FAI_FLAGS="verbose,sshd,createvt" root=/dev/nfs boot=live FAI_ACTION=install vga=785
IPAPPEND 3

the install routine prints out the following information.

[ 1.937217] dracut: dracut-7 (wheezy) dracut-
[ 1.962899] dracut: rd.lvm=O: removing LVM activation
[ 1.976713] dracut Warning: Argument nfsroot is deprecated and might be removed
in a future release. See 'man dracut.kernel' for more information.
[ 2.037710] RPC: Registered named UNIX socket transport module.
[ 2.051795] RPC: Registered udp transport module.
[ 2.065507] RPC: Registered tcp transport module.
[ 2.078688] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.098116] FS-Cache: Loaded
[ 2.121015] FS-Cache: Netfs 'nfs' registered for caching
[ 2.139362] dracut: FATAL: Mixing BOOTIF and ip= Iines is dangerous
[ 2.153161] dracut: Refusing to continue
[ 2.192361] dracut Warning:
[ 2.218161] dracut: FATAL: Mixing BOOTIF and ip= Iines is dangerous
dracut Warning: dracut: FATAL: Mixing BOOTIF and ip= Iines is dangerous
[2.259251] dracut Warning: dracut: Refusing to continue
dracut Warning: dracut: Refusing to continue
Dropping to debug shell.
bin/sh: 0: can't access tty; job control turned off
dracut:/#


Is it a config failure by me. Or should I report a bug?


Regards,
Steffen


More information about the linux-fai mailing list