[tulip] NetGear card and tulip problems

Vishaal Kapoor vkapoor@sfu.ca
Thu, 2 Aug 2001 23:33:24 -0700 (PDT)


i've just installed the 2.4.5 kernel on my thinkpad i series 1200 laptop
w/ a netgear fa510 card.  i am using pcmcia-cs-3.1.27.

after i attempt a "cardctl insert" i get
cs: cb_alloc(bus 1): vendor 0x1011, device 0x0019
PCI: Failed to allocate resource 0(1000-fff) for 01:00.0
  got res[10800000:108003ff] for resource 1 of PCI device 1011:0019
  got res[10400000:1043ffff] for resource 6 of PCI device 1011:0019
PCI: Enabling device 01:00.0 (000->0003)

I am using tulip-0.9.14 (stable)
insmod tulip.o gives me
Linux Tulip driver version 0.9.14 (February 20, 2001)
tulip: eth0: I/O region (0x0@0x1000) too small, aborting
./tulip.o: init_module: No such device
Hint: insmod errors can be caused by .... (standard err msg)

./tulip-diag returns
Index #1: Found a Digital DS21143 Tulip adapter at 0x1000
 * A recognized chip has been found, but it does not appear to exist in
 * I/O space.  Use the `-f` flag to see the register values anyway
 Use '-a' ...

./tulip-diag -a gives me the following for the chip registers at 0x1000
0x00: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff

./tulip-diag -f gives me too much to type by hand (my apologies for having
to type this, but i have no means of accessing the laptop from this
computer and it isn't online).

tulip-diag.c:v2.06 1/8/2001 Donald Becker (becker@scyld.com)
Index #1 Found a Digital DS21143 Tulip adapter at 0x1000
 Port secection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex
 Transmit started, Receive started, full-duplex.
   The Rx process state is 'Transferring Rx frame into memory'.
   The Tx process state is 'Closing Tx descriptor'.
   PCI bus error!: Unknown 7.
   The transmit unit is set to store-and-forward.
 Interrupt sources are pending! CSR5 is ffffffff.
   Tx done indication.
   Tx complete indication.
   Tx out of buffers indication.
   Transmit Jabber indication.
   Link passed indication.
   Tx FIFO Underflow indication.
   Rx Done indication.
   Receiver out of buffers indication.
   Receiver stopped indication.
   Receiver jabber indication.
   Link changed indication.
   Timer expired indication.
   Link failed indication.
   PCI bus error indication.
   Early Rx indication
  The NWay status register is ffffffff
WARNING: The EEPROM is missing or erased!
  Internal autoonegotiation state is 'Invalid state'

my /proc/pci file states that
Bus 0, device 2, function 0:
  VGA compatible controller: Silicon Motion, SM712 LynxEM+
  IRQ 10.
  Master Capable.  Latency=32.
  Non-prefetchable 32 bit memory at 0x8000000 [0x8fffffff].
Bus 0, device 3, function 0
  Cardbus bridge: O2 Micro OZ6812 Cardbus controller
  IRQ 10.
  Master Capable. Latency=168. Max Lat=5.
  Non-prefetchable 32 bit memory at 0x10000000 [0x10000fff]


Bus 0, device 7, function 2:
USB Controller: Intel Corp. 82440MAX ...
   IRQ 10
   Master Capable. Latency=32
   I/O at 0x8000 [0x801f]


Bus 1, device 0, function 0:
  Ethernet controller: PCI device 1011:0019 (rev 65).
    IRQ 10
    Master Capable.  No bursts.  Min Gnt=20.Max Lat=40.
    I/O at 0x1000 [0xfff].
    Non-prefetchable 32 bit memory at 0x10800000 [0x108003ff]

I managed to get the card working using the 2.2.17 kernel, compiling
tulip.c as tulip_cb.o and using pcmcia_core and ds.o, etc.

I've been trying to get this card working for a very long time on the 2.4
kernel.   Any help would be greatly appreciated.