[tulip] No MII transceiver found

Jarl Friis jarl@softace.dk
Thu Dec 5 03:10:01 2002


Donald Becker <becker@scyld.com> writes:

> On 3 Dec 2002, Jarl Friis wrote:
> > Hi, just downloaded netdrivers-3.3, system is otherwise SuSE 8.1
> > 
> > I can't get my NetGear FA510 PCMCIA to work, I have tried the tulip dirver
> > with debug=2 and among other things I get 
> > Dec  3 19:26:59 hermes kernel: eth0: ***WARNING***: No MII transceiver found!
> > 
> > Can somwone help? Or can I do something to improve the driver...
> 
> What does
>   tulip-diag -eee -m -a
> report?

FYI: tulip-diag is compiled with libmii and libflash and gcc 3.2 some warnings showed up, are you interested in those?

Here is the output of tulip-diag -eee -m -a:

tulip-diag.c:v2.15 9/23/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0x4000.
Digital DS21143 Tulip chip registers at 0x4000:
 0x00: f8000000 ffffffff ffffffff fffcfcff 9ffbef5f f0000000 b20e0000 f3fe0000
 0x40: e0000000 fffd83ff ffffffff 00000000 000000c6 ffff0000 fff80000 8ff40000
 Port selection is MII, half-duplex.
 Transmit stopped, Receive stopped.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 128.
  The NWay status register is 000000c6.
EEPROM 256 words, 8 address bits.
PCI Subsystem IDs, vendor 1385, device 2100.
CardBus Information Structure at offset 00005002.
Ethernet MAC Station Address 00:10:7A:15:F6:3E.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 13.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
EEPROM contents (256 words):
0x00:  1385 2100 5002 0000 0000 0000 0000 0000  ___!_P__________
0x08:  0057 0104 1000 157a 3ef6 1e00 0000 0800  W_____z__>______
0x10:  8d01 0003 0000 7800 01e0 5000 1800 0000  _______x___P____
0x18:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0x20:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0x28:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0x30:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0x38:  0000 0000 0000 0000 0000 0000 0000 ba10  ________________
0x40:  0313 4943 1553 0531 4e00 5445 4547 5241  __CIS_1__NETGEAR
0x48:  4600 3541 3031 4600 7361 2074 7445 6568  _FA510_Fast Ethe
0x50:  6e72 7465 4320 7261 4264 7375 4320 7261  rnet CardBus Car
0x58:  0064 2e31 3030 ff00 0420 9513 0081 0221  d_1.00__ _____!_
0x60:  0006 0222 0201 0522 8002 9896 2200 0205  __"___"______"__
0x68:  e100 05f5 0222 0103 0607 0031 0080 0000  ____"_____1_____
0x70:  0704 0103 0000 0000 05ff 4105 fb80 ff00  ___________A____
0x78:  00ff 0000 0000 0000 0000 0000 0000 0000  ________________
0x80:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0x88:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0x90:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0x98:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0xa0:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0xa8:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0xb0:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0xb8:  0000 0000 0000 0000 0000 0000 0000 e0a9  ________________
0xc0:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0xc8:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0xd0:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0xd8:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0xe0:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0xe8:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0xf0:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
0xf8:  0000 0000 0000 0000 0000 0000 0000 0000  ________________
 ID block CRC 0x57 (vs. 0x57).
  Full contents CRC 0xba10 (read as 0xba10).
 MII PHY found at address 1, status 0x7849.
  Internal autonegotiation state is 'Autonegotiation disabled'.

> [[ I need to see the reset and transceiver activation sequences.  I'll
> likely use those to add code to tulip-diag that tests the activation. ]]

Thanks.

> 
> What are the PCI IDs (including subsystem) of the card?

I guess the answer is Class 0200: 1011:0019 (rev 41) Subsystem: 1385:2100.
Here is the relevant output of lspci -n -vv

02:00.0 Class 0200: 1011:0019 (rev 41)
	Subsystem: 1385:2100
	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: 64 (5000ns min, 10000ns max)
	Interrupt: pin A routed to IRQ 9
	Region 0: I/O ports at 4000 [size=128]
	Region 1: Memory at 10800000 (32-bit, non-prefetchable) [size=1K]
	Expansion ROM at 10400000 [size=256K]

Here is the relevant output of lspci -vv

02:00.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
	Subsystem: Netgear: Unknown device 2100
	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: 64 (5000ns min, 10000ns max)
	Interrupt: pin A routed to IRQ 9
	Region 0: I/O ports at 4000 [size=128]
	Region 1: Memory at 10800000 (32-bit, non-prefetchable) [size=1K]
	Expansion ROM at 10400000 [size=256K]

> 
> [[ Those will be necessary to conditionalize any fix. ]]

Thanks. Hope it will be possible.

> 
> > Following is the log for the commands insmod ..., ifconfig ... up,
> > ping, ifconfig ... down, rmmod:
> > 
> > Dec  3 19:26:59 hermes kernel: tulip.c:v0.95f 11/17/2002  Written by Donald Becker <becker@scyld.com>
> > Dec  3 19:26:59 hermes kernel:   http://www.scyld.com/network/tulip.html
> > Dec  3 19:26:59 hermes kernel: eth0: Digital DS21143-xD Tulip rev 65 at 0xd49a9000, 00:10:7A:15:F6:3E, IRQ 10.
> 
> A previous problem was the driver assming that a specific ID a 21143,
> when the chip was actually the ADMtek Comet.  The chips are similar, but
> have different EEPROM formats, transceiver selection, Rx filter, and
> transceiver connections.
> 
> The "rev 65" makes me believe that this is really a 211143.

Has this "rev 65" anything to do with the "rev 41" in the lspci?

thanks in advance.

Jarl