Bug In v0.89 tulip.c

Jason Ledbetter jason@colltech.com
Sun Oct 4 17:30:26 1998


I apologize in advance for the length of this message... but I wnated to
include as much information as possible. 

I'm trying to get the integrated ethernet card in my Compaq Presario 5660
working under 2.0.34. As far as I know, it is a 21143 based chipset .. at 
least according to Win98. The proc/pci output below seems to contradict
this. I compiled 2.0.34 with the latest tulip.c and below are the
results.

/proc/pci:

Bus  0, device  4, function 0:
  Ethernet controller: DEC DC21142 (rev 65).
  Medium devsel.  Fast back-to-back capable.  IRQ 5. Master Capable.
Latency=64.  Min Gnt=20.Max Lat=40.
  I/O at 0x2400.
  Non-prefetchable 32 bit memory at 0x41100000.


Below is the output from tulip-diag -f -e -a -m -m immediately after
bringing up the interface.

tulip-diag.c:v1.06 9/18/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at 0x2400.
Digital DS21143 Tulip Tulip chip registers at 0x2400:
  f9a08000 ffffffff ffffffff 00096028 00096228 f0660000 b2422202 fbfffbff
  e0000000 fff483ff ffffffff 00000000 000000c6 ffff0000 fffbffff 8ff4c008
 The Rx process state is 'Waiting for packets'.
 The Tx process state is 'Idle'.
Transmit started, Receive started, full-duplex.
 The transmit threshold is 72.
 Port selection is 10mpbs-serial, full-duplex.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.

Leaf node at offset 30, default media type 0800 (Autosense).
 2 transceiver description blocks:
  Media 10baseT,  block type 2.
   Serial transceiver for 10baseT (media type 0).
    GP pin direction 08e1  GP pin data 0000.
  Media 10baseT-Full Duplex,  block type 2.
   Serial transceiver for 10baseT-Full Duplex (media type 4).
    GP pin direction 08e1  GP pin data 0000.
 ***WARNING***: No MII transceivers found!
  Internal autonegotiation state is 'Autonegotiation disabled'.

... now something interesting.. after 5-10 seconds, if I rerun this again,
I get the following diff'ed output.

>  f9a08000 ffffffff ffffffff 00096028 00096228 f0066000 b3862002 fbfffbff
>  e0000000 fff583ff ffffffff 00000000 000000c6 ffff0000 fffbff7f 8ff4c008

> Transmit started, Receive started, half-duplex.
>  The transmit threshold is 128.
>  Port selection is 100mbps-SYM/PCS 100BaseTx scrambler, half-duplex.

... In addition, below is sent to console...


eth0: The transmitter stopped!  CSR5 is f0678006, CSR6 b3862002.

This stops if I plug a 10bt cable into it...

If I try to ifconfig the interface down, i get this....

Oct  4 17:09:28 forever kernel:   Rx ring 00096028:  80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 8000
0000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000 80000000
Oct  4 17:09:28 forever kernel:   Tx ring 00096228:  7fffffff 7fffffff 7fffffff 7fffffff 7fffffff 7fffffff 7fffffff 7fffffff 7fffffff 7fffffff 7fffffff 00000000 00000000 00000000 00000000 00000000


Any thoughts/etc would be great...

Thanks,

Jason