Hetzner - DokuWiki

Hang up with Realtek r8169/r8168 NIC


Hang up with Realtek r8169/r8168 NIC


The system loses the network connection because the network card hangs up. The TCP segmentation offload of the NICs is defective and must be deactivated.


In order to fix the hang up, you can turn off TCP segmentation offloading via the following command:

ethtool -K <interface> tso off

There is currently no fix available / announced that allows offloading TCP segmentation to the NIC without sacrificing performance.

The following error message can be ignored:

Cannot get device udp-fragmentation-offload settings: Operation not supported

Older ethtool versions try to disable a feature not present in newer kernel versions. Nevertheless deactivating the TCP segmentation offloading will still work: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898907

The servers of the SX61 series have the network chip Realtek 8111F on the motherboard, which is wrongly operated by the Debian Stretch Linux kernel with the driver r8169. Instead you should install the package "r8168-dkms".

Example errors from dmesg

NETDEV WATCHDOG: enp3s0 (r8168): transmit queue 0 timed out
enp3s0: BUG! Tx Ring full when queue awake!
r8168: enp3s0: link up


Original forum thread: https://forum.hetzner.com/thread/25106-realtek-r8169-r8168-h%C3%A4nger-gel%C3%B6st/

© 2019. Hetzner Online GmbH. Alle Rechte vorbehalten.