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

Reply via email to