Fixing the Intel e1000e hardware hang on Proxmox
Confirm the hang, turn off offloads persistently, and update the BIOS.
What it’s for
Section titled “What it’s for”A Proxmox host with an onboard Intel e1000e card that drops off the network under VM traffic.
-
Confirm it’s the card, not a crash. Unplug the Ethernet cable for 3 seconds and plug it back in. If the host comes back with its uptime intact, the host didn’t crash.
-
Read the kernel log:
journalctl -k | grep -iE "e1000e|hang|nic0|vmbr0|reset"ethtool -i nic0lspci -nnk | grep -A 3 -i netLook for Detected Hardware Unit Hang.
- Turn off offloads and EEE, and grow the rings, under the physical interface in
/etc/network/interfaces:
iface nic0 inet manual post-up ethtool -K nic0 tso off gso off gro off tx off rx off rxvlan off txvlan off || true post-up ethtool --set-eee nic0 eee off || true post-up ethtool -G nic0 rx 1024 tx 1024 || true- Apply now without a reboot:
ethtool -K nic0 tso off gso off gro off tx off rx off rxvlan off txvlan offethtool --set-eee nic0 eee offethtool -G nic0 rx 1024 tx 1024- Update the BIOS from the vendor’s site. Check the vendor’s checksum before flashing.
Check it worked
Section titled “Check it worked”ethtool -k nic0shows the offloads off.ethtool -g nic0shows 1024.- The settings survive a cold boot.
- No new hang messages under load.
Traps seen
Section titled “Traps seen”- Both the host and its VMs vanish at once, which looks like a crash. The cable test tells them apart.
- Turning off offloads moves work to the CPU. Watch CPU on busy hosts.