New build on Gigabyte z490 Vision G motherboard. Network link lights lit up, cable directly to the switch. I installed another network card, connected to the same switch, and it's what I'm using for connectivity because it works great (Intel igb driver). Onboard network port will occasionally come up after reboot, but usually shows no link and speed/duplex "Unknown!"
What do you think is going on? What other information do you need?
I don't think it's the cat6 cable, I've tried multiple and multiple switch ports, and cables that are used successfully on the other ports. It's a 2.5Gbps NIC connecting to a 1Gbps switch, I could try picking up a cat7 and see if that helps.
Data requested appended at the end, no /etc/network/interfaces directory, and everything under /etc/network looks stock.
Ubuntu 20.04 server install.
$ ethtool enp5s0
Settings for enp5s0:
Supported ports: [ ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00000007 (7)
drv probe link
Link detected: no
$ lspci -knn
5:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:15f3] (rev 02)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:e000]
Kernel driver in use: igc
Kernel modules: igc
$ dmesg | grep igc
[ 3.181094] igc 0000:05:00.0: 4.000 Gb/s available PCIe bandwidth (5 GT/s x1 link)
[ 3.181096] igc 0000:05:00.0 eth0: MAC: 18:c0:4d:00:00:00
[ 3.181657] igc 0000:05:00.0 enp5s0: renamed from eth0
*-network
description: Ethernet interface
product: Intel Corporation
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:05:00.0
logical name: enp5s0
version: 02
serial: 18:c0:4d:00:00:00
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list rom ethernet physical 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=igc driverversion=0.0.1-k latency=0 link=no multicast=yes port=twisted pair slave=yes
resources: irq:17 memory:51a00000-51afffff memory:51b00000-51b03fff memory:51900000-519fffff
Requested data:
$ cat /etc/netplan/*.yaml
network:
ethernets:
enp6s0f0:
dhcp4: no
enp6s0f1:
dhcp4: no
enp5s0:
dhcp4: no
optional: true
bonds:
bond0:
interfaces: [enp6s0f0, enp6s0f1, enp5s0]
addresses: [192.168.37.10/24]
gateway4: 192.168.37.1
nameservers:
addresses: [192.168.37.1]
search: [home.lan]
parameters:
mode: balance-alb
version: 2
$ sudo lshw -C network
*-network
description: Ethernet interface
product: Intel Corporation
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:05:00.0
logical name: enp5s0
version: 02
serial: 18:c0:4d:00:00:00
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi msix pciexpress bus_master cap_list rom ethernet physical 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=igc driverversion=0.0.1-k latency=0 link=no multicast=yes port=twisted pair slave=yes
resources: irq:17 memory:51a00000-51afffff memory:51b00000-51b03fff memory:51900000-519fffff
*-network:0
description: Ethernet interface
product: 82576 Gigabit Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:06:00.0
logical name: enp6s0f0
version: 01
serial: 00:1b:21:00:00:00
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.6.0-k duplex=full firmware=1.5.1 latency=0 link=yes multicast=yes port=twisted pair slave=yes speed=1Gbit/s
resources: irq:16 memory:51820000-5183ffff memory:51400000-517fffff ioport:3020(size=32) memory:51844000-51847fff memory:51848000-51867fff memory:51868000-51887fff
*-network:1
description: Ethernet interface
product: 82576 Gigabit Network Connection
vendor: Intel Corporation
physical id: 0.1
bus info: pci@0000:06:00.1
logical name: enp6s0f1
version: 01
serial: f6:3b:fc:00:00:00
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.6.0-k duplex=full firmware=1.5.1 latency=0 link=yes multicast=yes port=twisted pair slave=yes speed=1Gbit/s
resources: irq:17 memory:51800000-5181ffff memory:51000000-513fffff ioport:3000(size=32) memory:51840000-51843fff memory:51888000-518a7fff memory:518a8000-518c7fff
cat /etc/network/interfaces
andcat /etc/netplan/*.yaml
andsudo lshw -C network
when BOTH network cards are installed.