← Back to team overview

kernel-packages team mailing list archive

[Bug 971522] Re: bonding info reports wrong speed

 

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

** Changed in: linux (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/971522

Title:
  bonding info reports wrong speed

Status in “linux” package in Ubuntu:
  Expired

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971522/+subscriptions