Bonding: Bond0: Warning: Failed To Get Speed And Duplex From Eth0, Assumed To Be 100Mb/sec And Full (Doc ID 1555714.1)

Last updated on JUNE 16, 2017

Applies to:

Oracle VM - Version 3.1.1 to 3.2.2 [Release OVM31 to OVM32]
Information in this document applies to any platform.

Symptoms

Newly installed Oracle VM server 3.1.1 on Cisco UCS blades - B200 M3 and the speed on bond0 NIC is set to 100Mb/sec instead of 10Gb/sec.
Here is the error message from /var/log/messages:

May 9 14:34:00 sjuovm01 kernel: bonding: bond0: Setting down delay to 500.
May 9 14:34:00 sjuovm01 kernel: bonding: bond0: Unable to set eth0 as primary slave.
May 9 14:34:00 sjuovm01 kernel: bonding: bond0: Adding slave eth0.
May 9 14:34:00 sjuovm01 kernel: enic 0000:06:00.0: eth0: Link UP
May 9 14:34:00 sjuovm01 kernel: bonding: bond0: Warning: failed to get speed and duplex from ^, assumed to be 100Mb/sec and Full.
May 9 14:34:00 sjuovm01 kernel: bonding: bond0: enslaving eth0 as a backup interface with an up link.
May 9 14:34:00 sjuovm01 kernel: bonding: bond0: Setting eth0 as primary slave.
May 9 14:34:00 sjuovm01 kernel: bonding: bond0: link status definitely up for interface eth0, 100 Mbps full duplex.
May 9 14:34:00 sjuovm01 kernel: bonding: bond0: making interface eth0 the new active one.
May 9 14:34:00 sjuovm01 kernel: bonding: bond0: first active interface up!
May 9 14:34:00 sjuovm01 kernel: 802.1Q VLAN Support v1.8

 

# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: eth0 (primary_reselect always)
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 250
Up Delay (ms): 500
Down Delay (ms): 500

Slave Interface: eth0
MII Status: up
Speed: 100 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:25:b5:1a:60:00
Slave queue ID: 0

 Bringing up interface bond0 got warning message

"bonding: bond0: Warning: failed to get speed and duplex from eth0, assumed to be 100Mb/sec and Full."

 Network configuration of eth0:

$ cat etc/sysconfig/network-scripts/ifcfg-eth0
# Cisco Systems Inc VIC Ethernet NIC
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:25:B5:1A:60:00
ONBOOT=yes
MASTER=bond0
SLAVE=yes

 Ethool output of eth0:

$ cat ethtool_eth0
Settings for eth0:
  Supported ports: [ FIBRE ]
  Supported link modes: 10000baseT/Full
  Supports auto-negotiation: No
  Advertised link modes: 10000baseT/Full
  Advertised pause frame use: No
  Advertised auto-negotiation: No
  Speed: 20000Mb/s        *************the speed of eth0(2000Mb/s)
  Duplex: Full
  Port: FIBRE
  PHYAD: 0
  Transceiver: external
  Auto-negotiation: off
  Current message level: 0x00000000 (0)
  Link detected: yes

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms