bonding driver issues: slave interface not coming up

From: John Jasen (jjasen_at_realityfailure.org)
Date: 06/27/05

  • Next message: Nick Warne: "Re: A Bug in gcc or asm/string.h ?"
    Date:	Mon, 27 Jun 2005 16:21:38 -0400 (EDT)
    To: linux-kernel@vger.kernel.org
    
    

    Hello;

    In short, using redhat enterprise 4, we're attempting to bond two tg3
    gigabit cards in XOR mode.

    These cards are plugged into a cisco 2970 switch, configured with
    etherchannel bonding in src-dst-mac, which looks to be mode 2.

    The problem area is, upon boot, the first slave NIC does not come up.
    Furthermore, running ethtool against the slave yields the following message:

    [root@XXX ~]# ethtool eth0
    Settings for eth0:
    Cannot get device settings: Resource temporarily unavailable
             Supports Wake-on: g
             Wake-on: d
             Current message level: 0x000000ff (255)
             Link detected: no

    Now, curiously enough, after boot, logging in and bringing down the
    bonding interface, then bringing it back up will activate both
    interfaces. ie:

    ifdown bond0
    ifup bond0

    ethtool eth0
    [root@XXX ~]# ethtool eth0
    Settings for eth0:
             Supported ports: [ MII ]
             Supported link modes: 10baseT/Half 10baseT/Full
                                     100baseT/Half 100baseT/Full
                                     1000baseT/Half 1000baseT/Full
             Supports auto-negotiation: Yes
             Advertised link modes: Not reported
             Advertised auto-negotiation: No
             Speed: 1000Mb/s
             Duplex: Full
             Port: Twisted Pair
             PHYAD: 1
             Transceiver: internal
             Auto-negotiation: off
             Supports Wake-on: g
             Wake-on: d
             Current message level: 0x000000ff (255)
             Link detected: yes

    Attempts at debugging that we've taken and their results:

    duplex/speed forced on both switch and card: no effect
    turning off spanning tree protocol: no effect
    enabling fastport: no effect
    switching from tg3 to bcm5700 drivers: no effect
    attempting to down and up the interface in /etc/rc.d/init.d/network: no
    effect
    attempting a script that runs after network and irqbalance to do the
    same thing: no effect
    putting something in rc.local to do the same: works, our current ugly
    workaround
    breaking the bond, using the interfaces as two independent NICS: works
    restarting the bond0 interface manually: works

    This problem also manifests on more than one system, which would seem to
    preclude possible cable, host, or port problems.

    Any ideas, or any further information I can send you to help diagnose?
    Any help would be much appreciated.

    -- 
    -- John E. Jasen (jjasen@realityfailure.org)
    -- No one will sorrow for me when I die, because those who would
    -- are dead already. -- Lan Mandragoran, The Wheel of Time, New Spring
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Nick Warne: "Re: A Bug in gcc or asm/string.h ?"

    Relevant Pages

    • network traffic tool and switch
      ... A software tool which monitors the network traffic on a single ... interface and maybe even on different cards where it displays the ... Any kind of switch or anything, where I got a webinterface or an api ...
      (comp.os.linux.networking)
    • Re: VxWorks 6.6 - Ethernet interface driver support
      ... Ethernet interface cards, deploying the "Intel PRO/1000 VxBus Enhanced ... Network Driver" in conjunction with the "Generic PHY driver", ... out the fiber optic support saves a little bit of code space). ...
      (comp.os.vxworks)
    • Re: VxWorks 6.6 - Ethernet interface driver support
      ... Ethernet interface cards, deploying the "Intel PRO/1000 VxBus Enhanced ... Network Driver" in conjunction with the "Generic PHY driver", ... out the fiber optic support saves a little bit of code space). ...
      (comp.os.vxworks)
    • Re: Configuring management interface on Catalyst 4507
      ... routing topology just for switch management purposes, ... > then I would need to patch that routed interface into a switch port, ... > Option 1 Configure a loopback interface for managing the switch. ...
      (comp.dcom.sys.cisco)
    • Re: cant ping or telnet to or from a cat 3550
      ... Logging is enabled but shows nothing at all other than a couple ... Interface FastEthernet0/18, changed state to down ... I am trying to ping from a host on Vlan 9, ... from the switch which also does not work. ...
      (comp.dcom.sys.cisco)