<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>JustLinux Forums - Networking</title>
		<link>https://forums.justlinux.com/</link>
		<description>DNS, Samba, IP masquerading, etc. related questions.</description>
		<language>en</language>
		<lastBuildDate>Mon, 20 Jul 2026 08:29:08 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>https://forums.justlinux.com/images/misc/rss.png</url>
			<title>JustLinux Forums - Networking</title>
			<link>https://forums.justlinux.com/</link>
		</image>
		<item>
			<title>r8169 NETDEV WATCHDOG Timeout Causing Network Drop</title>
			<link>https://forums.justlinux.com/showthread.php?157460-r8169-NETDEV-WATCHDOG-Timeout-Causing-Network-Drop&amp;goto=newpost</link>
			<pubDate>Tue, 07 Jul 2026 19:56:03 GMT</pubDate>
			<description><![CDATA[Hello, I need suggestion which commands to try in order to find the solution to the network issue: 
 
 
*## Problem Summary* 
Faced  network interface drop with r8169 driver causing "NETDEV WATCHDOG"...]]></description>
			<content:encoded><![CDATA[<div>Hello, I need suggestion which commands to try in order to find the solution to the network issue:<br />
<br />
<br />
<b>## Problem Summary</b><br />
Faced  network interface drop with r8169 driver causing &quot;NETDEV WATCHDOG&quot;  timeout errors, eventually dropping the link (Link is Down/Up cycle), no  LAN or router connectivity.<br />
<br />
<br />
journal displayed:<br />
<br />
<br />
<b>## Log Evidence</b><br />
<br />
<br />
<div style="margin-left:40px">Jul 07 21:07:29  kernel: r8169 0000:03:00.1 eno1: NETDEV WATCHDOG: CPU: 0: transmit queue 0 timed out 5001 ms<br />
<br />
Jul 07 21:07:29  kernel: r8169 0000:03:00.1: can't disable ASPM; OS doesn't have ASPM control<br />
Jul 07 21:07:29  kernel: r8169 0000:03:00.1 eno1: rtl_txcfg_empty_cond == 0 (loop: 42, delay: 100).<br />
Jul 07 21:07:29  kernel: r8169 0000:03:00.1 eno1: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100).<br />
Jul 07 21:07:35  kernel: r8169 0000:03:00.1 eno1: NETDEV WATCHDOG: CPU: 4: transmit queue 0 timed out 5305 ms<br />
Jul 07 21:07:35  kernel: r8169 0000:03:00.1: can't disable ASPM; OS doesn't have ASPM control<br />
Jul 07 21:07:35  kernel: r8169 0000:03:00.1 eno1: rtl_txcfg_empty_cond == 0 (loop: 42, delay: 100).<br />
Jul 07 21:07:35  kernel: r8169 0000:03:00.1 eno1: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100).<br />
Jul 07 21:07:40  kernel: r8169 0000:03:00.1 eno1: NETDEV WATCHDOG: CPU: 4: transmit queue 0 timed out 5568 ms<br />
Jul 07 21:07:40  kernel: r8169 0000:03:00.1: can't disable ASPM; OS doesn't have ASPM control<br />
Jul 07 21:07:40  kernel: r8169 0000:03:00.1 eno1: rtl_txcfg_empty_cond == 0 (loop: 42, delay: 100).<br />
Jul 07 21:07:40  kernel: r8169 0000:03:00.1 eno1: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100).<br />
<br />
$ sudo lspci -vvv -s $(lspci | grep Ethernet | cut -d' ' -f1) | grep -i power<br />
        Capabilities: [40] Power Management version 3<br />
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 26W<br />
                         EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-<br />
<br />
<br />
$ apt list r8168-dkms -a<br />
r8168-dkms/noble-updates 8.052.01-1ubuntu1.1 all<br />
r8168-dkms/noble 8.052.01-1ubuntu1 all</div><br />
Driver Info<br />
<br />
<br />
driver: r8169<br />
version: 6.17.0-35-generic<br />
bus-info: 0000:03:00.1<br />
<br />
<br />
Root Cause Analysis (AI)<br />
<br />
<br />
The  Realtek r8169 driver exhibits known instability when ASPM (Active State  Power Management) cannot be properly controlled by the OS, leading to  transmit queue timeouts and eventual link failure. This affects many  users with compatible NIC hardware.<br />
<br />
<br />
Immediate Workarounds (No Reboot Required)<br />
<br />
<br />
<b>Option 1</b>: Disable Link Power Management via ethtool (Temporary)<br />
<br />
<br />
sudo ethtool -s eno1 wol d<br />
sudo ethtool -K eno1 gso off tso off<br />
<br />
<br />
Effect: Disables Wake-on-LAN power states and large offloads that may trigger timeouts. May reduce performance slightly.<br />
<br />
<br />
<b>Option 2</b>: Reload r8169 Module Live (Risk: Brief Disconnection)<br />
<br />
<br />
sudo modprobe -r r8169 &amp;&amp; sudo modprobe r8169 ASPM=0<br />
<br />
<br />
Effect: Forces module reload with ASPM disabled. Requires root, brief network interruption during reload.<br />
<br />
<br />
<b>Option 3</b>: Monitor and Auto-Recover via Script<br />
<br />
<br />
<div style="margin-left:40px">while true; do<br />
   ping -c1 192.168.1.1 &gt;/dev/null 2&gt;&amp;1 || sudo ip link set eno1  down &amp;&amp; sleep 2 &amp;&amp; sudo ip link set eno1 up;<br />
  sleep 10;<br />
done</div><br />
Effect: Automatic recovery if gateway unreachable. Run in background or systemd service.<br />
<br />
<br />
<b>Permanent Fix</b> (Requires Reboot)<br />
<br />
<br />
Users needing stability should consider:<br />
<br />
<br />
    Add kernel parameter pcie_aspm=off to GRUB<br />
    Blacklist r8169, use r8168-dkms driver instead<br />
    Update BIOS/firmware for improved PCIe power management<br />
<br />
<br />
<b>Verification</b><br />
<br />
<br />
Post-fix check:<br />
<br />
<br />
dmesg | grep -c &quot;NETDEV WATCHDOG&quot;<br />
<br />
<br />
(Should return 0 after fix)<br />
<br />
<br />
<b>Notes</b><br />
<br />
<br />
    r8169 is open-source; some Realtek chipsets work better with proprietary r8168 driver<br />
    Check cable integrity and switch port as secondary troubleshooting<br />
    Report results to help community identify hardware/driver combinations<br />
<br />
<br />
System: KDE Neon (Ubuntu 24.04 LTS), Kernel 6.17, Realtek PCIe GbE Controller (r8169)<br />
<br />
<br />
<b>Mainly which commands are safe to run and look like a possible solution to the above described issue?</b></div>

]]></content:encoded>
			<category domain="https://forums.justlinux.com/forumdisplay.php?27-Networking">Networking</category>
			<dc:creator>postcd</dc:creator>
			<guid isPermaLink="true">https://forums.justlinux.com/showthread.php?157460-r8169-NETDEV-WATCHDOG-Timeout-Causing-Network-Drop</guid>
		</item>
	</channel>
</rss>
