[tulip] hardware error or config problem?

Torsten Curdt tcurdt@dff.st
Mon May 27 11:56:01 2002


Hi,

hope anyone can help here... I'm struggeling to keep this damn card up running 
now for about 5 hours...

Problem: cannot even get a simple ping or anything.
Setup: two machines on the same network segment (hup)

Here is what I did experienced:

1.) the "link" led on the hup does not change if I connect the tulip card or 
not. I did check with different cables and different ports of the hup.
hup also works fine in other setups.

2.) the tulip driver get's loaded proberly:

Linux Tulip driver version 0.9.15-pre9 (Nov 6, 2001)
tulip0: 21041 Media table, default media 0800 (Autosense).
tulip0:  21041 media #0, 10baseT.
tulip0:  21041 media #1, 10base2.
tulip0:  21041 media #2, AUI.
tulip0:  21041 media #4, 10baseT-FDX.
eth0: Digital DC21041 Tulip rev 17 at 0x6200, 21041 mode, 00:80:18:E8:16:B9, 
IRQ 10.


3.) There should be no IRQ problem:

  Bus  0, device  12, function  0:
    Ethernet controller: Digital Equipment Corporation DECchip 21041 [Tulip 
Pass 3] (rev 17).
      IRQ 10.
      Master Capable.  Latency=32.
      I/O at 0x6200 [0x627f].
      Non-prefetchable 32 bit memory at 0xe4002000 [0xe400207f].
  Bus  0, device  13, function  0:
    Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine 10/100] (rev 
6).
      IRQ 9.
      Master Capable.  Latency=32.  Min Gnt=118.Max Lat=152.
      I/O at 0x6300 [0x637f].
      Non-prefetchable 32 bit memory at 0xe4000000 [0xe400007f].
  Bus  0, device  14, function  0:
    Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine 10/100] (#2) 
(rev 6).
      IRQ 12.
      Master Capable.  Latency=32.  Min Gnt=118.Max Lat=152.
      I/O at 0x6400 [0x647f].
      Non-prefetchable 32 bit memory at 0xe4001000 [0xe400107f].



4.) The card even get the desired interrupts as shown (eth0):

           CPU0
  0:     128758          XT-PIC  timer
  1:        965          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  4:         17          XT-PIC  serial
  8:          3          XT-PIC  rtc
  9:          0          XT-PIC  eth1
 10:         36          XT-PIC  eth0
 12:        374          XT-PIC  eth2
 14:       2933          XT-PIC  ide0
 15:          7          XT-PIC  ide1
NMI:          0
LOC:          0
ERR:          0
MIS:          0


5.) But they are all errors and carriers:

eth0      Link encap:Ethernet  HWaddr 00:80:18:E8:16:B9
          inet addr:62.59.20.129  Bcast:62.59.20.143  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:30 dropped:0 overruns:0 carrier:30
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Base address:0x6200

Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    
packets errs drop fifo colls carrier compressed
    lo:    3024      27    0    0    0     0          0         0     3024      
27    0    0    0     0       0          0
  eth0:       0       0    0    0    0     0          0         0        0       
0   30    0    0     0      30          0
  eth1:       0       0    0    0    0     0          0         0        0       
0    0    0    0     0       0          0
  eth2:   26772     278    0    0    0     0          0         0    28158     
159    0    0    0     0       0          0


6.) I had some strange problems on that machine before. But changing the BIOS 
to "no PnP-OS" and "update ESCD" solved them.


7.) I tried both RG58 and RJ45 (the card is 10MBit and supports both. As well 
as the hub does support 10/100Mbit + 1 RG58). Did not change anything.


8.) I grabbed the tulip-diag program:

tulip-diag.c:v2.10 3/08/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DC21041 Tulip adapter at 0x6200.
Digital DC21041 Tulip chip registers at 0x6200:
 0x00: ffe08000 ffffffff ffffffff 0399a000 0399a200 fc661010 fffe22c2 ffffebef
 0x40: fffe0000 ffff4bf0 ffffffff fffe0000 000050c8 ffffef01 ffffffff ffff0008
 Port selection is full-duplex.
 Transmit started, Receive started, full-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit unit is set to store-and-forward.
  The NWay status register is 000050c8.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 0000, device 0000.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:80:18:E8:16:B9.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 4 transceiver description blocks:
  21041 media index 00 (10baseT).
  21041 media index 01 (10base2).
  21041 media index 02 (AUI).
  21041 media index 04 (10baseT-Full Duplex).
  Internal autonegotiation state is 'Negotiation complete'.

tulip-diag.c:v2.10 3/08/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DC21041 Tulip adapter at 0x6200.
 Port selection is full-duplex.
 Transmit started, Receive started, full-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit unit is set to store-and-forward.
  The NWay status register is 000050c8.
   No MII transceivers found!
  Internal autonegotiation state is 'Negotiation complete'.

But it didn't reveal any problems (to me)

Anyone out there having an idea what could possibly be wrong?
Is the card broken? I have successfully used it with the tulip driver (ages) 
ago.

I ma totally lost :-/

Any hints appreciated...
--
Torsten