bonding info reports wrong speed

Bug #971522 reported by Dave Bevan
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

New machine, stock 10.04 LTS 64bit build.

apt-get upgrade/update etc.

apt-get install linux-headers-server-lts-backport-natty linux-image-server-lts-backport-natty ifenslave ethtool

root@newsztcjptnfs03:~# uname -a
Linux newsztcjptnfs03 2.6.38-13-server #56~lucid1-Ubuntu SMP Tue Feb 14 03:35:38 UTC 2012 x86_64 GNU/Linux

root@newsztcjptnfs03:~# dpkg --list|grep ifenslave
ii ifenslave-2.6 1.1.0-14ubuntu2.2 Attach and detach slave interfaces to a bond

root@newsztcjptnfs03:~# dpkg --list|grep ethtool
ii ethtool 6+20091202-1ubuntu1 display or change Ethernet device settings

Bonding config:

root@newsztcjptnfs03:~# cat /etc/network/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
auto eth0
iface eth0 inet static
 address 10.129.144.68
 netmask 255.255.255.0
 gateway 10.129.144.254

# bond - dual 10g
auto bond0
iface bond0 inet static
 address 192.168.101.3
 netmask 255.255.255.0
 bond_miimon 100
 bond_mode 0
 mtu 9000

auto eth4
iface eth4 inet manual
 bond-master bond0

auto eth5
iface eth5 inet manual
 bond-master bond0

Interface stats:

root@newsztcjptnfs03:~# ethtool eth4
Settings for eth4:
 Supported ports: [ TP ]
 Supported link modes: 1000baseT/Full
                         10000baseT/Full
 Supports auto-negotiation: Yes
 Advertised link modes: 1000baseT/Full
                         10000baseT/Full
 Advertised pause frame use: No
 Advertised auto-negotiation: Yes
 Link partner advertised link modes: Not reported
 Link partner advertised pause frame use: No
 Link partner advertised auto-negotiation: No
 Speed: 10000Mb/s
 Duplex: Full
 Port: Twisted Pair
 PHYAD: 0
 Transceiver: external
 Auto-negotiation: on
 MDI-X: Unknown
 Supports Wake-on: d
 Wake-on: d
 Current message level: 0x00000007 (7)
 Link detected: yes

root@newsztcjptnfs03:~# ethtool eth5
Settings for eth5:
 Supported ports: [ TP ]
 Supported link modes: 1000baseT/Full
                         10000baseT/Full
 Supports auto-negotiation: Yes
 Advertised link modes: 1000baseT/Full
                         10000baseT/Full
 Advertised pause frame use: No
 Advertised auto-negotiation: Yes
 Link partner advertised link modes: Not reported
 Link partner advertised pause frame use: No
 Link partner advertised auto-negotiation: No
 Speed: 10000Mb/s
 Duplex: Full
 Port: Twisted Pair
 PHYAD: 0
 Transceiver: external
 Auto-negotiation: on
 MDI-X: Unknown
 Supports Wake-on: d
 Wake-on: d
 Current message level: 0x00000007 (7)
 Link detected: yes
root@newsztcjptnfs03:~#

And finally, the wrong info from ifenslave (Speed: 100Mbps)

root@newsztcjptnfs03:~# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.0 (June 2, 2010)

Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth4
MII Status: up
Speed: 100 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 68:05:ca:05:6f:4b
Slave queue ID: 0

Slave Interface: eth5
MII Status: up
Speed: 100 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 68:05:ca:05:6f:4a
Slave queue ID: 0

In short, I believe ifenslave can't handle 10Gig interface speeds?

Rgds,
--Dave.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ifenslave (Ubuntu):
status: New → Confirmed
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Is this still an issue for you?

Changed in ifenslave (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Stéphane Graber (stgraber) wrote :

Moved to linux, ifenslave only tells the kernel to create the bond, if the reported speed is wrong, it's a kernel bug not a userspace one.

affects: ifenslave (Ubuntu) → linux (Ubuntu)
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.14 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.14-rc7-trusty/

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.