Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3567

Hardware • [Solved] Debian 12: Ethernet Controller I226-V goes to 100 mb/s on boot

$
0
0
I just encountered the exact same issue here running Proxmox VE 8.1.4 (Kernel 6.5.11-7-pve).

The Intel I226-V interface (interface 1/enp2s0) that is connected to my UniFi USW-Pro-24-POE Gen2 comes up just fine.
The fourth NIC, enp5s0, which is connected to my provider's Ethernet-to-Fibre (via SFP) media converter (TP-Link MC220 v4.20 with a smartoptics TPL TL-SM321B SFP), would only come up with 100Mbps on boot.

I've worked around the issue by adding this to the pre-up in /etc/network/interfaces:

Code:

/usr/sbin/ethtool -s enp5s0 autoneg on speed 1000 duplex full
(Issuing the above at any time causes the interface to (re-)negotiate correctly. The other alternative was to unplug the cable temporarily.)

These are the igc boot messages AFTER the workaround was put in place (I forgot to capture the before but the startup should look basically the same up until the link gets established correctly):

Code:

[    0.882173] igc 0000:02:00.0: enabling device (0000 -> 0002)[    0.882308] igc 0000:02:00.0: PTM enabled, 4ns granularity[    0.928197] igc 0000:02:00.0 (unnamed net_device) (uninitialized): PHC added[    0.952020] igc 0000:02:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)[    0.952025] igc 0000:02:00.0 eth0: MAC: a8:b8:e0:xx:xx:xx[    0.952066] igc 0000:03:00.0: enabling device (0000 -> 0002)[    0.952184] igc 0000:03:00.0: PTM enabled, 4ns granularity[    0.996916] igc 0000:03:00.0 (unnamed net_device) (uninitialized): PHC added[    1.019963] igc 0000:03:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)[    1.019967] igc 0000:03:00.0 eth1: MAC: a8:b8:e0:xx:xx:xx[    1.020003] igc 0000:04:00.0: enabling device (0000 -> 0002)[    1.020112] igc 0000:04:00.0: PTM enabled, 4ns granularity[    1.064265] igc 0000:04:00.0 (unnamed net_device) (uninitialized): PHC added[    1.087981] igc 0000:04:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)[    1.087985] igc 0000:04:00.0 eth2: MAC: a8:b8:e0:xx:xx:xx[    1.088040] igc 0000:05:00.0: enabling device (0000 -> 0002)[    1.088143] igc 0000:05:00.0: PTM enabled, 4ns granularity[    1.132319] igc 0000:05:00.0 (unnamed net_device) (uninitialized): PHC added[    1.156048] igc 0000:05:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)[    1.156053] igc 0000:05:00.0 eth3: MAC: a8:b8:e0:xx:xx:xx[    1.179840] igc 0000:03:00.0 enp3s0: renamed from eth1[    1.291922] igc 0000:05:00.0 enp5s0: renamed from eth3[    1.316057] igc 0000:02:00.0 enp2s0: renamed from eth0[    1.348022] igc 0000:04:00.0 enp4s0: renamed from eth2[    4.775926] igc 0000:02:00.0 enp2s0: entered allmulticast mode[    4.775963] igc 0000:02:00.0 enp2s0: entered promiscuous mode[    4.857740] igc 0000:05:00.0 enp5s0: entered allmulticast mode[    4.857773] igc 0000:05:00.0 enp5s0: entered promiscuous mode[   10.548214] igc 0000:05:00.0 enp5s0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX[   11.404016] igc 0000:02:00.0 enp2s0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX

Statistics: Posted by Steltek — 2024-01-20 23:20 — Replies 13 — Views 1019



Viewing all articles
Browse latest Browse all 3567

Trending Articles