link speed autodetection fails on ubuntu-19.10 and Intel board
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On my setup :
Intel Corporation 82575EB Gigabit Network Connection which uses igb driver module,
the automatic detection of link speed fails
root@ubuntu1910:~# ethtool mgmt0
Settings for mgmt0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 10Mb/s
The link speed can be manually fixed but ipmi-sol must be closed before.
ethtool -s mgmt0 speed 1000 duplex full autoneg off
And then
root@ubuntu1910:~# ethtool mgmt0
Settings for mgmt0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
I think it is directly linked to 5.3 kernel and used to work on 5.0 kernel
---
ProblemType: Bug
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Oct 7 09:33 seq
crw-rw---- 1 root audio 116, 33 Oct 7 09:33 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 19.10
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb: Error: [Errno 2] No such file or directory: 'lsusb': 'lsusb'
MachineType: Intel Corporation S5520HC
Package: linux (not installed)
PciMultimedia:
ProcFB: 0 mgag200drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.182
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
Tags: eoan
Uname: Linux 5.3.0-13-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 05/06/2010
dmi.bios.vendor: Intel Corp.
dmi.bios.version: S5500.86B.
dmi.board.
dmi.board.name: S5520HC
dmi.board.vendor: Intel Corporation
dmi.board.version: E26045-454
dmi.chassis.
dmi.chassis.type: 17
dmi.chassis.vendor: .......
dmi.chassis.
dmi.modalias: dmi:bvnIntelCor
dmi.product.name: S5520HC
dmi.product.
dmi.sys.vendor: Intel Corporation
Here follows extract of kernel log that shows link to default to 10 Mbps
root@ubuntu1910:~# dmesg | grep -i igb
[ 8.363504] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[ 8.371363] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 8.371855] igb 0000:01:00.0: PHY reset is blocked due to SOL/IDER session.
[ 8.430438] igb 0000:01:00.0: Intel(R) Gigabit Ethernet Network Connection
[ 8.440508] igb 0000:01:00.0: eth0: (PCIe:2.5Gb/s:Width x4) 00:15:17:b8:18:d8
[ 8.440511] igb 0000:01:00.0: eth0: PBA No: Unknown
[ 8.451863] igb 0000:01:00.0: Using MSI-X interrupts. 4 rx queue(s), 4 tx queue(s)
[ 8.647771] igb 0000:01:00.1: Intel(R) Gigabit Ethernet Network Connection
[ 8.669494] igb 0000:01:00.1: eth1: (PCIe:2.5Gb/s:Width x4) 00:15:17:b8:18:d9
[ 8.669497] igb 0000:01:00.1: eth1: PBA No: Unknown
[ 8.707223] igb 0000:01:00.1: Using MSI-X interrupts. 4 rx queue(s), 4 tx queue(s)
[ 8.718846] igb 0000:01:00.1 enp1s0f1: renamed from eth1
[ 8.927403] igb 0000:01:00.0 enp1s0f0: renamed from eth0
[ 15.063720] igb 0000:01:00.0 mgmt0: renamed from enp1s0f0
[ 15.137690] igb 0000:01:00.0 mgmt0: igb: mgmt0 NIC Link is Up 10 Mbps Full Duplex, Flow Control: None
[ 832.311222] igb 0000:01:00.0: DCA enabled
[ 832.311237] igb 0000:01:00.1: DCA enabled
Then link speed forced through ethtool
[ 1448.089269] igb 0000:01:00.0 mgmt0: igb: mgmt0 NIC Link is Down
[ 1450.509419] igb 0000:01:00.0 mgmt0: igb: mgmt0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[ 1495.813709] igb 0000:01:00.0 mgmt0: igb: mgmt0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX