HI, Thanks for figuring out the problem and the fix, I opened xCAT bug https://sourceforge.net/tracker/?func=detail&aid=3524563&group_id=208749&atid=1006945 to track this, we will try to recreate this problem in our env and work on the fix, and integrate the fix into xCAT code stream.
Thanks, ------------------------------------------------------------------------- Li,Guang Cheng (李光成) IBM China System Technology Laboratory Email: [email protected] Address: Building 28, ZhongGuanCun Software Park, No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC 北京市海淀区东北旺西路8号中关村软件园28号楼 邮编: 100193 John Simon <[email protected] > To xCAT Users Mailing list 2012-05-08 06:15 <[email protected]> cc Please respond to Subject xCAT Users Re: [xcat-user] bnx2 firmeware Mailing list error with SLES 11 SP2 <xcat-user@lists. sourceforge.net> The fix is actually in the init script that xCAT puts in the initrd-stateless. udevd is started after the modules load but killed before the interface is brought up (see unaltered code below). udevd basically needs to be left running until the interface is brought up (conceivably moved after the netstart $IFACE). I went ahead and added the Issue is if udevd isn't running and the interface needs the firmware network is going to stop working. Unaltered init: # Start udev to find devices attached to node # This script can be found in /lib/mkinitrd echo "Creating device nodes with udev" /sbin/udevd --daemon if [ -f "/sbin/udevadm" ] then /sbin/udevadm trigger /sbin/udevadm settle --timeout=10 fi sleep 60 killall -9 udevd Fixed init: export IFACE=$IFACE shell /usr/bin/touch /var/lib/dhcpcd/dhcpcd-$IFACE.info netstart $IFACE while ! ifconfig | grep inet; do echo -e "${RED}Failed to acquire address, retrying ${RESET}" sleep 1 netstart $IFACE done ip addr add dev lo 127.0.0.1/8 ip link set lo up cd / killall -9 udevd --- On Sat, 5/5/12, John Simon <[email protected]> wrote: > From: John Simon <[email protected]> > Subject: [xcat-user] bnx2 firmeware error with SLES 11 SP2 > To: [email protected] > Date: Saturday, May 5, 2012, 1:03 PM > I upgraded to xCAT 2.7.1 and am > building a SLES 11 SP2 image but when I boot I get the > following error messages after the kernel and initrd are > pulled down: > > bnx2: Can't load firmware file > "bnx2/bnx2-mips-09-6.2.1a.fw" > err, eth0: ioctl SIOCSIFFLAGS: No such file or directory > > I used the following to generate the image: > > genimage -i eth0 -n tg3,bnx2 -o sles11.2 -p compute.sles11 > > And I did verify the firmware is in the initrd: > > # cpio -it < initrd-stateless |grep > bnx2-mips-09-6.2.1a.fw > lib/firmware/3.0.13-0.27-default/bnx2/bnx2-mips-09-6.2.1a.fw > 24587 blocks > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > xCAT-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xcat-user > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
<<inline: pic29974.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
