Etherchannel bonding, RedHat on Sun40z

From: Amanda Dahl (a.dahl@inpharmatica.co.uk)
Date: Wed Apr 20 2005 - 06:11:37 EDT


Dear SunManagers,

This is a RedHat on Sun issue, which I hope is still appropriate for
this list.

I have a Sun v40z with 2 x Quad Gigaswift Ethernet NICs (Sun X9273A)
installed in the 133MHz slots. The system is running RHEL AS 3 AMD
x86_64 Update 4 (2.4.21-27.ELsmp). I am attempting etherchannel bonding
of ports across the NICs. I have built & installed the bcm5700 driver,
configured the /etc/modules.conf and the necessary interface files in
/etc/sysconfig/network-scripts (see below for files).

Problem: There are 2 x onboard Gigabit NICs (eth0 & eth1) which work
fine--until the bonding kernel module is loaded on reboot--after which,
no networking works.

Thus far, the behaviour I have noted is:

- No bonding configured, eth0 & eth1 using tg3 driver, eth2-9 using
e1000 driver: all interfaces appear and can connect to the network
- Bonding configured (1 bonded interface comprised of 2 NICs), eth0 &
eth1 using tg3 driver, eth2-9 using e1000 driver: bonded interface
appears in ifconfig, but cannot connect to network, other interfaces
appear in ifconfig, and cannot connect to network.
- Bonding configured (1 bonded interface comprised of 2 NICs), eth0 &
eth1 using tg3 driver, eth2-9 using bcm57000 driver: eth0 & eth1 appear
in ifconfig, other interfaces do not.
- Bonding configured (1 bonded interface comprised of 2 NICs), eth0 &
eth1 using bcm5700 driver, eth2-9 using e1000 driver: eth0 & eth1 do not
appear in ifconfig, bonded interfaces appear but cannot connect to
network, other interfaces appear but cannot connect.
- Bonding configured (1 bonded interface comprised of 2 NICs), all
interfaces using bcm5700 driver: no interfaces appear in ifconfig.

Please note, the switch is an Extreme Aspen and NIC sharing (bonding) is
turned on for the relevant ports.

Configuration files:

/etc/modules.conf

alias eth0 tg3
alias eth1 tg3
alias eth2 bcm5700
alias eth3 bcm5700
alias eth4 bcm5700
alias eth5 bcm5700
alias eth6 bcm5700
alias eth7 bcm5700
alias eth8 bcm5700
alias eth9 bcm5700
#alias eth2 e1000
#alias eth3 e1000
#alias eth4 e1000
#alias eth5 e1000
#alias eth6 e1000
#alias eth7 e1000
#alias eth8 e1000
#alias eth9 e1000
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih
alias scsi_hostadapter2 megaraid
alias usb-controller usb-ohci
alias bond0 bonding
alias bond1 bonding
options bonding max_bonds=2
add options bond0 miimon=100
add options bond1 -o bonding1 miimon=100

/etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=172.29.1.128
NETMASK=255.255.255.224
IPADDR=172.29.1.129
USERCTL=no

/etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
TYPE=Ethernet

/etc/sysconfig/network-scripts/ifcfg-eth6
DEVICE=eth6
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
TYPE=Ethernet

I am guessing that this is some kind of driver problem, but have been
hard-pressed to find a site with Sun-blessed RedHat drivers for the v40z
and kernel 2.4.21-27.ELsmp, and these specific NICs.

Any suggestions would be greatly appreciated.

Kind regards,
Amanda

-- 
Amanda K. Dahl
Senior Systems Administrator
Biopendium Production
Inpharmatica, Ltd.
60 Charlotte Street
London, W1T 2NU
United Kingdom
020 7074 4686 tel
020 7074 4700 fax
amanda@inpharmatica.co.uk
http://www.inpharmatica.co.uk
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:34 EDT