mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Jasen <jjasen@realityfailure.org>
To: linux-kernel@vger.kernel.org
Subject: bonding driver issues: slave interface not coming up
Date: Mon, 27 Jun 2005 16:21:38 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.63.0506271620160.12410@bushido> (raw)


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

             reply	other threads:[~2005-06-27 20:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-27 20:21 John Jasen [this message]
2005-06-27 20:48 ` Jason R. Martin
2005-06-28 14:45   ` John Jasen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.63.0506271620160.12410@bushido \
    --to=jjasen@realityfailure.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®