[realtek] support for "Dynamode 10/100"

Alexis Gallagher alexisgallagher at gmail.com
Sun Feb 6 00:36:48 PST 2005


Hello,

I'm trying to use the rtl8139 module to drive a card labeled as a
"Dynamode 10/100" card. The central advertising on the box and the
chip itself identify it as a RTL8139D. However, I am afraid the
rtl8139 does not support my card's subsystem chips correctly, so I now
believe that this card is not supported.

First, it reports a MAC address which changes across boot-ups,
sometimes all zeroes, sometimes zeroes and a b9 in the second field.
Second, rtl-diag reports the card is not functional even when I am
connected to the internet successfuly. Also, the eeprom output gives
all zeros. (I append the output of rtl-diag below.)

Third, when I tried to insmod the rtl8139 driver, I get the error
"rtl8139.o: init_module: No such device". In my
/usr/src/kernel-source-2.4.18/drivers/net directory, I find the
8139too.c and 8139cp.c, so I suppose that one of these is now driving
the card. But I am assuming (wrongly?) that the insmod command should
force the rtl8139 driver to take over control of the card.

I am running Debian woody (uname -r gives 2.4.18-bf2.4). I am also
appending the results from lspci.

I'd be grateful for any advice or just confirm that this card is or is
not supported.

Much obliged,
Alexis

--- BEGIN QUOTE  of log from "rtl-diag -aaeemm" ---
rtl8139-diag.c:v2.03 5/15/2001 Donald Becker (becker at scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0xb400.
The RealTek chip appears to be active, so some registers will not be read.
To see all register values use the '-f' flag.
RealTek chip registers at 0xb400
 0x000: 00000000 00000000 80000000 00000000 0008a06a 0008a06a 0008a03c 0008a03c
 0x020: 12842000 12842600 12842c00 12843200 12830000 0d0a0000 753c752c 0000c07f
 0x040: 74400680 0000f78e 0013479b 00000000 004d14c6 00000000 0001c100 00100000
 0x060: 1100f00f 01e1782d 000145e1 00000000 00000704 000207c8 60f60c59 7b732660.
  No interrupt sources are pending.
 The chip configuration is 0x14 0x4d, MII full-duplex mode.
EEPROM size test returned 8, 0 / 0.
Parsing the EEPROM of a RealTek chip:
  PCI IDs -- Vendor 0000, Device 0000, Subsystem 0000.
  PCI timer settings -- minimum grant 0, maximum latency 0.
  General purpose pins --  direction 0x00  value 0x00.
  Station Address 00:00:00:00:00:00.
  Configuration register 0/1 -- 0x00 / 0x00.
 EEPROM active region checksum is 0000.
EEPROM contents:
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
 The word-wide EEPROM checksum is 0000.
 The RTL8139 does not use a MII transceiver.
 It does have internal MII-compatible registers:
   Basic mode control register   0x782d.
   Basic mode status register    0x1100.
   Autonegotiation Advertisement 0x01e1.
   Link Partner Ability register 0x45e1.
   Autonegotiation expansion     0x0001.
   Disconnects                   0x0000.
   False carrier sense counter   0x0000.
   NWay test register            0x0704.
   Receive frame error count     0x0000.
 MII PHY #-1 transceiver registers:
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x0000: Auto-negotiation disabled!
   Speed fixed at 10 mbps, half-duplex.
 Basic mode status register 0x0000 ... 0000.
   Link status: not established.
   Capable of <Warning! No media capabilities>.
   Unable to perform Auto-negotiation, negotiation not complete.
 This transceiver has no vendor identification.
 I'm advertising 0000:
   Advertising no additional info pages.
   Using an unknown (non 802.3) encapsulation.
 Link partner capability is 0000:.
   Negotiation did not complete.
--- END QUOTE ---

--- BEGIN QUOTE from lspci ---
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
	Subsystem: Compex: Unknown device 8139
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (8000ns min, 16000ns max)
	Interrupt: pin A routed to IRQ 10
	Region 0: I/O ports at b400 [size=256]
	Region 1: Memory at ea800000 (32-bit, non-prefetchable) [size=256]
	Expansion ROM at <unassigned> [disabled] [size=64K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: ec 10 39 81 07 00 90 02 10 00 00 02 00 20 00 00
10: 01 b4 00 00 00 00 80 ea 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 f6 11 39 81
30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 01 20 40
--- END QUOTE ---


More information about the realtek mailing list