client hangs after eth0 becomes ready

Carsten Aulbert carsten at welcomes-you.com
Wed Nov 16 16:01:21 CET 2011


Hi again

as discussed on #fai (thank you:) I've recreated the NFS root on our fai 
server (Squeeze) and the relevant package versions are now:
	
klibc-utils				1.5.20-1+squeeze1
initramfs-tools			0.98.8
live-boot-initramfs-tools	2.0.15-1
live-initramfs			2.0.15-1

I put 'set -x ' into the init function of the initrd to try to trace down if 
the function "configure_networking" from scripts/functions is being called or 
not. To me, it seems it is not - output attached.

In this case the NIC where PXE boot successed beforehand was eth0
(ixgbe: eth0 NIC Link is Up 10 Gbps, Flow Control: None)

however the boot process stalled here...

this is the content of pxelinux.cfg/0A0A0A0A

label fai-generated
kernel vmlinuz-2.6.32-5-amd64
append initrd=initrd.img-2.6.32-5-amd64 root=/dev/nfs nfsroot=/srv/fai/nfsroot 
boot=live console=tty0 ip=dhcp nomodeset 
FAI_FLAGS=verbose,sshd,createvt,initial,reboot FAI_ACTION=install
IPAPPEND 3

(leaving out ip=dhcp does not change it)

Any ideas how to continue?

Cheers

Carsten
-------------- n?chster Teil --------------
[   12.367629] sd 0:0:3:rt DPO or FUA
[   12.380103] sd 0:0:6:0: [sdh] Write Protect is off
[   12.382687] sd 0:0:6:0: [sdh] Write cacoff
[   12.388936] sd 0:0:5:0: [sdg] Write cache: enabled, read cache: enabled, doesn't support DPO or d, read cache: enabled, doesn't support DPO or FUA
[   12.397032] sd 0:0:9:0: [sdk] Write Protect is off
[   1nabled, doesn't support DPO or FUA
[   12.404044] sd 0:0:8:0: [sdj] Write Protect is off
[   12.406632] sd 0:0sdm] Write Protect is off
[   12.419930] sd 0:0:11:0: [sdm] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.431387]  sdc:
[   12.469650]  sdd: sdc1
[   12.768736]  sdm:
[   12.770550]  sdi:
[   12.772546]  sdk:
[   12.774559] sd 0:0:0:0: [sdb] Write cache: enabled,397]  sdk1
[   12.820738]  sdg1
[   12.822827]  sdj1
[   12.824925]  sde1
[   12.827327]  sdl1
[ 
[   13.010480] sd 0:0:2:0: [sdd] Attached SCSI disk
[   13.015798]  sdb1
[   13.221958] sd 0:0:0:0: [sdb] Attached SCSI disk
[   13.408215] ses 0:0:12:0: Attached Enclosure device
+ [ -e /conf/param.conf ]
+ maybe_break modules
+ [  = modules ]
+ [ n != y ]/scripts/init-premount
+ [ -x /sbin/usplash_write ]
+ _log_msg Begin: Running /scripts/init-premount ... 
+ [ n = y ]
+ printf Begin: Running /scripts/init-premount ... 
Begin: Running /scripts/init-p2.212859] scsi 0:0:10:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y)
[   12.212861] scsi 0:0: 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
[   12.215878] scsi 0:0:11:0: Direct-Access     ATA      Hitachi HUA72303 A800 PQ: 0 ANSI: 6
[   12.215881] scsi 0:0:11:0: SATA: handle(0x0015), sas_addr(0x5003048001471cf7), device_name(0x5000cca225cf9147)
[   12.215883] scsi 0:0:11:0: SATA: enclosure_logical_id(0x500reserve(y)
[   12.215964] scsi 0:0:11:0: qdepth(32), tagged(1), simple(1), ordered(0), scsi_level(7), cmd_que(1)
[   12.216750] scsi 0:0:12:0: Enclosure         LSI CORP SAS2X28          0717 PQ: 0 ANSI: 5
[   12.216754] ] scsi 0:0:12:0: SSP: enclosure_logical_id(0x5003048001471cff), slot(0)
[   12.216759] scsi 0:0:12:0: qdepth(25.256664] sd 0:0:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.292327] sd 0:0:2:0: [sdd] Write Protect is off
[   12.294901] sd 0:0:2:0: [sdd] Write cache: enabled, read cache: enab0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.377182] sd 0:0:4:0: [sdf] Write Protect is off
[   12.379760] sd 0:0:4:0: [sdf] Write cache: enabled, read cache: enabled, doesn't suppohe: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.386335] sd 0:0:5:0: [sdg] Write Protect is FUA
[   12.391815] sd 0:0:7:0: [sdi] Write Protect is off
[   12.394400] sd 0:0:7:0: [sdi] Write cache: enable2.399118] sd 0:0:10:0: [sdl] Write Protect is off
[   12.399644] sd 0:0:9:0: [sdk] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.401719] sd 0:0:10:0: [sdl] Write cache: enabled, read cache: e:8:0: [sdj] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.417348] sd 0:0:11:0: [ read cache: enabled, doesn't support DPO or FUA
[   12.774562]  sdf:
[   12.774578]  sde:
[   12.774590]  sdh:
[   12.774605]  sdl:
[   12.774619]  sdg:
[   12.774630]  sdj: sdd1
[   12.808849]  sdi1
[   12.811455]  sdf1
[   12.816170]  sdh1
[   12.818  12.829546]  sdm1
[   12.963903] sd 0:0:1:0: [sdc] Attached SCSI disk
[   12.972355]  sdb:[   13.020171] sd 0:0:7:0: [sdi] Attached SCSI disk
[   13.024841] sd 0:0:4:0: [sdf] Attached SCSI disk
[   13.029603] sd 0:0:5:0: [sdg] Attached SCSI disk
[   13.034306] sd 0:0:8:0: [sdj] Attached SCSI disk
[   13.035580] sd 0:0:9:0: [sdk] Attached SCSI disk
[   13.035673] sd 0:0:6:0: [sdh] Attached SCSI disk
[   13.036927] sd 0:0:10:0: [sdl] Attached SCSI disk
[   13.036945] sd 0:0:11:0: [sdm] Attached SCSI disk
[   13.037015] sd 0:0:3:0: [sde] Attached SCSI disk

+ log_begin_msg Loading essential drivers
+ [ -x /sbin/usplash_write ]
+ _log_msg Begin: Loading essential drivers ... 
+ [ n = y ]
+ printf Begin: Loading essential drivers ... 
Begin: Loading essential drivers ... + load_modules
+ [ -e /conf/modules ]
+ cat /conf/modules
+ read m
+ [ -z unix ]
+ printf %.1s unix
+ com=u
+ [ u = # ]
+ modprobe unix
+ read m
+ [ n != y ]
+ log_end_msg
+ [ -x /sbin/usplash_write ]
+ _log_msg done.\n
+ [ n = y ]
+ printf done.\n
done.
+ maybe_break premount
+ [  = premount ]
+ [ n != y ]
+ log_begin_msg Running scripts/init-premount
+ initdir=/scripts/init-premount
+ [ ! -d /scripts/init-premount ][   13.565838] ADDRCONF(NETDEV_UP): eth0: link is not ready

+ return
+ [ n != y ]
+ log_end_msg
+ [ -x /sbin/usplash_write ]
+ _log_msgot file system
+ [ -x /sbin/usplash_write ]
+ _log_msg Begin: Mounting root file system ... 
+ [ n = y ]
+ printf Be/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin
+ echo /root/lib
+ echo /root/usr/lib
+ mountpoint=/live/image
+ alt_mountpoint=/media
+ LIVE_MEDIA_PATH=live
+ root_persistence=live-rw
+ home_persise user
+ HOSTNAME=host
+ mkdir -p /live/image
+ tried=/tmp/tried
+ [ ! -d /etc ]
+ [ ! -f [   13.645877] ADDRCONF(Nype ]
+ [ -x /sbin/udevadm ]
+ udevinfo=/sbin/udevadm info
+ [ ! -f /live.vars ]
+ touch /live.vars
+ parse_numericot ]
+ exec
+ exec
+ exec
+ exec
+ tailpid=567
+ . /scripts/live-fremount ... + run_scripts / done.\n
+ [ n = y ]
+ printf done.\n
done.
+ maybe_break mount
+ [  = mount ]
+ log_begin_msg Mounting rogin: Mounting root file system ... 
Begin: Mounting root file system ... + . /scripts/live
+ export PATH=/roottence=home-rw
+ root_snapshot_label=live-sn
+ home_snapshot_label=home-sn
+ USERNAME=user
+ USERFULLNAME=LivETDEV_UP): eth1: link is not ready
/etc/mtab ]
+ touch /etc/mtab
+ . /scripts/live-helpers
+ [ ! -x /bin/fst /dev/nfs
+ return
+ maybe_break mountroot
+ [  = mountroot ]
+ mountroot
+ [ -x /scripts/local-top/cryptro[   13.833380] ADDRCONF(NETDEV_UP): eth3: link iOOT
+ DEFCONSOLE=ttyS0,115200n8
+ export DEFCONSOLE
+ STATICIP=10.20.12.1:10.20.40.3:10.20.30.2:255.0.0.0
+ cripts/live-premount ... 
Begin: Running /scripts/live-premount ... + run_scripts /scripts/live-premount
+ ini-premount/ORDER
+ /scripts/live-premount/select_eth_device
Waiting for ethernet card(s) up... If this fails, mer
[   15.855304] ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE por74] ide1 at 0x170-0x177,0x376 on irq 15
eadonly
+ [ -e /conf/param.conf ]
+ . /conf/param.conf
+ DEVICE=eth1
+ /scripts/live-premount/modules
+ [ -\n
+ [ n = y ]
+ printf done.\n
done.
+ [ ! -z nfs ]
+ do_netmount
+ do_netsetup
+ modprobe -q af_packet[   16.875402] e1000e: eth2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
unctions
+ +  -f. live.log /scripts/functions

[   13.729734] ADDRCONF(NETDEV_UP): eth2: link is not ready
s not ready
+ . /live.vars
+ Arguments
+ PRESEEDS=
+ LOCATIONS=
+ cat /proc/cmdline
+ ROOT=/dev/nfs
+ export R[ -z 10.20.12.1:10.20.40.3:10.20.30.2:255.0.0.0 ]
+ export STATICIP
+ [ -z  ]
+ [ /dev/nfs = /dev/nfs ]
+ NETBOOT=nfs
+ export NETBOOT
+ [ -z  ]
+ MODULE=filesystem
+ export MODULE
+ [ -z  ]
+ UNIONTYPE=aufs
+ export UNIONTYPE
+ maybe_break live-premount
+ [  = live-premount ]
+ log_begin_msg Running /scripts/live-premount
+ [ -x /sbin/usplash_write ]
+ _log_msg Begin: Running /scripts/live-premount ... 
+ [ n = y ]
+ printf Begin: Running /stdir=/scripts/live-premount
+ [ ! -d /scripts/live-premount ]
+ [ -f /scripts/live-premount/ORDER ]
+ . /scripts/liveaybe the ethernet card is not supported by the kernel 2.6.32-5-amd64?
Looking for a connected Ethernet interface ... eth0 ? eth1 ? eth2 ? eth3 ?
[   15.270025] e1000e: eth1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[   15.277491] e1000e 0000:03:00.0: eth1: 10/100 speed: disabling TSO
[   15.285264] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   15.850347] Uniform Multi-Platform E-IDE drivts
[   15.868189] ide0: no devices on the port
[   15.872191] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[   15.879784] ide1: no devices on the port
[   15.8837[   16.307335] ixgbe: eth0 NIC Link is Up 10 Gbps, Flow Control: None
[   16.315185] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 found eth1.
+ [ -e /conf/param.conf ]
+ . /conf/param.conf
+ DEVICE=eth1
+ /scripts/live-premount/re /conf/param.conf ]
+ . /conf/param.conf
+ DEVICE=eth1
+ log_end_msg
+ [ -x /sbin/usplash_write ]
+ _log_msg done.
+ udevadm trigger
+ udevadm settle
+ [ -z nfs ]
+ ipconfig eth1
+ tee /netboot.config
IP-Config: eth1 hardware address 00:25:90:3b:86:3e mtu 1500 DHCP RARP
[   16.884579] ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready


More information about the linux-fai mailing list