Debian 2.0 21040 driver bug

Terrence Brannon brannon@lnc.usc.edu
Thu Aug 27 12:34:12 1998


I installed Redhat 5.1 and tulip.o worked just fine. However, such is
not the case for the Debian 2.0 tulip.o. Here is the relevant parts of
/var/log/syslog

===File /tmp/tail===========================================
Aug 27 01:23:12 seal last message repeated 2 times
Aug 27 01:23:31 seal init: Switching to runlevel: 6
Aug 27 01:23:37 seal kernel: Kernel logging (proc) stopped.
Aug 27 01:23:37 seal kernel: Kernel log daemon terminating.
Aug 27 01:23:37 seal syslogd: exiting on signal 15
Aug 27 01:25:41 seal syslogd 1.3-3#26: restart.
Aug 27 01:25:43 seal kernel: eth0: No 21041 10baseT link beat, Media switched to AUI. 
Aug 27 01:27:04 seal kernel: Appletalk 0.17 for Linux NET3.035 
Aug 27 01:27:11 seal kernel: eth0: 21041 transmit timed out, status ffffffff, CSR12 ffffffff, CSR13 ffffffff, CSR14 ffffffff, resetting... 
Aug 27 01:27:23 seal kernel: eth0: No 21041 10baseT link beat, Media switched to AUI. 
============================================================

I did find the tulip-diag.c file and ran it so here is 
1: cat /proc/pci 
2: the diagnostics tulip-diag


===File /tmp/tulip-diag-out=================================
PCI devices found:
  Bus  0, device  15, function  0:
    Multimedia video controller: Intel SAA7116 (rev 0).
      Medium devsel.  IRQ 10.  Master Capable.  Latency=64.  
      Non-prefetchable 32 bit memory at 0xfebf9000.
  Bus  0, device  13, function  0:
    SCSI storage controller: BusLogic MultiMaster (rev 8).
      Fast devsel.  IRQ 10.  Master Capable.  Latency=64.  Min Gnt=8.Max Lat=8.
      I/O at 0xeff4.
      Non-prefetchable 32 bit memory at 0xfebfb000.
  Bus  0, device  12, function  0:
    Ethernet controller: DEC DC21041 (rev 33).
      Medium devsel.  Fast back-to-back capable.  IRQ 5.  Master Capable.  Latency=64.  
      I/O at 0xec80.
      Non-prefetchable 32 bit memory at 0xfebfaf80.
  Bus  0, device  11, function  0:
    VGA compatible controller: Matrox Millennium II (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master Capable.  Latency=64.  
      Prefetchable 32 bit memory at 0xfc000000.
      Non-prefetchable 32 bit memory at 0xfebfc000.
      Non-prefetchable 32 bit memory at 0xfe000000.
  Bus  0, device   7, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 1).
      Medium devsel.  Fast back-to-back capable.  
  Bus  0, device   7, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  
      I/O at 0xef80.
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  
      I/O at 0xffa0.
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371AB PIIX4 ISA (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
  Bus  0, device   1, function  0:
    PCI bridge: Intel 440LX - 82443LX PAC AGP (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  Min Gnt=3.
  Bus  0, device   0, function  0:
    Host bridge: Intel 440LX - 82443LX PAC Host (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  
      Prefetchable 32 bit memory at 0xe0000000.
tulip-diag.c:v1.04 8/10/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Chip Index #1: Found a DC21041 Tulip card at PCI bus 0, device 12 I/O 0xec80.
Digital DS21041 Tulip chip registers at 0xec80:
  ffe00000 ffffffff ffffffff 00f7f028 00f7f228 fc000000 7ffc0040 fffe0000
  fffe0000 ffff03ff ffffffff fffe0000 000000c4 ffff0000 ffffffff ffff0000
 The Rx process state is 'Stopped'.
 The Tx process state is 'Stopped'.
Transmit stopped, Receive stopped, half-duplex.
 The transmit unit is set to store-and-forward.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
EEPROM contents:
  1186 0100 0000 0000 0000 0000 0000 0000
  00b1 0101 4000 3605 5369 1e00 0000 0800
  0003 0104 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 d0f9
 ID CRC 0xb1 (vs. 0xb1), complete CRC 60f4400d.
EEPROM transceiver/media description for the DC21041 chip.

Leaf node at offset 30, default media type 0800 (Autosense).
 3 transceiver description blocks:
  21041 media index 00 (10baseT).
  21041 media index 04 (10baseT-Full Duplex).
  21041 media index 01 (10base2).
 ***WARNING***: No MII transceivers found!
============================================================

-- 
     Terrence Brannon * brannon@lnc.usc.edu * http://lnc.usc.edu/~brannon
     USC, HNB, 3614 Watt Way, Los Angeles, CA 90089-2520 * (213) 740-3397
                  energy equals milk chocolate square