v0.91 driver released for testing
David Godfrey
dave@delta.demon.co.uk
Sat Apr 17 14:30:20 1999
* Donald Becker (becker@cesdis1.gsfc.nasa.gov) [990417 15:34]:
> > Apr 17 11:35:00 wang linux: eth0: Index #1 - Media MII 100baseT4 (#15) described by a 21142 Serial PHY (2) block.
>
> Is this correct? Is the card T4-capable? That doesn't seem very likely.
No. I don't believe it is. None of the other cards have this value.
> This is almost certainly an error is the EEPROM media table.
>
I am sure you are correct. Looking back through my logs, the first
time I booted up with this card (driver 0.89H) the entry was:
Dec 3 12:58:55 delta.local-net linux: eth1: Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY (2) block.
On subsequent boots, the entry had changed to it's current value.
> > Apr 17 11:35:12 wang linux: eth0: 21140 transmit timed out, status f0260000, SIA 41e1d2ce ffff0001 fffbffff 8ff0c008, resetting...
> > Apr 17 11:35:12 wang linux: eth0: transmit timed out, switching to MII 100baseT4 media.
>
> Load the module with "debug=3" to see the gory details of the media
> selection. The 21143 section has *lots* of messages (too many! it's big)
> specifically to help track down problems.
>
This machine doesn't use modules. I've enclosed below the debug
messages for another machine tah does.
> I believe that this problem wouldn't occur if the MII transceiver wasn't
> listed in the media table. Since the driver cannot read the management
> registers (it likely doesn't exist!), it must assume that the transceiver
> has link beat.
>
> > tulip-diag.c:v1.10 4/12/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
> > Index #1: Found a Digital DS21143 Tulip adapter at 0x9300.
> > Ethernet MAC Station Address 00:E0:FD:00:07:9D.
> > EEPROM transceiver/media description for the Digital DS21143 Tulip chip.
> > Leaf node at offset 30, default media type 0800 (Autosense).
> > 4 transceiver description blocks:
> > Media 10baseT, block type 2, length 6.
> > Serial transceiver for 10baseT (media type 0).
> > GP pin direction 08af GP pin data 00a5.
> > Media MII 100baseT4, block type 2, length 6.
> > Serial transceiver for MII 100baseT4 (media type 255).
> > CSR13 08ff CSR14 00a5 CSR15 0488.
>
> It appears that one word the EEPROM has been erased!
> (Note: 0xffff, 255 255, is erased, not 0000.)
>
> Do all of the cards show this problem?
>
Not the identical symptoms. Another card is not put into a usable
state by 0.91. Indeed, it is left in an unusable state and
will not work with 0.90p afer rebooting/resetting.
This card is in a dual-boot W95 machine - booting up W95 gets
the card working again.
Here is the debug=3 klog and tulip-diagnostics for this
card:
Found Digital DS21143 Tulip at PCI I/O address 0x8100.
tulip.c:v0.91 4/14/99 becker@cesdis.gsfc.nasa.gov
eth0: Digital DS21143 Tulip rev 48 at 0x8100, 00:E0:FD:00:07:B3, IRQ 15.
eth0: EEPROM default media type Autosense.
eth0: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
eth0: Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY (2) block.
eth0: Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
eth0: Index #3 - Media 100baseTx-FD (#5) described by a 21143 SYM PHY (4) block.
eth0: tulip_open() irq 15.
eth0: Restarting 21143 autonegotiation, 0003ffff.
eth0: Done tulip_open(), CSR0 ffa08000, CSR5 f0360000 CSR6 b2422202.
hdb: DMA disabled
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
SB 4.16 detected OK (240)
<Sound Blaster 16 (4.16)> at 0x240 irq 10 dma 3,7
<Sound Blaster 16> at 0x300 irq 10 dma 0,0
<SoundBlaster EMU8000 (RAM512k)>
i2c: initialized
Linux video capture interface: v1.00
bttv0: Brooktree Bt848 (rev 17) bus: 0, devfn: 144, irq: 11, memory: 0xe3001000.
bttv: 1 Bt8xx card(s) found.
bttv0: model: BT848(Miro)
eth0: 21143 link status interrupt 41e1d2ce, CSR5 f0668010, fffbffff.
eth0: Switching to 100baseTx-FD based on link partner advertisement 41e1.
eth0: 21143 non-MII 100baseTx-FD transceiver control 08af/00a5.
eth0: Setting CSR15 to 08af0008/00a50008.
eth0: Using media type 100baseTx-FD, CSR12 is ce.
eth0: Restarting Tx and Rx, CSR5 is f0008102.
eth0: 21143 link status interrupt 41e1d2cd, CSR5 f8668000, fffbffff.
eth0: 21143 100baseTx-FD link beat good.
eth0: 21143 link status interrupt 41e192cf, CSR5 f8668000, fffbffff.
eth0: Restarting 21143 autonegotiation, 0003ffff.
eth0: 21143 link status interrupt 41e1d2cf, CSR5 f0008010, fffbffff.
eth0: Switching to 100baseTx-FD based on link partner advertisement 41e1.
eth0: 21143 non-MII 100baseTx-FD transceiver control 08af/00a5.
eth0: Setting CSR15 to 08af0008/00a50008.
eth0: Using media type 100baseTx-FD, CSR12 is cf.
eth0: Restarting Tx and Rx, CSR5 is f0000000.
eth0: 21143 negotiation status 41e192cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 41e192cf.
eth0: Transmit error, Tx status 7fffbc84.
<-----snip many repeats----->
eth0: Transmit error, Tx status 7fffbc84.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: Transmit error, Tx status 7fffbc84.
<-----snip many repeats----->
eth0: Transmit error, Tx status 7fffbc84.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: Transmit error, Tx status 7fffbc84.
eth0: Transmit error, Tx status 7fffbc84.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: Transmit error, Tx status 7fffbc84.
eth0: Transmit error, Tx status 7fffbc84.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: 21143 negotiation status 000022cf, 100baseTx-FD.
eth0: Using NWay-set 100baseTx-FD media, csr12 000022cf.
eth0: Shutting down ethercard, status was f0660000.
tulip-diag.c:v1.10 4/12/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at 0x8100.
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
Transmit stopped, Receive stopped, full-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
Use '-a' to show device registers,
'-e' to show EEPROM contents,
or '-m' to show MII management registers.
tulip-diag.c:v1.10 4/12/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at 0x8100.
Digital DS21143 Tulip chip registers at 0x8100:
ffa08000 ffffffff ffffffff 00096010 00096210 f0000106 b3860200 f3fe0000
e0000000 ffffcbf8 ffffffff fffe0000 000000c4 ffff0000 fffa0000 8ff14008
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
Transmit stopped, Receive stopped, full-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
tulip-diag.c:v1.10 4/12/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at 0x8100.
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
Transmit stopped, Receive stopped, full-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
Ethernet MAC Station Address 00:E0:FD:00:07:B3.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.
Leaf node at offset 30, default media type 0800 (Autosense).
4 transceiver description blocks:
Media 10baseT, block type 2, length 6.
Serial transceiver for 10baseT (media type 0).
GP pin direction 08af GP pin data 8800.
Media 10baseT-Full Duplex, block type 2, length 6.
Serial transceiver for 10baseT-Full Duplex (media type 4).
GP pin direction 08af GP pin data 00a5.
Media 100baseTx, block type 4, length 8.
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, length 8.
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.c:v1.10 4/12/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at 0x8100.
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
Transmit stopped, Receive stopped, full-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 128.
No MII transceivers found!
Internal autonegotiation state is 'Autonegotiation disabled'.
Regards
--
Dave Godfrey
dave@delta.demon.co.uk
Fax +44 181 286 1909
PGP key available