[realtek] 8139C problems

Andreas Tretow tretow@snafu.de
Wed Sep 18 16:45:01 2002


On Wed, 2002-09-18 at 20:56, joerg.beyer@email.de wrote:
> Andreas Tretow <tretow@snafu.de> schrieb am 18.09.02 19:56:17:
> > Hi there,
> > 
> > I seem to have a problem with the realtek drivers for the 8139C: I used
> > to have kernel 2.4.18 with the aforementioned cards, using 8139too. This
> > gave me sluggish network performance (nearly analog modem speed, around
> > 5KB/s and sometimes up to 16 KB/s) and a high error count on the
> 
> anything in /var/log/messages ?

Weird, 

with 8139too from 2.4.20-pre7:

Sep 18 19:10:40 locutus kernel: 8139too Fast Ethernet driver 0.9.26
Sep 18 19:10:40 locutus kernel: PCI: Found IRQ 9 for device 00:10.0
Sep 18 19:10:40 locutus kernel: PCI: Sharing IRQ 9 with 00:04.3
Sep 18 19:10:40 locutus kernel: PCI: Sharing IRQ 9 with 00:04.2
Sep 18 19:10:40 locutus kernel: eth0: RealTek RTL8139 Fast Ethernet at
0xe19eef00, XX:XX:XX:XX:XX:XX, IRQ 9
Sep 18 19:10:40 locutus kernel: eth0: Setting half-duplex based on
auto-negotiated partner ability 0000.

mii-tool
eth0: 100 Mbit, full duplex, link ok

restarting the network on this machine yields the same output twice,
then suddenly:

Sep 18 22:06:10 locutus network: Bringing up interface lo:  succeeded
Sep 18 22:06:11 locutus kernel: eth0: Setting 100mbps full-duplex based
on auto-negotiated partner ability 45e1.
Sep 18 22:06:13 locutus su(pam_unix)[3649]: session opened for user
bimbo by bimbo(uid=0)
Sep 18 22:06:13 locutus su(pam_unix)[3649]: session closed for user
bimbo
Sep 18 22:06:13 locutus network: Bringing up interface eth0:  succeeded

So, I tried some transfers:

Big file from remote machine (2.4.18-3 with rtl8139) to the host in
question:

ftp> get cd.iso
local: cd.iso remote: cd.iso
227 Entering Passive Mode (192,168,1,200,237,16)
150 Opening BINARY mode data connection for cd.iso (732987392 bytes).
226 Transfer complete.
732987392 bytes received in 167 secs (4.3e+03 Kbytes/sec)

Big file from localhost to remote host (aborted, because it was
painfully slow):

ftp> put CD.iso 
local: CD.iso remote: CD.iso
227 Entering Passive Mode (192,168,1,200,218,230)
150 Opening BINARY mode data connection for CD.iso.
send aborted
waiting for remote to finish abort
226 Transfer complete.
417792 bytes sent in 58 secs (7 Kbytes/sec)

ifconfig only reports receiving errors on the remote machine (running
rtl8139).

Any thoughts on this?

Andreas