Bug 10180
Summary: | Realtek RTL8169 reports TOO MUCH dropped packets | ||
---|---|---|---|
Product: | Drivers | Reporter: | Hermann Gausterer (kernel-bug-tracker) |
Component: | Network | Assignee: | Francois Romieu (romieu) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.25-rc4, 2.6.24-rc5 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
lspci -vvx
dmesg multicast register update for the 8168 Experimental 8168 update dmesg of patch 1 dmesg of patch 2 r8169: the RxMissed register exists in the 8169 only r8169: the RxMissed register exists in the 8169 only r8169: the RxMissed register exists in the 8169 only |
Description
Hermann Gausterer
2008-03-06 05:39:47 UTC
Can you send a complete dmesg and lspci -vvx please ? -- Ueimor Created attachment 15165 [details]
lspci -vvx
Created attachment 15166 [details]
dmesg
this is the output of dmesg right after boot;
but it looks truncated; /var/log/syslog looks the same
Created attachment 15169 [details]
multicast register update for the 8168
Can you give the patch above a try ?
Please increase your kernel log buffer (CONFIG_LOG_BUF_SHIFT).
--
Ueimor
Created attachment 15170 [details]
Experimental 8168 update
If the previous patch makes no difference, you can try
this one. Be warned that it is still very experimental.
--
Ueimor
I've tried both patches, the are not working with the second one, the counter is even incrementing with unbelievable speed! (again with 1 second interval) RX packets:0 errors:0 dropped:227633266635 overruns:0 frame:0 RX packets:0 errors:0 dropped:231928233930 overruns:0 frame:0 RX packets:0 errors:0 dropped:236223201225 overruns:0 frame:0 RX packets:0 errors:0 dropped:240518168520 overruns:0 frame:0 RX packets:0 errors:0 dropped:244813135815 overruns:0 frame:0 RX packets:0 errors:0 dropped:249108103110 overruns:0 frame:0 RX packets:0 errors:0 dropped:253403070405 overruns:0 frame:0 RX packets:0 errors:0 dropped:257698037700 overruns:0 frame:0 RX packets:0 errors:0 dropped:261993004995 overruns:0 frame:0 RX packets:0 errors:0 dropped:266287972290 overruns:0 frame:0 RX packets:0 errors:0 dropped:270582939585 overruns:0 frame:0 and there are NETDEV WATCHDOG errors dmesg of both patches attached Created attachment 15174 [details]
dmesg of patch 1
Created attachment 15175 [details]
dmesg of patch 2
NETDEV WATCHDOG errors
i tested now the new 2.6.26-rc1-00050-gf74d505 kernel. the network is not working anymore: # ifconfig eth0 | grep dropped RX packets:0 errors:0 dropped:270582939585 overruns:0 frame:0 TX packets:0 errors:0 dropped:2346 overruns:0 carrier:0 after this, i switched back to 2.6.25-03410-g8075014, which shows the original buggy behavior: # ifconfig eth0 | grep dropped RX packets:146938 errors:0 dropped:15864611687 overruns:0 frame:0 TX packets:121581 errors:0 dropped:0 overruns:0 carrier:0 Created attachment 17345 [details]
r8169: the RxMissed register exists in the 8169 only
Hermann, can you try the attached patch against 2.6.27-rc ?
Thanks in advance.
--
Ueimor
> Hermann, can you try the attached patch against 2.6.27-rc ?
yes, will try it in the next days and report the result :-)
hi tried the patch with latest git kernel (83097aca8567a0bd593534853b71fe0fa9a75d69) and could not apply the patch: patch --dry-run -p 1 < patch-r8169.patch patching file drivers/net/r8169.c Hunk #1 succeeded at 186 (offset -9 lines). Hunk #2 FAILED at 209. Hunk #3 succeeded at 2143 (offset -143 lines). Hunk #4 FAILED at 2267. Hunk #5 succeeded at 2918 (offset -269 lines). Hunk #6 succeeded at 2941 (offset -269 lines). Hunk #7 succeeded at 3063 (offset -269 lines). Hunk #8 succeeded at 3088 (offset -269 lines). 2 out of 8 hunks FAILED -- saving rejects to file drivers/net/r8169.c.rej with the versions below, it is the same: v2.6.27-rc4 v2.6.27-rc3 v2.6.27-rc2 v2.6.27-rc1 v2.6.26 Created attachment 17466 [details]
r8169: the RxMissed register exists in the 8169 only
Created attachment 17604 [details]
r8169: the RxMissed register exists in the 8169 only
(In reply to comment #14) > Created an attachment (id=17604) [details] > r8169: the RxMissed register exists in the 8169 only this third patch works great! :-) the nic works after a coldboot and there are no dropped packets anymore. i hope this goes upstream before 2.6.27 ;-) thank you Hermann, one final question please: which kernel did you test the patch against ? I'll try to push the patch for 2.6.27 but I can not warrant that it will be labeled critical enough. -- Ueimor git revision 7686ad5606f08d9dfb33a2087a36c8366366015b uname: 2.6.27-rc5-00319-g7686ad5-dirty |