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.
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
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 /etc/network#
Linux server1 2.6.32-31-server #61-Ubuntu SMP Fri Apr 8 19:44:42 UTC 2011 x86_64 GNU/Linux
root@server1:
root@servers: /etc/network# apt-cache search ifenslave /etc/network#
ifenslave-2.6 - Attach and detach slave interfaces to a bonding device
root@server1:
root@server1: /etc/network# grep -r -i bond /etc/modprobe.d/ /etc/network#
root@server1:
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 hash_policy layer2+3
# 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_
auto eth0
iface eth0 inet manual
bond-master bond0
auto eth2
iface eth2 inet manual
bond-master bond0
auto bond1 hash_policy layer2+3
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_
auto eth1
iface eth1 inet manual
bond-master bond1
auto eth3
iface eth3 inet manual
bond-master bond1
root@server1: /etc/network#