Digital DS21143 is killing me!

Zach Copley snatcher@pigdog.org
Tue Feb 9 08:31:52 1999


Hi, I'm desperately trying to get a DEC DS21143 to work with Red
Hat 5.2. Apparently, this card is has all sorts of crazy
interfaces on it, but I just need it to work with thinnet
(10base2).  My latest theory is that somehow the "autosense"
feature is getting snarled up.  The card works flawlessly under
Windows NT--It finds the media type (NT also thinks the card is a
22142).  But with Linux, I can't get packets in or out of the
machine...

So, I tried to force it to select 10base2 with the "options=1"
option in /etc/conf.modules, and I also tried compiling the
module with that option hard-coded.  But it wont take.  It can't
change over to 10base2 for some reason.

I get these messages:

Feb  9 04:46:45 fifi kernel: eth0: 21143 negotiation status 000000c0, 10base2.
Feb  9 04:46:45 fifi kernel: eth0: 21143 negotiation failed, status 000000c0.

Here's a complete list of messages that occur when the card boots up:

Feb  9 04:46:41 fifi kernel: Found Digital DS21143 Tulip at PCI I/O address
0x7400.
Feb  9 04:46:41 fifi kernel: tulip.c:v0.90k 2/1/99 becker@cesdis.gsfc.nasa.gov
Feb  9 04:46:41 fifi kernel: eth0: Digital DS21143 Tulip rev 17 at 0x7400, 00 00
f8 78 54 3a, IRQ 5.
Feb  9 04:46:41 fifi kernel: eth0:  EEPROM default media type Autosense.
Feb  9 04:46:41 fifi kernel: eth0:  Index #0 - Media 10baseT (#0) described by a
21142 Serial PHY (2) block.
Feb  9 04:46:41 fifi kernel: eth0:  Index #1 - Media 10baseT-FD (#4) described
by a 21142 Serial PHY (2) block.
Feb  9 04:46:41 fifi kernel: eth0:  Index #2 - Media 10base2 (#1) described by a
21142 Serial PHY (2) block.
Feb  9 04:46:41 fifi kernel: eth0:  Index #3 - Media AUI (#2) described by a
21142 Serial PHY (2) block.
Feb  9 04:46:41 fifi kernel: eth0:  MII interface PHY 0, setup/reset sequences
2/0 long, capabilities 00 f0.
Feb  9 04:46:41 fifi kernel: eth0:  Index #4 - Media MII (#11) described by a
21142 MII PHY (3) block.
Feb  9 04:46:41 fifi kernel: eth0:  MII transceiver #5 config 3100 status 7849
advertising 01e1.
Feb  9 04:46:41 fifi kernel: eth0: Using user-specified media 10base2.
Feb  9 04:46:45 fifi kernel: eth0: 21143 negotiation status 000000c0, 10base2.
Feb  9 04:46:45 fifi kernel: eth0: 21143 negotiation failed, status 000000c0.
Feb  9 04:46:45 fifi kernel: eth0: Testing new 21143 media 10baseT.

Then, I also get these messages, over and over again:

Feb  9 04:50:45 fifi kernel: eth0: 21143 100baseTx link beat good.
Feb  9 04:51:26 fifi kernel: end_request: I/O error, dev 02:00, sector 0
Feb  9 04:51:45 fifi kernel: eth0: 21143 negotiation status 000020c6, 100baseTx.
Feb  9 04:51:45 fifi kernel: eth0: The transmitter stopped!  CSR5 is f8008102,
CSR6 bfc20200.
Feb  9 04:51:45 fifi kernel: eth0: 21143 link change, CSR5 = f8008102.
Feb  9 04:51:45 fifi kernel: eth0: 21143 link status interrupt 000000c4, CSR5
f8670004, ffffffff.
Feb  9 04:51:45 fifi kernel: eth0: saved state 0, current port 3.
Feb  9 04:51:45 fifi kernel: eth0: 21143 100baseTx link beat good.

It's driving me crazy!!

How can 100baseTx link beat be good?  All I have connected is a big fat
10base2 coaxial cable to the BNC connector.

I've looked through all of the mailing list archives, but I can't find any
more information on how I should go about fixing this problem--assuming
that it can be fixed.  Does anyone have any helpful suggestions?  Does
anyone know what I can do?  I really don't want to have to buy a whole
new ethernet card.

Thanks in advance for your help!

Zach

PS:  Here's some nice diagnostic information that might be useful in figuring
out what the problem is...

---------------------- begin tulip-diag output ------------------------
tulip-diag.c:v1.06 9/18/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at 0x7400.
Digital DS21143 Tulip Tulip chip registers at 0x7400:
  ff808000 ffffffff ffffffff 00f9f028 00f9f228 f8660000 bf862002 fbfffbff
  00000000 fffd83ff ffffffff fffe0000 000020c6 ffff0001 ffffffff 8ff10008
 The Rx process state is 'Waiting for packets'.
 The Tx process state is 'Idle'.
Transmit started, Receive started, half-duplex.
 The transmit threshold is 128.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
EEPROM contents:
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0103 0000 78f8 3a54 1e00 0000 0800
  8605 0002 08ff 00f0 0286 ff04 f008 8600
  0102 08ff 00f0 0286 ff02 f008 9100 0003
  ff02 f008 0000 7800 01e0 5000 1800 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 aa58
 ID CRC 0xe3 (vs. 00), complete CRC e5aa4ef3.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.

Leaf node at offset 30, default media type 0800 (Autosense).
 5 transceiver description blocks:
  Media 10baseT,  block type 2.
   Serial transceiver for 10baseT (media type 0).
    GP pin direction 08ff  GP pin data 00f0.
  Media 10baseT-Full Duplex,  block type 2.
   Serial transceiver for 10baseT-Full Duplex (media type 4).
    GP pin direction 08ff  GP pin data 00f0.
  Media 10base2,  block type 2.
   Serial transceiver for 10base2 (media type 1).
    GP pin direction 08ff  GP pin data 00f0.
  Media AUI,  block type 2.
   Serial transceiver for AUI (media type 2).
    GP pin direction 08ff  GP pin data 00f0.
  Media MII,  block type 3.
   MII interface PHY 0 (media type 11).
 MII PHY found at address 5, status 0x7849.
  Internal autonegotiation state is 'Ability detect'.
----------------------- end tulip-diag output -------------------------

----------------------- begin /proc/pci output ------------------------
PCI devices found:
  Bus  0, device  13, function  0:
    Ethernet controller: DEC DC21142 (rev 17).
      Medium devsel.  Fast back-to-back capable.  IRQ 5.  Master Capable.
Latency=168.  Min Gnt=20.Max Lat=40.
      I/O at 0x7400.
      Non-prefetchable 32 bit memory at 0xfebfac00.
  Bus  0, device  12, function  0:
    SCSI storage controller: Adaptec AIC-7880U (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master Capable.
Latency=72.  Min Gnt=8.Max Lat=8.
      I/O at 0x7000.
      Non-prefetchable 32 bit memory at 0xfebfb000.
  Bus  0, device   8, function  0:
    VGA compatible controller: Matrox Millennium II (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 15.  Master Capable.
Latency=64.  
      Prefetchable 32 bit memory at 0xfd000000.
      Non-prefetchable 32 bit memory at 0xfebfc000.
      Non-prefetchable 32 bit memory at 0xfe000000.
  Bus  0, device   7, function  0:
    Non-VGA device: Intel 82375EB (rev 21).
      Medium devsel.  Master Capable.  Latency=248.  
  Bus  0, device   0, function  0:
    Host bridge: Intel 82441FX Natoma (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=32. 
 ----------------------- begin /proc/pci output ------------------------

-- 

                 .^....^.  "I don't like the feel of 
                 ! .\/. !  [the sun] on my skin."
                 (. oo .)            --Christopher Walken
                  `{""}'