RTL8139 doesn't work with 2.4.0-test1

From: Nils Philippsen (nils@fht-esslingen.de)
Date: Sun Jun 04 2000 - 16:29:46 EST


Hi all,

I have a RTL8139 based 10/100 NIC here which doesn't work with the 8139too
driver of 2.4.0-test1 and -ac7 as well. I'm pretty sure that it isn't a
hardware failure as I booted a 2.2.12 kernel (w/ the old rtl8139 driver) and
it worked flawlessly.

The symptoms are:

- no link indication on the card (the lights went off as soon as the module
  was loaded)
- no ethernet frames or IP packets logged by tcpdump
- nothing else worked over the eth0 interface, despite contacting the own IP

Output of lspci -v:
-- 8< --
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RT8139
        Flags: bus master, medium devsel, latency 64, IRQ 9
        I/O ports at ec00 [size=128]
        Memory at e8002000 (32-bit, non-prefetchable) [size=128]
-- >8 --

Output of rtl8139-diag -mmmaaavvveef:
-- 8< --
rtl8139-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0xec00.
RealTek chip registers at 0xec00
 0x000: 60e80000 00002f91 00000000 00000000 8008a108 8008a0da 8008a108
8008a0f9
 0x020: 06e52000 06e52600 06e52c00 06e53200 06d40000 0d000000 0000fff0
0000807f
 0x040: 60000400 0000f70e 30e62892 00000000 000f10c0 00000000 01000004
00100000
 0x060: 1000f00f 05e17809 00000000 00010001 00000024 000073c0 00000000
00000000. No interrupt sources are pending.
 The chip configuration is 0x10 0x0f, MII half-duplex mode.
EEPROM size test returned 6, 0x204a7 / 0x3ffff.
Parsing the EEPROM of a RealTek chip:
  PCI IDs -- Vendor 0x10ec, Device 0x8139, Subsystem 0x10ec.
  PCI timer settings -- minimum grant 32, maximum latency 64.
  General purpose pins -- direction 0xf3 value 0x10.
  Station Address 00:00:E8:60:91:2F.
  Configuration register 0/1 -- 0x0c / 0x00.
 EEPROM active region checksum is 079d.
EEPROM contents:
  8129 10ec 8139 10ec 8139 4020 f310 0000
  60e8 2f91 0c10 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
 The word-wide EEPROM checksum is 0x750d.
-- >8 --

Cheers, Nils

-- 
 Nils Philippsen / Berliner Straße 39 / D-71229 Leonberg // +49.7152.209647
nils@wombat.dialup.fht-esslingen.de / nils@fht-esslingen.de / nils@redhat.de
   The use of COBOL cripples the mind; its teaching should, therefore, be
   regarded as a criminal offence.                  -- Edsger W. Dijkstra

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:19 EST