Menu Home

Linux Problem: Intel NIC “Reset adapter unexpectedly” / “Detected hardware unit hang”

[786674.738193] e1000e 0000:84:00.0 enp132s0f0: Detected Hardware Unit Hang:
                  TDH                  <56>
                  TDT                  <aa>
                  next_to_use          <aa>
                  next_to_clean        <55>
                buffer_info[next_to_clean]:
                  time_stamp           <12edf758f>
                  next_to_watch        <56>
                  jiffies              <12edf9140>
                  next_to_watch.status <0>
                MAC Status             <80387>
                PHY Status             <792d>
                PHY 1000BASE-T Status  <3c00>
                PHY Extended Status    <3000>
                PCI Status             <10>
[786674.929889] e1000e 0000:84:00.0 enp132s0f0: NETDEV WATCHDOG: CPU: 30: transmit queue 0 timed out 7180 ms
[786674.947330] e1000e 0000:84:00.0 enp132s0f0: Reset adapter unexpectedly

Solution

The solution looks to be disabling two features (TSO (TCP Segmentation Offload) or GSO (Generic Segmentation Offload)) using ethtool.

ethtool -K enp132s0f0 tso off gso off

You can add this to your /etc/network/interfaces as a post-up command to maintain this over reboots.

References

Categories: TECHNICAL

shlee

Leave a Reply

Your email address will not be published. Required fields are marked *

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.