Red Hat Bugzilla – Bug 292161
Stalled Samba transfers on RealTek RTL8111/8168B gigabit NIC
Last modified: 2007-11-30 17:12:15 EST
Running F7 on an Asus A2N-VM motherboard with a built-in RealTek RTL8111/8168B
When streaming files using Samba to a networked media player the transfer oftens
hangs. The client only reads data at a relatively low rate, and that might be
part of the reason why the bug is triggered. When transferring data to a laptop
computer I get 9.5 MB/s sustained on a 100 Mbit connection, so I don't think
there are any problems with the network hardware.
The problem occurs with the realtek 8169 driver in the 220.127.116.11-76.fc7 kernel,
samba 3.0.26a-0. Same kernel version but another NIC does not show the same
To reproduce it I just need to start playing a song, causing the media player
to read a .FLAC file from the samba share. After a while the media player will
start dropping out and complaining that the transfer is stopped. netstat -t then
shows a large Send-Q for the samba connection.
So far only Samba is affected, and doing something else that exercises the
network interface (like running wireshark to dump the traffic) makes the problem
Apparently the exact same problem is described in several other places:
Looking further at this, I haven't been able to reproduce the slowdowns with
other services than Samba.
Oh, and it's Asus M2A, not A2N. Not that it matters a lot :-)
Fixed by Francois Romieu?
The link to a kernel bugzilla bug in the original bug here should probably be
as this one is still open.
Replacing the 2.6.22.x r8169.ko module with one built from the 2.6.23-rc8 source
makes the problem disappear, and so far I have experienced no bad side effects.
18.104.22.168 kernel with the two patches is in koji:
In 22.214.171.124-91, in updates-testing soon.
I have just tested, and 126.96.36.199-91 fixes the problem - many thanks.