Driver for DEC 21142/3 linux kernel 2.0.34?

MJ Watson mjwatson@snafu.livenet.net
Thu Apr 15 09:15:17 1999


The driver that came with Debian 2.0 gets 'device or resource busy'
errors when an insmod command is attempted.  From skimming the
archives, apparently the module (sorry, forgot which version...087?)
had a bug, so I've tried compiling newer ones dl'd from the web, but
they all have unresolved references, so won't load (though they will
compile cleanly.

Not being a real C programmer and not having time to learn the code,
can someone tell me which driver is likely to work with this kernel.
Of course, since there's no connectivity, downloading a new kernel
is not an option...unless it will fit on a floppy (haven't found one
as yet that will).

If it makes any difference, the machine is a DEC Celebris GL6200,
and the card works fine under NT, which shows it as a 21142.  I have
compiled and run tulip-diag, the output along with 'cat /proc/pci'
appended.

Any pointers would be appreciated, this system was supposed to be up
and running like yesterday :^)

TULIP-DIAG:
tulip-diag.c:v1.10 4/12/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at 0xec00.
Digital DS21143 Tulip chip registers at 0xec00:
  fe208400 ffffffff ffffffff 00af4070 00af40f0 f0000000 32400000 f3fe0000
  e0000000 fffd83ff ffffffff fffe0000 000000c6 ffff0000 fffbff7f 8ff1c008
 Port selection is 10mpbs-serial, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 72.
Ethernet MAC Station Address 00:00:F8:78:DC:F5.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.
Leaf node at offset 30, default media type 0800 (Autosense).
 5 transceiver description blocks:
  Media 10baseT, block type 2, length 6.
   Serial transceiver for 10baseT (media type 0).
    GP pin direction 08ff  GP pin data 00f0.
  Media 10baseT-Full Duplex, block type 2, length 6.
   Serial transceiver for 10baseT-Full Duplex (media type 4).
    GP pin direction 08ff  GP pin data 00f0.
  Media 10base2, block type 2, length 6.
   Serial transceiver for 10base2 (media type 1).
    GP pin direction 08ff  GP pin data 00f0.
  Media AUI, block type 2, length 6.
   Serial transceiver for AUI (media type 2).
    GP pin direction 08ff  GP pin data 00f0.
  Media MII, block type 3, length 17.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 2 words: 08ff 00f0.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
  21140 Non-MII transceiver with media 0 (10baseT).
   CSR12 control port setting 00, command 00 00.
   Media detection by looking for a 1 on bit 0 of the CSR12 control port.
  21140 Non-MII transceiver with media 0 (10baseT).
   CSR12 control port setting 00, command 00 00.
   Media detection by looking for a 1 on bit 0 of the CSR12 control port.
  21140 Non-MII transceiver with media 0 (10baseT).
   CSR12 control port setting 00, command 00 00.
   Media detection by looking for a 1 on bit 0 of the CSR12 control port.
  21140 Non-MII transceiver with media 0 (10baseT).
   CSR12 control port setting 00, command 00 00.
   Media detection by looking for a 1 on bit 0 of the CSR12 control port.
 MII PHY found at address 5, status 0x786d.
 MII PHY #5 transceiver registers:
   1000 786d 2000 5c01 00a1 0021 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0001 8060
   8020 0c65 0000 3000 a3b9 008c 9b05 001b.
  Internal autonegotiation state is 'Autonegotiation disabled'.

/PROC/PCI:
PCI devices found:
  Bus  0, device   9, function  0:
    VGA compatible controller: Matrox Millennium (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  
      Non-prefetchable 32 bit memory at 0xfdffc000.
      Prefetchable 32 bit memory at 0xfd000000.
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371SB PIIX3 IDE (rev 0).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=32.  
      I/O at 0xecf0.
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371SB PIIX3 ISA (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
  Bus  0, device   3, function  0:
    Ethernet controller: DEC DC21142 (rev 48).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.  Latency=165.  Min Gnt=20.Max Lat=40.
      I/O at 0xec00.
      Non-prefetchable 32 bit memory at 0xfdffbc00.
  Bus  0, device   0, function  0:
    Host bridge: Intel 82441FX Natoma (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=32.  

==

===================================================
Michael Watson           Unix Systems Administrator
U.S. Coast Guard Aircraft Repair and Support Center
CGAS Elizabeth City, NC                252.334.5269
n6wav@yahoo.com                mjwatson@livenet.net
===================================================