2018-03-20 15:54:52 |
Jeff Lane |
bug |
|
|
added bug |
2018-03-20 15:55:05 |
Jeff Lane |
summary |
Intel NICs not properly reporting link speed in SysFS |
Intel NICs not properly reporting link speed in SysFS in Xenial |
|
2018-03-20 15:55:26 |
Jeff Lane |
description |
This was discovered during certification testing.
A system under test has a 2 port Intel X550 NIC (10Gb)
Udev reports the NIC as this:
Category: NETWORK
Interface: enp94s0f0
Product: Ethernet Controller 10G X550T
Vendor: Intel Corporation
Driver: ixgbe (ver: 5.1.0-k)
Path: /devices/pci0000:5d/0000:5d:00.0/0000:5e:00.0
ID: [8086:1563]
Subsystem ID: [152d:8a13]
Ethtool shows this info (this is for the second port, which has the issue)
Settings for enp94s0f1:
Supported ports: [ TP ]
Supported link modes: 100baseT/Full
1000baseT/Full
10000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Advertised link modes: 100baseT/Full
1000baseT/Full
10000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
Note ethtool shows an active 10Gb link.
The test tool determines the NIC speed by introspecting the sysfs data for each NIC port. In this case, by looking at /sys/class/net/DEVICENAME/speed
I've now seen this on a couple different NICs using the ixgbe driver. The first port will properly show connected link speed in /sys/class/net/DEVICENAME/speed but the second port shows -1 in that file.
Because of this, certification tests are failing because the tool believes that the link speed is incorrect.
This current example is using kernel 4.13.0-37.42~16.04.1 |
This was discovered during certification testing of 16.04.4 (I've now seen this behaviour at least 2 times)
A system under test has a 2 port Intel X550 NIC (10Gb)
Udev reports the NIC as this:
Category: NETWORK
Interface: enp94s0f0
Product: Ethernet Controller 10G X550T
Vendor: Intel Corporation
Driver: ixgbe (ver: 5.1.0-k)
Path: /devices/pci0000:5d/0000:5d:00.0/0000:5e:00.0
ID: [8086:1563]
Subsystem ID: [152d:8a13]
Ethtool shows this info (this is for the second port, which has the issue)
Settings for enp94s0f1:
Supported ports: [ TP ]
Supported link modes: 100baseT/Full
1000baseT/Full
10000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Advertised link modes: 100baseT/Full
1000baseT/Full
10000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
Note ethtool shows an active 10Gb link.
The test tool determines the NIC speed by introspecting the sysfs data for each NIC port. In this case, by looking at /sys/class/net/DEVICENAME/speed
I've now seen this on a couple different NICs using the ixgbe driver. The first port will properly show connected link speed in /sys/class/net/DEVICENAME/speed but the second port shows -1 in that file.
Because of this, certification tests are failing because the tool believes that the link speed is incorrect.
This current example is using kernel 4.13.0-37.42~16.04.1 |
|
2018-03-20 16:22:10 |
Ubuntu Foundations Team Bug Bot |
tags |
blocks-hwcert-server |
blocks-hwcert-server bot-comment |
|
2018-03-20 16:32:28 |
Jeff Lane |
affects |
ubuntu |
linux (Ubuntu) |
|
2018-03-20 16:41:22 |
Joseph Salisbury |
linux (Ubuntu): importance |
Undecided |
Medium |
|
2018-03-20 16:42:13 |
Joseph Salisbury |
tags |
blocks-hwcert-server bot-comment |
blocks-hwcert-server bot-comment kernel-da-key |
|
2018-03-20 16:42:48 |
Joseph Salisbury |
nominated for series |
|
Ubuntu Artful |
|
2018-03-20 16:42:48 |
Joseph Salisbury |
bug task added |
|
linux (Ubuntu Artful) |
|
2018-03-20 16:42:53 |
Joseph Salisbury |
linux (Ubuntu Artful): importance |
Undecided |
Medium |
|
2018-03-20 16:42:58 |
Joseph Salisbury |
linux (Ubuntu Artful): status |
New |
Triaged |
|
2018-03-20 16:43:02 |
Joseph Salisbury |
linux (Ubuntu): status |
New |
Triaged |
|
2018-03-23 19:59:40 |
Jeff Lane |
tags |
blocks-hwcert-server bot-comment kernel-da-key |
blocks-hwcert-server bot-comment kernel-bug-exists-upstream kernel-da-key |
|
2018-03-23 19:59:47 |
Jeff Lane |
linux (Ubuntu): status |
Triaged |
Confirmed |
|
2018-04-04 15:28:30 |
Joseph Salisbury |
tags |
blocks-hwcert-server bot-comment kernel-bug-exists-upstream kernel-da-key |
blocks-hwcert-server bot-comment kernel-bug-exists-upstream kernel-da-key performing-bisect |
|
2018-04-04 15:28:44 |
Joseph Salisbury |
nominated for series |
|
Ubuntu Bionic |
|
2018-04-04 15:28:44 |
Joseph Salisbury |
bug task added |
|
linux (Ubuntu Bionic) |
|
2018-04-04 15:28:50 |
Joseph Salisbury |
linux (Ubuntu Bionic): status |
Confirmed |
Triaged |
|
2018-04-04 15:29:07 |
Joseph Salisbury |
linux (Ubuntu Bionic): importance |
Medium |
High |
|
2018-04-04 15:29:10 |
Joseph Salisbury |
linux (Ubuntu Artful): importance |
Medium |
High |
|
2018-07-24 09:32:19 |
Andy Whitcroft |
linux (Ubuntu Artful): status |
Triaged |
Won't Fix |
|