bond slave interface sometimes does not come up on boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
High
|
khuanglim | ||
Precise |
Confirmed
|
High
|
Unassigned | ||
Quantal |
Won't Fix
|
High
|
Unassigned | ||
Raring |
Won't Fix
|
High
|
Unassigned | ||
Saucy |
Won't Fix
|
High
|
Unassigned | ||
Trusty |
Confirmed
|
High
|
Unassigned |
Bug Description
bug report:
Hi guys,
I'm running ubuntu12.04 server on a HP DL380G7.
server01 ~ # lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04
I've got 2 ethernet cards with 4x 10G interfaces.
I've got a bond on 4x10G where only eth4 and eth6 are patched.
server01 ~ # ethtool -i eth4
driver: be2net
version: 4.0.100u
firmware-version: 4.0.360.15
bus-info: 0000:0e:00.0
supports-
supports-test: yes
supports-
supports-
server01 ~ # ethtool -i eth6
driver: be2net
version: 4.0.100u
firmware-version: 4.0.360.15
bus-info: 0000:15:00.0
supports-
supports-test: yes
supports-
supports-
After a reboot I expect to see a bond0 interface with 2 RUNNING SLAVE interfaces.
However, sometimes I only see 1 interface coming up in the bond after a reboot and when I manually bring the other interface up (ifconfig eth6 up) it works:
# cat /proc/net/
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
802.3ad info
LACP rate: slow
Min links: 0
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
Aggregator ID: 2
Number of ports: 1
Actor Key: 33
Partner Key: 32773
Partner Mac Address: 00:23:04:ee:be:01
Slave Interface: eth6
MII Status: down <<<<<<<<<<<< SHOULD BE UP
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 1
Permanent HW addr: 00:9c:02:3c:c9:70
Aggregator ID: 1
Slave queue ID: 0
Slave Interface: eth4
MII Status: up <<<<<<<<<<<< ONLY INTERFACE THAT IS UP
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:9c:02:3c:99:98
Aggregator ID: 2
Slave queue ID: 0
Slave Interface: eth7
MII Status: down
Speed: Unknown
Duplex: Unknown
Link Failure Count: 0
Permanent HW addr: 00:9c:02:3c:c9:74
Aggregator ID: 3
Slave queue ID: 0
Slave Interface: eth5
MII Status: down
Speed: Unknown
Duplex: Unknown
Link Failure Count: 0
Permanent HW addr: 00:9c:02:3c:99:9c
Aggregator ID: 4
Slave queue ID: 0
server01 ~ # ifconfig
bond0 Link encap:Ethernet HWaddr 00:9c:02:3c:c9:70
inet6 addr: fe80::29c:
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:169071 errors:0 dropped:54 overruns:0 frame:0
TX packets:1236 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:18435358 (18.4 MB) TX bytes:174727 (174.7 KB)
eth4 Link encap:Ethernet HWaddr 00:9c:02:3c:c9:70
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:169071 errors:0 dropped:45 overruns:0 frame:0
TX packets:1235 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:18435358 (18.4 MB) TX bytes:174637 (174.6 KB)
eth5 Link encap:Ethernet HWaddr 00:9c:02:3c:c9:70
UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth7 Link encap:Ethernet HWaddr 00:9c:02:3c:c9:70
UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1333 errors:0 dropped:0 overruns:0 frame:0
TX packets:1333 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:102784 (102.7 KB) TX bytes:102784 (102.7 KB)
vlan888 Link encap:Ethernet HWaddr 00:9c:02:3c:c9:70
inet addr:1.1.0.50 Bcast:1.1.0.63 Mask:255.
inet6 addr: 2222:2222:
inet6 addr: fe80::29c:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:168250 errors:0 dropped:0 overruns:0 frame:0
TX packets:661 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:15995674 (15.9 MB) TX bytes:41938 (41.9 KB)
vlan889 Link encap:Ethernet HWaddr 00:9c:02:3c:c9:70
inet addr:1.1.0.5 Bcast:1.1.0.15 Mask:255.
inet6 addr: 2222:2222:
inet6 addr: fe80::29c:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:708 errors:0 dropped:0 overruns:0 frame:0
TX packets:571 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:59088 (59.0 KB) TX bytes:126565 (126.5 KB)
server01 ~ # ifconfig eth6 up
logging in /var/log/syslog:
May 8 07:35:14 server01 kernel: [ 201.620795] 8021q: adding VLAN 0 to HW filter on device eth6
May 8 07:35:14 server01 kernel: [ 201.627183] bonding: bond0: link status definitely up for interface eth6, 10000 Mbps full duplex.
# cat /proc/net/
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
802.3ad info
LACP rate: slow
Min links: 0
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
Aggregator ID: 2
Number of ports: 2
Actor Key: 33
Partner Key: 32773
Partner Mac Address: 00:23:04:ee:be:01
Slave Interface: eth6
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 1
Permanent HW addr: 00:9c:02:3c:c9:70
Aggregator ID: 2
Slave queue ID: 0
Slave Interface: eth4
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:9c:02:3c:99:98
Aggregator ID: 2
Slave queue ID: 0
Slave Interface: eth7
MII Status: down
Speed: Unknown
Duplex: Unknown
Link Failure Count: 0
Permanent HW addr: 00:9c:02:3c:c9:74
Aggregator ID: 3
Slave queue ID: 0
Slave Interface: eth5
MII Status: down
Speed: Unknown
Duplex: Unknown
Link Failure Count: 0
Permanent HW addr: 00:9c:02:3c:99:9c
Aggregator ID: 4
Slave queue ID: 0
Network configuration:
# cat /etc/network/
# 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
auto eth4 eth5 eth6 eth7
iface eth4 inet manual
bond-master bond0
iface eth5 inet manual
bond-master bond0
iface eth6 inet manual
bond-master bond0
iface eth7 inet manual
bond-master bond0
auto bond0
iface bond0 inet static
bond-slaves none
bond-mode 802.3ad
bond-miimon 100
address 0.0.0.0
netmask 0.0.0.0
ip-proxy-arp 0
auto vlan888
iface vlan888 inet static
vlan_raw_device bond0
address 1.1.0.50
netmask 255.255.255.240
ip-proxy-arp 0
post-up sysctl -w net.ipv4.
post-up ip route add 192.168.1.0/24 via 1.1.0.53
post-up ip route add 1.1.0.32/28 via 1.1.0.53
post-up ip route add 0.0.0.0/0 via 1.1.0.53
iface vlan888 inet6 static
vlan_raw_device bond0
address 2222:2222:ffff::11
netmask 124
post-up sysctl -w net.ipv6.
post-up ip -6 route add 2222:2222:
post-up ip -6 route add ::/0 via 2222:2222:ffff::14
auto vlan889
iface vlan889 inet static
vlan_raw_device bond0
address 1.1.0.5
netmask 255.255.255.240
ip-proxy-arp 0
post-up sysctl -w net.ipv4.
post-up ip route add 10.0.0.0/8 via 1.1.0.1
post-up ip route add 192.168.0.0/12 via 1.1.0.1
post-up ip route add 1.1.0.0/20 via 1.1.0.1
post-up ip route add 2.2.0.0/24 via 1.1.0.1
post-up ip route add 3.3.0.0/24 via 1.1.0.1
iface vlan889 inet6 static
vlan_raw_device bond0
address 2222:2222:ffff::105
netmask 120
post-up sysctl -w net.ipv6.
post-up ip -6 route add 2222:2222::/32 via 2222:2222:ffff::101
---
AlsaDevices:
total 0
crw-rw---T 1 root audio 116, 1 May 8 07:31 seq
crw-rw---T 1 root audio 116, 33 May 8 07:31 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327)
MachineType: HP ProLiant DL380 G7
Package: linux (not installed)
PciMultimedia:
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.79
RfKill: Error: [Errno 2] No such file or directory
Tags: precise
Uname: Linux 3.2.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
dmi.bios.date: 05/05/2011
dmi.bios.vendor: HP
dmi.bios.version: P67
dmi.chassis.type: 23
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:
dmi.product.name: ProLiant DL380 G7
dmi.sys.vendor: HP
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | Expired → New |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
tags: | added: kernel-da-key |
tags: |
added: kernel-key removed: kernel-da-key |
Changed in linux (Ubuntu): | |
importance: | Medium → High |
Changed in linux (Ubuntu Raring): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Quantal): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Raring): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Quantal): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Precise): | |
importance: | Undecided → High |
tags: | added: quantal raring saucy |
tags: | removed: kernel-key |
tags: | added: bios-outdated-2013.07.02 |
tags: | added: regression-potential |
Changed in linux (Ubuntu): | |
assignee: | nobody → khuanglim (khuang0411) |
status: | Confirmed → Incomplete |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/996369/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]