Intel i211AT x399 Ubuntu Gigabit issue

Hello!

I have a new Threadripper build on Ubuntu 18.10 with 2950x and Gigabyte Designare x399 board. The LAN adapters are Intel i211AT. Out of the box, I see that I am limited to 100 Mb/s.


dmesg:
[ 1.305117] igb: Intel® Gigabit Ethernet Network Driver - version 5.4.0-k
[ 1.305559] igb: Copyright © 2007-2014 Intel Corporation.
[ 1.536886] igb 0000:04:00.0: added PHC on eth0
[ 1.537354] igb 0000:04:00.0: Intel® Gigabit Ethernet Network Connection
[ 1.537826] igb 0000:04:00.0: eth0: (PCIe:2.5Gb/s:Width x1) e0:d5:5e:ad:08:47
[ 1.538289] igb 0000:04:00.0: eth0: PBA No: FFFFFF-0FF
[ 1.538749] igb 0000:04:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s)
[ 1.769088] igb 0000:06:00.0: added PHC on eth1
[ 1.769747] igb 0000:06:00.0: Intel® Gigabit Ethernet Network Connection
[ 1.770408] igb 0000:06:00.0: eth1: (PCIe:2.5Gb/s:Width x1) e0:d5:5e:ad:08:49
[ 1.771018] igb 0000:06:00.0: eth1: PBA No: FFFFFF-0FF
[ 1.771474] igb 0000:06:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s)
[ 1.773564] igb 0000:06:00.0 enp6s0: renamed from eth1
[ 1.808173] igb 0000:04:00.0 enp4s0: renamed from eth0
[ 10.784580] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 12.948103] igb 0000:04:00.0: exceed max 2 second
[ 12.948424] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Down
[ 14.704581] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 16.864100] igb 0000:04:00.0: exceed max 2 second
[ 16.864416] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Down
[ 18.612575] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 20.772116] igb 0000:04:00.0: exceed max 2 second
[ 20.772432] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Down
[ 21.368591] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX


I installed the driver for the LAN adapters.

Same result as before.

If I try to force the 1000 Mb/s speed wtih ethtool (ethtool -s enp4s0 speed 1000 duplex full):


dmesg:
[ 1245.188629] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 1246.327991] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Down
[ 1249.064659] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 1250.211990] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Down
[ 1252.920676] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 1254.064023] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Down
[ 1259.400706] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 1260.556056] igb 0000:04:00.0 enp4s0: igb: enp4s0 NIC Link is Down


It just keeps going up/down indefinitely.

Does the enp6s0 exhibit the same issues?

Are there any BIOS settings?

Are there any packet offload options active as see by ethtool?
What happens if you disable them?

Are you sure you are plugged into a 1000Mbps switch port?
Have you checked the cable is good? 1000 requires all 4 pairs, 100 only 2?

What happens if you boot up ubuntu 18.04 live usb? Does it fail too?

I have a I210 on ubuntu 18.04, same driver version:

[    1.036722] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    1.036722] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.287839] igb 0000:04:00.0: added PHC on eth0
[    1.287840] igb 0000:04:00.0: Intel(R) Gigabit Ethernet Network Connection
[    1.287842] igb 0000:04:00.0: eth0: (PCIe:2.5Gb/s:Width x1) 0c:c4:7a:03:30:2a
[    1.287905] igb 0000:04:00.0: eth0: PBA No: 011000-000
[    1.287907] igb 0000:04:00.0: Using MSI-X interrupts. 4 rx queue(s), 4 tx queue(s)
[    1.288692] igb 0000:04:00.0 eno1: renamed from eth0
[   39.934307] igb 0000:04:00.0: changing MTU from 1500 to 9000
[   44.116809] igb 0000:04:00.0 eno1: igb: eno1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX

IIRC years ago i used to have a similar up/down thing happening, but older driver. Too long ago to remember the details clearly. I switched to the other internal lan, but that was e1000, not igb like you have.

I was wondering if you ever fixed this. This happens on every distro I’ve tried. I’ve had to resort to wireless as the I211-AT is the ONLY NIC onboard. I have an old X399 board I am going to RMA. I cannot recall what NIC it uses, but I believe it’s a realtek. The IGB module does not negotiate properly. I get gigabit speeds on Windows, but under Linux I don’t. Sometimes I can get gigabit for a short period of time by putting a switch between my machine and the router. I’ve tried multiple routers, cables (Cat 5, 5e, and Cat6) and with/without switch with no luck. Is there anyway to use the e1000 module with this device? The pci device id for me is 8086:1539

edit: lspci output is
05:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)

I should also note I’ve tried Fedora 29 and Linux Mint 19.1, no dice. I’ve tried kernels 4.15-4.20.7 for ubuntu, no dice, trying the 5.0 RC release 7 next, then I’ll work backwards as far as I can…