Problem w/0.89H [long]
B. James Phillippe
bryan@terran.org
Tue Jun 30 21:29:33 1998
Hello,
I am having a problem getting two of my three of my tulip-based
21143 cards to work under Linux. I have tried 2.0.32 and 2.1.106, each
with their stock drivers and each with the latest driver 0.89H. All three
cards work under Windows. Here is the symptom:
tulip-diag finds all three cards, but only one of the three is recognized
by the tulip driver. The one that is recognized is chip #2, and it works
near-perfectly. It works at 10 and 100Mbit, except the autonegotiation
between the two takes several minutes, whereas it's instaneous under
Windows.
Here is the diagnostic output:
tulip-diag -a -a :
tulip-diag.c:v1.01 4/17/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Chip Index #1: Found a DC21142 Tulip card at 0xf800.
Digital DS21142 Tulip chip registers at 0xf800:
fe000000 ffffffff ffffffff e97fffef feffbbfe f0000000 32000040 f3fe0000
e0000000 ffffcbf8 ffffffff fffe0000 000000c6 ffff0000 ffffffff 8ff8c000
fe000000 ffffffff ffffffff ffcfffbf ff3f677f f0000010 b2420200 f3fe0000
e0000000 ffffcbf8 ffffffff fffe0000 000052ca ffff0001 fffbffff 8ff8c008
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
Transmit stopped, Receive stopped, half-duplex.
The transmit threshold is 72.
Port selection is 10mpbs-serial, half-duplex.
EEPROM transceiver/media description for the DC21142 chip.
Leaf node at offset 30, default media type 0800 (Autosense).
4 transceiver description blocks:
Serial transceiver for 10baseT (media type 0).
Serial transceiver for 10baseT-Full Duplex (media type 4).
SYM transceiver for 100baseTx (media type 3).
SYM transceiver for 100baseTx Full Duplex (media type 5).
Chip Index #2: Found a DC21142 Tulip card at 0xf880.
Digital DS21142 Tulip chip registers at 0xf880:
fe000000 ffffffff ffffffff ffcfffbf ff3f677f f0000010 b2420200 f3fe0000
e0000000 ffffcbf8 ffffffff fffe0000 000052ca ffff0001 fffbffff 8ff8c008
ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
Transmit stopped, Receive stopped, full-duplex.
The transmit threshold is 72.
Port selection is 10mpbs-serial, full-duplex.
EEPROM transceiver/media description for the DC21142 chip.
Leaf node at offset 30, default media type 0800 (Autosense).
4 transceiver description blocks:
Serial transceiver for 10baseT (media type 0).
Serial transceiver for 10baseT-Full Duplex (media type 4).
SYM transceiver for 100baseTx (media type 3).
SYM transceiver for 100baseTx Full Duplex (media type 5).
Chip Index #3: Found a DC21142 Tulip card at 0xfc00.
Digital DS21142 Tulip chip registers at 0xfc00:
fe000000 ffffffff ffffffff 4bbdfbaa dfafee6f f0000000 32000040 f3fe0000
e0000000 ffffcbf8 ffffffff fffe0000 000000c6 ffff0000 ffffffff 8ff8c000
ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffffffff ffffffff 00040000 00000000 00200000 fff9f000 0c800c80 00000000
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
Transmit stopped, Receive stopped, half-duplex.
The transmit threshold is 72.
Port selection is 10mpbs-serial, half-duplex.
EEPROM transceiver/media description for the DC21142 chip.
Leaf node at offset 30, default media type 0800 (Autosense).
4 transceiver description blocks:
Serial transceiver for 10baseT (media type 0).
Serial transceiver for 10baseT-Full Duplex (media type 4).
SYM transceiver for 100baseTx (media type 3).
SYM transceiver for 100baseTx Full Duplex (media type 5).
tulip-diag -e -e :
tulip-diag.c:v1.01 4/17/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Chip Index #1: Found a DC21142 Tulip card at 0xf800.
EEPROM contents:
0000 0000 0000 0000 0000 0000 0000 0000
0000 0104 9000 007f 1f00 1e00 0000 0800
8604 0002 08af 00a5 0286 af04 a508 8800
0304 08af 00a5 8061 0488 af05 a508 6100
0080 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 0ef1
ID CRC 0xe3 (vs. 00), complete CRC 708fd82c.
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).
Chip Index #2: Found a DC21142 Tulip card at 0xf880.
EEPROM contents:
0000 0000 0000 0000 0000 0000 0000 0000
0000 0104 9000 007f 1900 1e00 0000 0800
8604 0002 08af 00a5 0286 af04 a508 8800
0304 08af 00a5 8061 0488 af05 a508 6100
0080 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 99cd
0000 0000 0000 0010 0000 4600 00a0 0000
0000 0000 0000 0000 0000 0000 0000 51b3
ID CRC 0xe3 (vs. 00), complete CRC 327535b1.
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).
Chip Index #3: Found a DC21142 Tulip card at 0xfc00.
EEPROM contents:
0000 0000 0000 0000 0000 0000 0000 0000
0000 0104 9000 007f 1a00 1e00 0000 0800
8604 0002 08af 00a5 0286 af04 a508 8800
0304 08af 00a5 8061 0488 af05 a508 6100
0080 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 99cd
0000 0000 0000 0010 0000 4600 00a0 0000
0000 0000 0000 0000 0000 0000 0000 c7b3
ID CRC 0xe3 (vs. 00), complete CRC 321c01a3.
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).
tulip-diag -m -m :
tulip-diag.c:v1.01 4/17/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Chip Index #1: Found a DC21142 Tulip card at 0xf800.
EEPROM transceiver/media description for the DC21142 chip.
Leaf node at offset 30, default media type 0800 (Autosense).
4 transceiver description blocks:
Serial transceiver for 10baseT (media type 0).
Serial transceiver for 10baseT-Full Duplex (media type 4).
SYM transceiver for 100baseTx (media type 3).
SYM transceiver for 100baseTx Full Duplex (media type 5).
***WARNING***: No MII transceivers found!
Internal autonegotiation state is 'Autonegotiation disabled'.
Chip Index #2: Found a DC21142 Tulip card at 0xf880.
EEPROM transceiver/media description for the DC21142 chip.
Leaf node at offset 30, default media type 0800 (Autosense).
4 transceiver description blocks:
Serial transceiver for 10baseT (media type 0).
Serial transceiver for 10baseT-Full Duplex (media type 4).
SYM transceiver for 100baseTx (media type 3).
SYM transceiver for 100baseTx Full Duplex (media type 5).
MII PHY found at address 0 (ff80).
MII PHY found at address 1 (ff80).
MII PHY found at address 2 (ff80).
MII PHY found at address 3 (ff80).
MII PHY #0 transceiver registers:
0000 ff80 0000 ff80 0000 ff80 0000 ff80
0000 ff80 0000 ff80 0000 ff80 0000 ff80
0000 ff80 0000 ff80 0000 ff80 0000 ff80
0000 ff80 0000 ff80 0000 ff80 0000 ff80.
MII PHY #1 transceiver registers:
0000 ff80 0000 ff80 0000 ff80 0000 ff80
0000 ff80 0000 ff80 0000 ff80 0000 ff80
0000 ff80 0000 ff80 0000 ff80 0000 ff80
0000 ff80 0000 ff80 0000 ff80 0000 ff80.
MII PHY #2 transceiver registers:
0000 ff80 0000 ff80 0000 ff80 0000 ff80
0000 ff80 0000 ff80 0000 ff80 0000 ff80
0000 ff80 0000 ff80 0000 ff80 0000 ff80
0000 ff80 0000 ff80 0000 ff80 0000 ff80.
MII PHY #3 transceiver registers:
0000 ff80 0000 ff80 0000 ff80 0000 ff80
0000 ff80 0000 ff80 0000 ff80 0000 ff80
0000 ff80 0000 ff80 0000 ff80 0000 ff80
0000 ff80 0000 ff80 0000 ff80 0000 ff80.
Internal autonegotiation state is 'Negotiation complete'.
Chip Index #3: Found a DC21142 Tulip card at 0xfc00.
EEPROM transceiver/media description for the DC21142 chip.
Leaf node at offset 30, default media type 0800 (Autosense).
4 transceiver description blocks:
Serial transceiver for 10baseT (media type 0).
Serial transceiver for 10baseT-Full Duplex (media type 4).
SYM transceiver for 100baseTx (media type 3).
SYM transceiver for 100baseTx Full Duplex (media type 5).
MII PHY found at address 0 (e000).
MII PHY found at address 1 (e000).
MII PHY found at address 2 (e000).
MII PHY found at address 3 (e000).
MII PHY #0 transceiver registers:
0000 e000 0000 e000 0000 e000 0000 e000
0000 e000 0000 e000 0000 e000 0000 e000
0000 e000 0000 e000 0000 e000 0000 e000
0000 e000 0000 e000 0000 e000 0000 e000.
MII PHY #1 transceiver registers:
0000 e000 0000 e000 0000 e000 0000 e000
0000 e000 0000 e000 0000 e000 0000 e000
0000 e000 0000 e000 0000 e000 0000 e000
0000 e000 0000 e000 0000 e000 0000 e000.
MII PHY #2 transceiver registers:
0000 e000 0000 e000 0000 e000 0000 e000
0000 e000 0000 e000 0000 e000 0000 e000
0000 e000 0000 e000 0000 e000 0000 e000
0000 e000 0000 e000 0000 e000 0000 e000.
MII PHY #3 transceiver registers:
0000 e000 0000 e000 0000 e000 0000 e000
0000 e000 0000 e000 0000 e000 0000 e000
0000 e000 0000 e000 0000 e000 0000 e000
0000 e000 0000 e000 0000 e000 0000 e000.
Internal autonegotiation state is 'Autonegotiation disabled'.
Output from loading the module :
kernel: tulip.c:v0.89H 5/23/98 becker@cesdis.gsfc.nasa.gov
kernel: eth0: Digital DS21142/3 Tulip at 0xf880, 00 90 7f 00 00 19, IRQ 10.
kernel: eth0: EEPROM default media type Autosense.
kernel: eth0: Index #0 - Media 10baseT (#0) described by a 21142 Serial
PHY (2) block.
kernel: eth0: Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial
PHY (2) block.
kernel: eth0: Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY
(4) block.
kernel: eth0: Index #3 - Media 100baseTx-FD (#5) described by a 21143 SYM
PHY (4) block.
Anyone have any ideas?
thanks,
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan