[realtek] Transmit timeout problems

brian@rentec.com brian@rentec.com
Fri Aug 23 15:14:00 2002


Hi all,

I'm having a problem with my realtek 8139C.  I can't get it working under
2.4 series kernels.  It works fine in 2.2.20 with rtl8139.

Any help would be greatly appreciated
Brian

The following is (chopped up) log of what happens

# insmod rtl8139.o debug=31
rtl8139.c:v1.20 6/21/2002 Donald Becker, becker@scyld.com.
 http://www.scyld.com/network/rtl8139.html
eth0: RealTek RTL8139C Fast Ethernet at 0xe400, IRQ 18, 00:30:1b:10:07:32.
# ifconfig eth0 up
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
# dhclient eth0
Internet Software Consortium DHCP Client 2.0pl5 ... CHOP ...
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
No DHCPOFFERS received.
eth0: Transmit timeout, status 0c 0005 media 18.
eth0: RTL8139 Interrupt line blocked, status 5.
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.

# cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:     560       8    0    0    0     0          0         0      560       8    0    0    0     0       0          0
  eth0:       0       0    0    0    0     0          0         0        0       0    0    4    0     0       0          0

# ./rtl8139-diag -aa -f
rtl8139-diag.c:v2.09 8/6/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0xe400.
RealTek chip registers at 0xe400
 0x000: 101b3000 00003207 00000000 00000000 00002000 00002000 00002000 00002000
 0x020: 15ee8010 15ee8610 15ee8c10 15ee9210 15ee0000 0c0a0014 7ffcfff0 0051c07f
 0x040: 74400400 0000940e cd1d4fd3 000003bc 008f1000 00000000 0088e518 00100408
 0x060: 1000000f 01e1782d 00000000 00000000 00000705 000007c0 60f60c5c 7b732660.
Realtek station address 00:30:1b:10:07:32, chip type 'rtl8139C'.
  Receiver configuration: Normal unicast and hashed multicast
     Rx FIFO threshold 256 bytes, maximum burst 256 bytes, 32KB ring
  Transmitter enabled with normal settings, maximum burst 256 bytes.
    Tx entry #0 status 00002000 incomplete, 0 bytes.
    Tx entry #1 status 00002000 incomplete, 0 bytes.
    Tx entry #2 status 00002000 incomplete, 0 bytes.
    Tx entry #3 status 00002000 incomplete, 0 bytes.
  Flow control: Tx disabled  Rx disabled.
  The chip configuration is 0x10 0x8f, MII half-duplex mode.
  Interrupt sources are pending.
   Rx Complete indication.
   Rx Buffer Overflow indication.
   Rx FIFO Overflow indication.