89K : 21143 no success report
B. James Phillippe
bryan@terran.org
Mon Aug 10 19:14:37 1998
Greetings,
This is with the same 21143/QS6611 combination NIC's I've been
having such problems with. Synopsis: default media type now via MII, no
link beat ever detected at any signal rate. Worked with 89I and a few
other drivers (de4x5.c and win98). Here is the debugging information:
tulip-diag:
Chip Index #3: Found a DC21142 Tulip card at PCI bus 0, device 13 I/O
0xfc00.
Digital DS21142 Tulip chip registers at 0xfc00:
fe208400 ffffffff ffffffff 00ef4070 00ef40f0 f0000102 b20e0000 f3fe0065
e0000000 fff583ff ffffffff fffe0000 000000c6 ffff0000 fff80000 8ff54008
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
Transmit stopped, Receive stopped, half-duplex.
The transmit threshold is 128.
Port selection is MII, half-duplex.
EEPROM transceiver/media description for the DC21142 chip.
Leaf node at offset 30, default media type 0800 (Autosense).
4 transceiver description blocks:
Media 10baseT, block type 2.
Serial transceiver for 10baseT (media type 0).
GP pin direction 08af GP pin data 00a5.
Media 10baseT-Full Duplex, block type 2.
Serial transceiver for 10baseT-Full Duplex (media type 4).
GP pin direction 08af GP pin data 00a5.
Media 100baseTx, block type 4.
SYM transceiver for 100baseTx (media type 3).
GP pin direction 08af GP pin data 00a5.
No media detection indication (command 80 61).
Media 100baseTx Full Duplex, block type 4.
SYM transceiver for 100baseTx Full Duplex (media type 5).
GP pin direction 08af GP pin data 00a5.
No media detection indication (command 80 61).
MII PHY found at address 0, status 0x8000.
MII PHY found at address 1, status 0x8000.
MII PHY found at address 2, status 0x8000.
MII PHY found at address 3, status 0x8000.
MII PHY #0 transceiver registers:
0000 8000 0000 8000 0000 8000 0000 8000
0000 8000 0000 8000 0000 8000 0000 8000
0000 8000 0000 8000 0000 8000 0000 8000
0000 8000 0000 8000 0000 8000 0000 8000.
MII PHY #1 transceiver registers:
0000 8000 0000 8000 0000 8000 0000 8000
0000 8000 0000 8000 0000 8000 0000 8000
0000 8000 0000 8000 0000 8000 0000 8000
0000 8000 0000 8000 0000 8000 0000 8000.
MII PHY #2 transceiver registers:
0000 8000 0000 8000 0000 8000 0000 8000
0000 8000 0000 8000 0000 8000 0000 8000
0000 8000 0000 8000 0000 8000 0000 8000
0000 8000 0000 8000 0000 8000 0000 8000.
MII PHY #3 transceiver registers:
0000 8000 0000 8000 0000 8000 0000 8000
0000 8000 0000 8000 0000 8000 0000 8000
0000 8000 0000 8000 0000 8000 0000 8000
0000 8000 0000 8000 0000 8000 0000 8000.
Internal autonegotiation state is 'Autonegotiation disabled'.
mii_look (and mii-diag; same info):
mii_look.c:v0.01 9/6/97 Donald Becker (becker@cesdis.gsfc.nasa.gov)
MII PHY in use is 0.
0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000
0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000
Some driver debug output:
16:00:59 eth2: Digital DS21143 Tulip at 0xf800, 00 c0 8b 00 46 73, IRQ 11.
16:00:59 eth2: EEPROM default media type Autosense.
16:00:59 eth2: Index #0 - Media 10baseT (#0) described by a 21142 Serial
PHY (2) block.
16:00:59 eth2: Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial
PHY (2) block.
16:00:59 eth2: Index #2 - Media 100baseTx (#3) described by a 21143 SYM
PHY (4) block.
16:00:59 eth2: Index #3 - Media 100baseTx-FD (#5) described by a 21143 SYM
PHY (4) block.
16:00:59 eth2: Checking for MII transceivers...
16:00:59 eth2: MII transceiver found at MDIO address 0, config 0000 status
8000.
16:00:59 eth2: Advertising 0201 on PHY 0, previously advertising 0000.
16:00:59 eth2: MII transceiver found at MDIO address 2, config 0000 status
8000.
16:00:59 eth2: Advertising 0201 on PHY 2, previously advertising 0000.
16:00:59 eth2: MII transceiver found at MDIO address 3, config 0000 status
8000.
16:00:59 eth2: Advertising 0201 on PHY 3, previously advertising 0000.
16:00:59 eth2: MII transceiver found at MDIO address 4, config 0000 status
8000.
16:00:59 eth2: Advertising 0201 on PHY 4, previously advertising 0000.
16:03:31 eth2: Using MII transceiver 0, status 0000.
16:03:36 eth2: 21143 negotiation status 000000c6, MII.
16:03:36 eth2: MII status 8000, Link partner report 8000, CSR6 f20e2002.
16:03:36 eth2: No link beat on the MII interface, status then 8000 now 8000.
16:04:36 eth2: 21143 negotiation status 000000c6, MII.
16:04:36 eth2: MII status 8000, Link partner report 8000, CSR6 f20e2002.
16:04:36 eth2: No link beat on the MII interface, status then 8000 now 8000.
16:05:36 eth2: 21143 negotiation status 000000c6, MII.
16:05:36 eth2: MII status 8000, Link partner report 8000, CSR6 f20e2002.
16:05:36 eth2: No link beat on the MII interface, status then 8000 now 8000.
16:06:36 eth2: 21143 negotiation status 000000c6, MII.
16:06:36 eth2: MII status 0000, Link partner report 8000, CSR6 f20e2002.
16:06:36 eth2: No link beat on the MII interface, status then 0000 now 8000.
16:07:36 eth2: 21143 negotiation status 000000c6, MII.
16:07:36 eth2: MII status 0000, Link partner report 8000, CSR6 f20e2002.
16:07:36 eth2: No link beat on the MII interface, status then 0000 now 8000.
This was with both 10base and 100base connections. The latter two "then
0000"'s were 100base.
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan