Red Hat Bugzilla – Bug 225226
Bonding fails due to errors in network-functions.
Last modified: 2008-05-06 15:07:24 EDT
Description of problem:
When you configure a type 4 network bond with 2 e1000 network interfaces and use
DHCP to supply the bond with an IP address the bond fails to come up due to
errors in the check_link_down function in network-functions.
The check_link_down function is called from the ifup-eth script during
initialisation of the bond. This function in turn calls the mii-tool and the
ethtool to check the MII status of the configured bond. Both mii-tool and
ethtool fail to correctly return the status of the bond. mii-tool returns that
the bond is down while /proc/net/bonding/bond0 tells the bond is up. ethtool
completly fails to identify the bond and tells it can't return any data.
Version-Release number of selected component (if applicable):
Create a bond with 2 e1000 interfaces and configure it to use dhcp. The bond
will fail to come online.
Steps to Reproduce:
1. Install FC5 with latest updates.
2. Configure bond with the following config files:
alias bond0 bonding
options bond0 mode=4 miimon=100 lacp_rate=fast
3. Configure a LACP dynamic link agregation pair on the connected switch.
4. Try to bring the network online.
Bond0 will be brought down and there will be no enslaved interfaces.
Bond0 should come online with an actual IP address and eth0 and eth1 should be
enslaved to bond0
Created attachment 146865 [details]
Diff file for network-functions in /etc/sysconfig/network-scripts to solve the problem.
Rather than reporting MII status completely separately through another
interface, bonding devices should support the same interfaces.
True. But mii-tool is deprecated as far as I know and ethtool misidentifies
bonding interfaces completly. The only sollution at the moment is use the
interface for bonding interfaces that is available to check the MII status. This
commit fae0ef93df6f6b3ebf9209d4be7112f97405814c to 22.214.171.124 might be what is needed:
Author: Andy Gospodarek <firstname.lastname@example.org>
Date: Tue Nov 21 11:46:44 2006 -0500
[PATCH] bonding: incorrect bonding state reported via ioctl
This is a small fix-up to finish out the work done by Jay Vosburgh to
add carrier-state support for bonding devices. The output in
/proc/net/bonding/bondX was correct, but when collecting the same info
via an iotcl it could still be incorrect.
Signed-off-by: Andy Gospodarek <email@example.com>
Cc: Jeff Garzik <firstname.lastname@example.org>
Cc: Stephen Hemminger <email@example.com>
Signed-off-by: Andrew Morton <firstname.lastname@example.org>
Signed-off-by: Jeff Garzik <email@example.com>
Signed-off-by: Chris Wright <firstname.lastname@example.org>
It seems indeed that this patch is the one we need. We have build a RPM with a
2.6.19-2 kernel for FC5, which includes this patch and what we see is that
mii-tool properly identifies the link as being up. The speed etc are incorrect
but that doesn't matter.
Ethtool still doesn't give any proper information.
[root@cl146 network-scripts]# mii-tool bond0
bond0: 10 Mbit, half duplex, link ok
[root@cl146 network-scripts]# ethtool bond0
Settings for bond0:
No data available
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.
If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.
If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
Thanks for your help, and we apologize again that we haven't handled
these issues to this point.
The process we are following is outlined here:
We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
And if you'd like to join the bug triage team to help make things
better, check out http://fedoraproject.org/wiki/BugZappers
This bug is open for a Fedora version that is no longer maintained and
will not be fixed by Fedora. Therefore we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen thus bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.