NIC randomly goes down. Requires force shutdown to reenable (GPU passthrough)

kingp0dd

New Member
Mar 28, 2024
5
1
3
This happened twice already in the last 3 days. My onboard NIC (Giga PHY Intel® I219V) Link randomly goes down and it does not go back up. If you could point me to logs where I can debug and find the cause of it.
Only thing I found so far is in syslog:


Mar 28 08:32:06 proxmox kernel: e1000e 0000:00:1f.6 enp0s31f6: NIC Link is Down
Mar 28 08:32:06 proxmox kernel: vmbr0: port 1(enp0s31f6) entered disabled state

The hardware is only a month old. Another thing that makes this a hassle is I'm passing through my GPU to a VM, so I don't have access to the Proxmox terminal physically; I can't re-enable the interface so I have to fore shut down it.

CPU temp is hovering at 30-45C only so I don't think the NIC is shutting down because of overheating. Unless the temp of the mobo and CPU are so far off?

Could this be software or driver or config error?


CPU(s) 8 x 12th Gen Intel(R) Core(TM) i3-12100 (1 Socket)
Kernel Version Linux 6.5.13-1-pve (2024-02-05T13:50Z)


edit:
I remember disabling offloading of this adapter before since it's resetting (not disabling, it reconnects after) randomly before.

cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface enp0s31f6 inet manual
# https://forum.proxmox.com/threads/e1000-driver-hang.58284/page-10
# fix for proxmox kernel: e1000e 0000:00:1f.6 enp0s31f6: Reset adapter unexpectedly
post-up /usr/bin/logger -p debug -t ifup "Disabling segmentation offload for eno1" && /sbin/ethtool -K $IFACE tso off gso off && /usr/bin/logger -p debug -t ifup "Disabled offload for eno1"

auto vmbr0
iface vmbr0 inet static
address 192.168.0.253/24
gateway 192.168.0.1
bridge-ports enp0s31f6
bridge-stp off
bridge-fd 0
# https://forum.proxmox.com/threads/e1000-driver-hang.58284/page-10
# fix for proxmox kernel: e1000e 0000:00:1f.6 enp0s31f6: Reset adapter unexpectedly
post-up /usr/bin/logger -p debug -t ifup "Disabling segmentation offload for eno1" && /sbin/ethtool -K $IFACE tso off gso off && /usr/bin/logger -p debug -t ifup "Disabled offload for eno1"

source /etc/network/interfaces.d/*


I've applied this for a few weeks already and not getting any issues. It was only the other day that the NIC is going to disabled state.
 
Last edited:
  • Like
Reactions: Juris

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!