[xcat-user] hardeths script failing

Egan Ford egan at sense.net
Mon Jul 21 17:09:12 MDT 2008


That code in mkinstall is only for replacing or adding a NIC to stage2 of
the installer.  If you successfully booted and installed (i.e. packages
installing), then that is not needed.

As for hardeths and CentOS 5.1 I'll have to download and test.  For now take
hardeths out of postscripts.tab and let DHCP configure the adapter.

If you want to troubleshoot this yourself:

1.  Take hardeths out of postscripts.
2.  Install a node.  DHCP will be used for IPs.
3.  Backup modprobe.conf
4.  Type from installed node

OSVER=rh NODE=$(hostname -s) $XCATROOT/install/postscripts/hardeths

Compare modprobe.conf with hardeths created modprobe.conf, also checkout
/etc/sysconfig/network-scripts/ifcfg-eth*

Make sure it all looks sane, then type service network restart (from the
serial console).

> -----Original Message-----
> From: xcat-user-bounces at lists.xcat.org 
> [mailto:xcat-user-bounces at lists.xcat.org] On Behalf Of Mary 
> Ellen Fitzpatrick
> Sent: Friday, July 18, 2008 10:14 AM
> To: xCAT Users Mailing list; Mary Ellen Fitzpatrick
> Subject: [xcat-user] hardeths script failing
> Importance: High
> 
> 
> Hi,
> 
> I am installing xcat-1.3 on nodes running Centos5.1.  The 
> managment node 
> is running Centos4.5
> I have followed the instructions for "add a new Linux 
> distribution to  
> xcat".  I am using the default postscripts under 
> /opt/xcat/install/postscripts, added "centos.* to the 
> postscript.tab and 
> xcat/lib/functions files as needed.   The majority of the 
> post scripts 
> run without issue, including hardhost, and harddns. 
> 
> The log file says the hardeth script ran and it sees the nics 
> (tg3) eth0 
> and eth1, but does not assign any network info.
> 
> Logging into the unnetworked node, the 
> /tmp/xcatpostscripts/postage.log 
> file  has lots of entries related to 
> /lib/modules/2.6.18-53.el5/kernel/*
> 
> \n===start hardeths===\n
> Found (tg3) Broadcom Corporation NetXtreme BCM5704 Gigabit 
> Ethernet (rev 10) Found (tg3) Broadcom Corporation NetXtreme 
> BCM5704 Gigabit Ethernet (rev 10) 
> /lib/modules/2.6.18-53.el5/kernel/crypto/deflate.ko needs 
> "zlib_deflateEnd": 
> /lib/modules/2.6.18-53.el5/kernel/lib/zlib_deflate/zlib_
> deflate.ko
> /lib/modules/2.6.18-53.el5/kernel/crypto/deflate.ko needs 
> "zlib_deflate": 
> /lib/modules/2.6.18-53.el5/kernel/lib/zlib_deflate/zlib_def
> late.ko
> /lib/modules/2.6.18-53.el5/kernel/crypto/deflate.ko needs 
> "zlib_deflateReset": 
> /lib/modules/2.6.18-53.el5/kernel/lib/zlib_deflate/zli
> 
> All of the files the script is looking for are install on the node 
> under  /lib/modules/2.6.18-53.el5/*
> 
> I edited the /opt/xcat/install/centos5/x86_64/bin/mkinstall file to 
> point to my kernal:  centos5.1 2.6.18-53.el5,  reran mkstage, nodeset 
> <noderange> stage3, and rinstall node1046.  Still no network 
> info.   Do 
> I need to rerun setupxcat? then the above commands?
> 
> except from mkinstall:
> 
> # if [ -f 
> $INSTALLDIR/$DISTDIR/RedHat/Updates/kernel-2.4.21-9.EL.x86_64.
> rpm ] if [ -f 
> $INSTALLDIR/$DISTDIR/CentOS/kernel-2.6.18-53.el5.x86_64.rpm ] then
>         MYDIR=$(pwd)
>         cd $TMPDIR
>         gunzip -c root/modules/modules.cgz | cpio -id 2>/dev/null
> 
>         #if [ -r $MYDIR/data/9.EL/bcm5700.o ]
>         if [ -r $MYDIR/data/53.EL/bcm5700.o ]
>         then
>                 #cp -f $MYDIR/data/9.EL/bcm5700.o 
> 2.4.21-9.EL/x86_64/tg3.o
>                 cp -f $MYDIR/data/53.EL/bcm5700.o 
> 2.6.18-53/x86_64/tg3.o
>         fi
> 
>         #find 2.4.21-9.EL -type f -print | cpio -o -H crc 
> 2>/dev/null | 
> gzip -c -9 >root/modules/modules.cgz
>           find 2.6.18-53.el5  -type f -print | cpio -o -H crc 
> 2>/dev/null | gzip -c -9 >root/modules/modules.cgz
>         cd $MYDIR
> fi
> 
> 
> I am sure it is something simple I am overlooking.
> 
> -- 
> Thanks
> Mary Ellen
> 
> _______________________________________________
> xcat-user mailing list
> xcat-user at lists.xcat.org 
> http://www.xcat.org/mailman/listinfo/xcat-user




More information about the xcat-user mailing list