Skip to main content

Detected Hardware Unit Hang

apt install ethtool
nano /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="pcie_aspm=off"

update-grub
ethtool -K eth0 gso off gro off tso off
nano /etc/network/if-up.d/hangfix-ifup && chmod +x /etc/network/if-up.d/hangfix-ifup

#!/bin/sh -e
if [ "$IFACE" = "YOUR-INTERFACE-NAME-HERE" ]; then
/sbin/ethtool -K $IFACE gso off gro off tso off tx off rx off
pcie_aspm=off
fi
exit 0