V0.90 bug

Karl Vogel kvo@seagha.com
Wed Oct 28 05:47:42 1998


Hi,

I just tried V0.90 of the tulip driver and it still doesn't work out of
the box on my system. The driver that was included in Linux V2.0.32 works
without a problem (I believe this is 0.88), the later drivers all fail to
work.

I've found that the problem is somewhere in the t21142_timer() function.
If I change the tulip_tbl[] entry for "Digital DS21143 Tulip" to use the
tulip_timer() then it works without a problem.

So the problem is either in the t21142_timer() function _OR_ my netcard is
wrongly identified?! (I don't know anything about the tulip chip, so I'm
unable to fix the problem myself).


Here's some information that I've gathered:

-------------- cat /proc/pci
PCI devices found:
  Bus  0, device  13, function  0:
    Ethernet controller: DEC DC21142 (rev 48).
      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 0xfebfec00.

-------------- tulip-diag -a
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:
  ffa04800 ffffffff ffffffff 00f7f820 00f7fa20 f0200100 b2420200 f3fe0000
  e0000000 ffffcbf8 ffffffff fffe0000 000021c6 ffff0001 fffbffff 8ff00008
 The Rx process state is 'Stopped'.
 The Tx process state is 'Waiting for Tx to finish'.
Transmit stopped, Receive stopped, full-duplex.
 The transmit threshold is 72.
 Port selection is 10mpbs-serial, full-duplex.

-------------- tulip-diag -e
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.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.

Leaf node at offset 30, default media type 0800 (Autosense).
 6 transceiver description blocks:
  Media 10baseT,  block type 2.
   Serial transceiver for 10baseT (media type 0).
    GP pin direction 08b0  GP pin data 00b0.
  Media 10base2,  block type 2.
   Serial transceiver for 10base2 (media type 1).
    GP pin direction 08b0  GP pin data 00b0.
  Media AUI,  block type 2.
   Serial transceiver for AUI (media type 2).
    GP pin direction 08b0  GP pin data 00b0.
  Media 10baseT-Full Duplex,  block type 2.
   Serial transceiver for 10baseT-Full Duplex (media type 4).
    GP pin direction 08b0  GP pin data 00b0.
  Media 100baseTx,  block type 4.
   SYM transceiver for 100baseTx (media type 3).
    GP pin direction 08b0  GP pin data 00b0.
    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 08b0  GP pin data 00b0.
    No media detection indication (command 80 61).

-------------- tulip-diag -m
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.
 ***WARNING***: No MII transceivers found!
  Internal autonegotiation state is 'Ability detect'.
--------------

(I'm using the 10Mbps BNC connector on the card)


Karl.

  // Electronic Mail - SMTP: kvo@seagha.com
\X/                  - X400: c=BE; a=RTT; p=SEAGHA; s=VOGEL; g=KARL