[tulip] Interrupt problem (?) with OvisLink Fast Ethernet PCMCIA

Donald Becker becker@scyld.com
Wed, 26 Jul 2000 11:51:31 -0400 (EDT)

On Wed, 26 Jul 2000, Guido Bartsch wrote:

> we have difficulties getting this CardBus card to work with the
> 2.4.0test5-pre3 driver "Linux Tulip driver version 0.9.8 
> (July 13, 2000)" (from tulip_core.c)
> According to /proc/pci, it has a DECchip 21142/43 (rev. 41) on board,
> and a "Abcom Systems Inc: Unknown device ab01" as a subsystem.

You have correctly identified the problem.
The important detail for the subject line is "2.4.0test5-pre3" -- this is a
problem with the new kernel PCMCIA interface, not the driver itself.

You would be better off reporting this to the linux-kernel list.
Linus seems to want all traffic relating to any OS to be sent there :-<.

> tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
> Index #1: Found a Digital DS21143 Tulip adapter at 0x1000.
>  Interrupt sources are pending!  CSR5 is f0678046.
>    Tx complete indication.
>    Tx out of buffers indication.
>    Rx Done indication.

Everything is working fine, except for interrupts.

> After trying a ping (which doesn't work - no response, and ethereal on
> the destination host doesnt show any decodable packets) tulip-diag
> shows:
> tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
>  http://www.scyld.com/diag/index.html
> Index #1: Found a Digital DS21143 Tulip adapter at 0x1000.
>  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'.

This is normal for a card that can't get the system to accept interrupts.

>  13:          1          XT-PIC  fpu, Texas Instruments PCI1225, Texas
> Instruments PCI1225 (#2), eth0
> Perhaps interrupt sharing doesn't work? 

The problem is not interrupt sharing.  The problem is the kernel handling
*any* interrupt.  The TI1225 generates an interrupt for each event
(e.g. insert or eject), and even those are not being reported.

Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Beowulf Clusters / Linux Installations
Annapolis MD 21403