[Bug 920217] Re: network with bonding does not start
max
920217 at bugs.launchpad.net
Tue Mar 27 02:24:00 UTC 2012
In Precise working perfectly
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifenslave-2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/920217
Title:
network with bonding does not start
Status in “ifenslave-2.6” package in Ubuntu:
Incomplete
Bug description:
Hi,
this bug similar to Bug #482419.
Bonding is not working during boot or if started manually for the first time.
ifdown bond0; ifup bond0
fixes the problem.
----------------------------------------------------------
$ uname -a
Linux s1 3.0.0-15-server #25-Ubuntu SMP Mon Jan 2 19:14:55 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Fresh installation
---------------------------------------------------------------
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto bond0
iface bond0 inet static
address 192.168.2.126
netmask 255.255.0.0
gateway 192.168.2.1
bond_mode 4
bond_miimon 100
bond-slaves eth0 eth1
-----------------------------------------------------------------------
$ dpkg -s ifenslave-2.6
Package: ifenslave-2.6
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 132
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: amd64
Version: 1.1.0-19ubuntu1
Provides: ifenslave
Depends: libc6 (>= 2.4), iproute
Recommends: net-tools
Conflicts: ifenslave (<< 2), ifenslave-2.4 (<= 0.07+2.5.15-6)
Conffiles:
/etc/network/if-pre-up.d/ifenslave e88ff4d8fecf8dba8010e820cd1ddac6
/etc/network/if-post-down.d/ifenslave 810e4accd7150d595809badbafc1153d
/etc/network/if-up.d/ifenslave 318791a00738baf7c1659b271b24ecfe
Description: Attach and detach slave interfaces to a bonding device
This is a tool to attach and detach slave network interfaces to a bonding
device. A bonding device will act like a normal Ethernet network device to
the kernel, but will send out the packets via the slave devices using a simple
round-robin scheduler. This allows for simple load-balancing, identical to
"channel bonding" or "trunking" techniques used in switches.
.
The kernel must have support for bonding devices for ifenslave to be useful.
This package supports 2.6.x kernels and the most recent 2.4.x kernels.
Original-Maintainer: Guus Sliepen <guus at debian.org>
----------------------------------------------------------------------
From dmesg
[ 7.857792] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 7.857796] bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.
[ 7.861724] bonding: bond0: Adding slave eth0.
[ 7.888270] e1000e 0000:04:00.0: irq 65 for MSI/MSI-X
[ 7.944058] e1000e 0000:04:00.0: irq 65 for MSI/MSI-X
[ 7.945800] bonding: bond0: Warning: failed to get speed and duplex from eth0, assumed to be 100Mb/sec and Full.
[ 7.945813] bonding: bond0: enslaving eth0 as an active interface with an up link.
[ 7.948708] bonding: bond0: Adding slave eth1.
[ 7.972256] e1000e 0000:04:00.1: irq 66 for MSI/MSI-X
[ 8.028064] e1000e 0000:04:00.1: irq 66 for MSI/MSI-X
[ 8.029731] bonding: bond0: Warning: failed to get speed and duplex from eth1, assumed to be 100Mb/sec and Full.
[ 8.029742] bonding: bond0: enslaving eth1 as an active interface with an up link.
[ 8.030523] bonding: bond0: Setting MII monitoring interval to 100.
[ 8.032728] bonding: bond0: setting mode to 802.3ad (4).
[ 8.041047] bonding: bond0: link status definitely down for interface eth0, disabling it
[ 8.041052] bonding: Warning: bond0: link status changed for uninitialized port on eth0
[ 8.041057] bonding: bond0: now running without any active interface !
[ 8.041059] bonding: bond0: link status definitely down for interface eth1, disabling it
[ 8.041061] bonding: Warning: bond0: link status changed for uninitialized port on eth1
[ 8.041065] bonding: bond0: Warning: bond's first port is uninitialized
[ 8.070043] init: ssh main process (650) terminated with status 255
[ 8.082961] init: failsafe main process (638) killed by TERM signal
[ 8.140021] bonding: bond0: Warning: Found an uninitialized port
[ 8.240011] bonding: bond0: Warning: Found an uninitialized port
[ 8.245021] type=1400 audit(1327275058.198:8): apparmor="STATUS" operation="profile_load" name="/usr/sbin/libvirtd" pid=762 comm="apparmor_parser"
[ 8.245130] type=1400 audit(1327275058.198:9): apparmor="STATUS" operation="profile_load" name="/usr/lib/libvirt/virt-aa-helper" pid=761 comm="apparmor_parser"
[ 8.245351] type=1400 audit(1327275058.198:10): apparmor="STATUS" operation="profile_load" name="/usr/sbin/tcpdump" pid=763 comm="apparmor_parser"
[ 8.245552] type=1400 audit(1327275058.198:11): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=760 comm="apparmor_parser"
[ 8.286604] init: apport pre-start process (786) terminated with status 1
[ 8.290870] init: apport post-stop process (807) terminated with status 1
[ 8.325979] Bridge firewalling registered
[ 8.334721] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 8.340053] bonding: bond0: Warning: Found an uninitialized port
[ 8.361655] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 8.376772] ADDRCONF(NETDEV_UP): virbr0: link is not ready
[ 8.444027] bonding: bond0: Warning: Found an uninitialized port
[ 8.544018] bonding: bond0: Warning: Found an uninitialized port
[ 8.571659] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 8.644026] bonding: bond0: Warning: Found an uninitialized port
---repeated many times--
[ 10.548010] bonding: bond0: Warning: Found an uninitialized port
[ 10.646358] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[ 10.648446] bonding: Warning: bond0: speed changed for uninitialized port on eth0
[ 10.648497] bonding: bond0: link status definitely up for interface eth0, 1000 Mbps full duplex.
[ 10.648500] bonding: Warning: bond0: link status changed for uninitialized port on eth0
[ 10.648509] bonding: bond0: Warning: Found an uninitialized port
[ 10.662359] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[ 10.664441] bonding: Warning: bond0: speed changed for uninitialized port on eth1
[ 10.748011] bonding: bond0: link status definitely up for interface eth1, 1000 Mbps full duplex.
[ 10.748014] bonding: Warning: bond0: link status changed for uninitialized port on eth1
[ 10.748017] bonding: bond0: Warning: Found an uninitialized port
-----repeated many times ----------------------
[ 44.352012] bonding: bond0: Warning: Found an uninitialized port
>> ifdown bond0 executed------------------------------------
[ 44.469283] bonding: bond0: Removing slave eth0.
[ 44.469339] bonding: bond0: Warning: the permanent HWaddr of eth0 - 00:1e:8c:ec:61:13 - is still in use by bond0. Set the HWaddr of eth0 to a different address to avoid conflicts.
[ 44.469345] bonding: Warning: bond0: Trying to unbind an uninitialized port on eth0
[ 44.469348] bonding: bond0: releasing backup interface eth0
[ 44.521232] bonding: bond0: Removing slave eth1.
[ 44.521280] bonding: Warning: bond0: Trying to unbind an uninitialized port on eth1
[ 44.521283] bonding: bond0: releasing backup interface eth1
[ 44.521295] bond0: mixed no checksumming and other settings.
>>ifup bond0 executed -------------------------------------------
[ 49.113660] bonding: bond0: Adding slave eth0.
[ 49.140252] e1000e 0000:04:00.0: irq 65 for MSI/MSI-X
[ 49.196054] e1000e 0000:04:00.0: irq 65 for MSI/MSI-X
[ 49.197750] bonding: bond0: enslaving eth0 as a backup interface with a down link.
[ 49.200610] bonding: bond0: Adding slave eth1.
[ 49.224249] e1000e 0000:04:00.1: irq 66 for MSI/MSI-X
[ 49.280062] e1000e 0000:04:00.1: irq 66 for MSI/MSI-X
[ 49.281728] bonding: bond0: enslaving eth1 as a backup interface with a down link.
[ 49.282484] bonding: bond0: Setting MII monitoring interval to 100.
[ 49.283434] bonding: bond0: setting mode to 802.3ad (4).
[ 49.292064] ADDRCONF(NETDEV_UP): bond0: link is not ready
[ 49.305964] init: ssh main process (728) terminated with status 255
[ 52.218365] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[ 52.258374] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[ 52.288019] bonding: bond0: link status definitely up for interface eth0, 1000 Mbps full duplex.
[ 52.288025] bonding: bond0: link status definitely up for interface eth1, 1000 Mbps full duplex.
[ 52.289545] ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
[ 62.728005] bond0: no IPv6 routers present
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/920217/+subscriptions
More information about the foundations-bugs
mailing list