#100 Tx slow with RTL8139C

8139too (65)

8139too.c version 0.9.26
Kernel 2.4.20
Debian unstable

I have two machines connected by 100MB ethernet. Both are running the same kernel and dirver versions. Machine B has a RTL8139B and machine C has a RTL8139C. Machine C is SMP, machine B is not.
Copying files from B to C is fast. Copying files from C to B is one tenth the speed.
I presume the problem lies with the C card. I tried the 8139cp driver but it said the card is not a C+.

This is the DEBUG output from syslog:

8139too Fast Ethernet driver 0.9.26
rtl8139_init_board: PIO region size == 0x100
rtl8139_init_board: MMIO region size == 0x100
rtl8139_init_board: chipset id (116) == index 5, 'RTL-8139C'
rtl8139_init_board: PCI PM wakeup
rtl8139_init_one: about to register device named eth%%d (df9b1400)...
eth0: RealTek RTL8139 Fast Ethernet at 0xe2cb6000, 00:c0:df:10:3b:bf, IRQ 17
eth0: Identified 8139 chip type 'RTL-8139C'
/etc/hotplug/net.agent: invoke ifup eth0
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
rtl8139_hw_start: init buffer addresses
__set_rx_mode: eth0: rtl8139_set_rx_mode(1002) done -- Rx config 0000f78a.
rtl8139_open: eth0: rtl8139_open() ioaddr 0xf400a000 IRQ 17 GP Pins 00 full-duplex.
__set_rx_mode: eth0: rtl8139_set_rx_mode(1003) done -- Rx config 0000f78a.
__set_rx_mode: eth0: rtl8139_set_rx_mode(1003) done -- Rx config 0000f78a.
__set_rx_mode: eth0: rtl8139_set_rx_mode(1003) done -- Rx config 0000f78e.
last message repeated 2 times
rtl8139_thread_iter: eth0: Media selection tick, Link partner 45e1.
rtl8139_thread_iter: eth0: Other registers are IntMask c07f IntStatus 0000
rtl8139_thread_iter: eth0: Chip config 10 8d.


  • Martin Collins

    Martin Collins - 2003-02-28

    Diag and lspci logs.

  • Jeff Garzik

    Jeff Garzik - 2003-07-05
    • assigned_to: nobody --> jgarzik
  • Jeff Garzik

    Jeff Garzik - 2004-08-17

    Logged In: YES

    Linux kernel bugs should now be reported to bugme.osdl.org.

  • Jeff Garzik

    Jeff Garzik - 2004-08-17
    • status: open --> closed-invalid

Log in to post a comment.