I can confirm that this bug still occurs. Although I've been using this
configuration for ~6 months, it bit me today. This is on a box running
Ubuntu server, with two bonded interfaces. Bond0 failed to come up after
a reboot, while bond1 did come up. After I got onto the box via bond1, a
reboot worked - both bond0 and bond 1 came up. However,
/var/log/messages still contains many lines of the below:

Apr 23 11:02:43 server1 kernel: [104080.510023] bonding: bond0: Warning:
Found an uninitialized port

and many lines of:

Apr 23 11:05:14 server1 kernel: [   16.985610] bonding: bond0: doing
slave updates when interface is down.


Details:

root@server1:/etc/network# cat /etc/issue
Ubuntu 10.04.2 LTS \n \l

root@server1:/etc/network#

root@server1e:/etc/network# uname -a
Linux server1 2.6.32-31-server #61-Ubuntu SMP Fri Apr 8 19:44:42 UTC 2011 
x86_64 GNU/Linux
root@server1:/etc/network#

root@servers:/etc/network# apt-cache search ifenslave
ifenslave-2.6 - Attach and detach slave interfaces to a bonding device
root@server1:/etc/network#

root@server1:/etc/network# grep -r -i bond /etc/modprobe.d/
root@server1:/etc/network# 

root@server1:/etc/network# cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# Bonded interfaces
auto bond0
iface bond0 inet static
        address a.b.c.d
        netmask a.b.c.d
        network a.b.c.d
        broadcast a.b.c.d
        metric 99
        gateway a.b.c.d
        bond-slaves none
        bond-mode 4
        bond-miimon 100
        bond-xmit_hash_policy layer2+3

auto eth0
iface eth0 inet manual
        bond-master bond0

auto eth2
iface eth2 inet manual
        bond-master bond0

auto bond1
iface bond1 inet static
        address w.x.y.z
        netmask w.x.y.z
        network w.x.y.z
        broadcast w.x.y.z
        bond-slaves none
        bond-mode 4
        bond-miimon 100
        bond-xmit_hash_policy layer2+3

auto eth1
iface eth1 inet manual
        bond-master bond1

auto eth3
iface eth3 inet manual
        bond-master bond1


root@server1:/etc/network#

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/482419

Title:
  802.3ad interface bonding fails if started too early

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to