Back to Engineering Blog
Infrastructure & Reliability 5 min read

The e1000e NIC Unit Hang: Diagnosing DMA Ring Stalls and TCP Offload Lockups in Proxmox

Under high virtualization throughput, our hypervisor's Intel Gigabit NIC silently locked up, logging thousands of unit hang errors while the kernel stayed alive. Disabling segmentation offloads cured the ring stall.

Jason NevillBy , Houston, TX
#Proxmox#LinuxKernel#Networking#Hardware

Key Architectural Takeaways

  • Intel e1000e NICs can enter transmit unit hang loops under multi-VM virtualization load without crashing the host kernel.
  • The root cause was hardware ring buffer stalls triggered by TCP Segmentation Offload (TSO) and Generic Segmentation Offload (GSO).
  • Disabling offload engines via ethtool (tso off gso off gro off) permanently stabilized the interface with zero packet loss.

The symptom: alive on the console, dead on the wire

On an ordinary Saturday afternoon, our primary hypervisor host dropped off the network. Monitoring immediately flagged the outage: core home automation, container workloads, and the hypervisor web interface were completely unreachable from the entire network.

Connecting a local display revealed an intriguing state: the Linux kernel was completely healthy, memory was normal, and the host responded cleanly to keyboard input. A clean reboot was performed without kernel panics or filesystem corruption.

Inspecting the system journal immediately after recovery uncovered the smoking gun:

kernel: e1000e 0000:00:1f.6 eno1: Detected Hardware Unit Hang:
  TDH <0x42>
  TDT <0x7a>
  next_to_clean <0x40>
  next_to_use <0x7a>
  NIC status <0x00100783>
kernel: e1000e 0000:00:1f.6 eno1: Reset adapter unexpectedly

The driver had logged that exact message every 2 seconds—2,557 times in under 90 minutes—until the host was rebooted. The network adapter was caught in a perpetual hardware unit hang reset loop.

Chronic vs isolated failure

Reviewing archived system logs revealed that this was not a one-off freak glitch:

  • The previous boot logged 1,887 hang events five days earlier.
  • The boot before that logged over 43,000 hang messages per day across a full week, completely saturating system journal rate limits.

Because the interface resets periodically attempted to retransmit packets, some low-bandwidth traffic had managed to slip through between resets, masking the chronic failure as intermittent latency. But under sustained camera streams and virtual disk synchronization, the transmit queue backed up completely and died.

Root cause: the segmentation offload trap

The onboard Intel Gigabit adapter (eno1, driven by e1000e on Debian/Proxmox kernel 6.8) features hardware-level acceleration designed to reduce CPU utilization:

  • TSO (TCP Segmentation Offload): The kernel passes massive 64KB TCP frames directly to the NIC, trusting the hardware to chop them into 1500-byte MTU packets.
  • GSO (Generic Segmentation Offload): Software-assisted offloading for non-TCP protocols.
  • GRO (Generic Receive Offload): Hardware coalescing of incoming packets into larger chunks.

In enterprise server NICs with deep multi-megabyte ring buffers, hardware segmentation works flawlessly. But on onboard client-grade Intel chips handling concurrent virtual bridges, multi-queue traffic from dozen of virtual machines can overflow the silicon transmit descriptor rings (TDT/TDH). When the descriptor ring stalls, the watchdog timer fires, declares a hardware unit hang, and resets the PCIe adapter.

The resolution: trading micro-optimizations for rock-solid stability

The permanent fix is to strip segmentation offloads from the adapter and let the modern multi-core CPU handle packet segmentation directly:

# Live remediation: disable offloads immediately
sudo ethtool -K eno1 tso off gso off gro off

To persist this configuration across reboots in Debian and Proxmox VE, we added a post-up hook directly into /etc/network/interfaces:

iface eno1 inet manual
    post-up /usr/sbin/ethtool -K eno1 tso off gso off gro off

Verification

After applying the configuration and reloading network interfaces:

  1. ethtool -k eno1 confirmed that tcp-segmentation-offload, generic-segmentation-offload, and generic-receive-offload were strictly off.
  2. Heavy stress testing (streaming four concurrent high-bitrate camera feeds while running raw disk transfers) generated zero hardware unit hang messages in dmesg.
  3. CPU utilization increased by less than 0.8% under full gigabit saturation—a completely negligible cost for 100% uptime.

Engineering takeaway

Hardware offloading features are tuned for benchmark throughput on standalone desktop workloads. In virtualized hypervisor environments with bridging and mixed packet sizes, silicon descriptor rings can easily stall. When an enterprise hypervisor suffers mysterious network freezes without kernel panics, always check dmesg for NIC driver watchdog timeouts.

Some of what's described here is a design that hasn't been fully tested yet; those parts say so in the text.

Follow the build on LinkedIn or by RSS.

All Articles

Follow the build

Questions about the build, or spotted something we got wrong? Find us on LinkedIn and GitHub.