Tulip based card locking after a strobe.

Bradley Marshall bmarshal@plugged.net.au
Tue Oct 26 19:30:33 1999


Hi all,

I've got a tulip based 10/100M ethernet card - made by a
company called LinkPro.  The card gets detected fine on boot
with the 0.91g drivers from the website, but not with the
version distributed with 2.2 kernel source.

The problem appears when I strobe the machine - after the
first strobe, the network on the machine just hangs.
I can see the link lights flashing with received packets,
but it appears to go no further than that.  If I remove the
modules and reinsert them, the problem appears to go away
until the machine gets strobed again.

The output from tulip-diag seems to indicate that there is no
Rx buffers left, which would presumeably be why I can't see
the network from this machine.

Any ideas on what could cause this?

Attached below is the full output from tulip-diag while in
the crashed state, /proc/pci and the kernel bootup messages.

-- Begin tulip-diag -f -e -e -a -m -m --
tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at 0x1080.
Digital DS21143 Tulip chip registers at 0x1080:
  f8a08000 ffffffff ffffffff 0049f810 0049fa10 f06988c7 b20e2202 f3fe6b2a
  e000000b fffd83ff ffffffff 00000000 000000c6 ffff0000 fff80000 8ff00000
 Port selection is MII, full-duplex.
 Transmit started, Receive started, full-duplex.
  The Rx process state is 'Suspended -- no Rx buffers'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
 Interrupt sources are pending!  CSR5 is f06988c7.
   Tx done indication.
   Tx complete indication.
   Tx out of buffers indication.
   Rx Done indication.
   Receiver out of buffers indication.
   Timer expired indication.
  The NWay status register is 000000c6.
EEPROM size is 6.
PCI Subsystem IDs, vendor 0000, device 0000.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:40:33:AB:1E:83.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 13.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
EEPROM contents:
  0000 0000 0000 0000 0000 0000 0000 0000
  00e1 0104 4000 ab33 831e 1e00 0000 0800
  8d01 0003 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 8d4a
  0000 0000 0000 4000 ab33 831e 0001 0000
  0000 0000 0000 0000 0000 0000 0000 00e8
 ID block CRC 0xe1 (vs. 0xe1).
  Full contents CRC 0x7076 (read as 0x00e8).
 MII PHY found at address 8, status 0x782d.
 MII PHY #8 transceiver registers:
   3100 782d 0181 b802 01e1 45e1 0001 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0640 f088 6800 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x3100: Auto-negotiation enabled.
 Basic mode status register 0x782d ... 782d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 00:60:6e:--:--:--, model 0 rev. 2.
   Vendor/Part: Davicom (unknown type).
 I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD
 10baseT.
   Negotiation  completed.
  Internal autonegotiation state is 'Autonegotiation disabled'.
-- end tulip-diag --

-- begin kernel messages --
tulip.c:v0.91g 7/16/99 becker@cesdis.gsfc.nasa.gov
eth0: Digital DS21143 Tulip rev 65 at 0x1080, 00:40:33:AB:1E:83, IRQ 10.
eth0:  EEPROM default media type Autosense.
eth0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
eth0:  MII transceiver #8 config 3100 status 7829 advertising 05e1.
eth0:  Advertising 01e1 on PHY 8, previously advertising 05e1.
eth0:  Advertising 01e1 (to advertise is 01e1).
eth0: Setting full-duplex based on MII#8 link partner capability of 45e1.
-- end kernel messages --

-- being /proc/pci --
  Bus  0, device  17, function  0:
    Ethernet controller: DEC DC21142 (rev 65).
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master Capable.  Latency=165.  Min Gnt=20.Max Lat=40.
      I/O at 0x1080 [0x1081].
      Non-prefetchable 32 bit memory at 0xf4000000 [0xf4000000].
-- end /proc/pci --

Thanks,
Brad
-- 
Bradley Marshall
Sysadmin
Plugged In Software