Next-in-Thread Next Message

Question eth0: unexpected TX-done interrupt, lasttx=20 

Forum: PCMCIA Multifunction Card Issues
Date: 2000, Jun 21
From: Zsolt Szabo szazs

Hi,

I have ??? laptop (it has a badge on the top: 'PORTOCOM') and
the company from its bottom: Multimedia Network Computer
(Made in Taiwan). That's all I know about it.

I'd like to use its noname multifunction card but I am stucked. In the following I paste the logs and some comments
how I got it.

I am very curious about the solution, if any... thanks in advance.

Zsolt

# distribution
Debian GNU 2.1
# card log from dmesg
Linux PCMCIA Card Services 3.1.16
  kernel build: 2.2.12 #1 Tue Jun 20 23:59:52 CEST 2000
  options: [pci] [cardbus] [apm]
Intel PCIC probe:
  Cirrus PD6729 rev 00 PCI-to-PCMCIA at slot 00:17, port 0x3000
    host opts [0]: [ring] [1/12/3] [1/28/3]
    host opts [1]: [ring] [1/12/3] [1/28/3]
    ISA irqs (default) = 3,4,5,7,9,10,11 polling interval = 1000 ms
cs: IO port probe 0x1000-0x17ff: excluding 0x10b8-0x10bf 0x1170-0x1177 0x11f0-0x
11f7 0x1220-0x122f 0x12f8-0x12ff 0x1370-0x137f 0x1388-0x138f 0x13f0-0x13ff 0x14b
8-0x14bf 0x1530-0x1537 0x1570-0x1577 0x15f0-0x15f7 0x1770-0x1777 0x17f0-0x17f7
cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x378-0x37f 0x388-0x38f 0
x3b0-0x3df 0x408-0x40f 0x480-0x48f 0x4b8-0x4bf 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.

# with original pcmcia/config, inserting the card:
~# tail -5 /var/log/syslog
Jun 21 18:47:09 laptop cardmgr[977]: initializing socket 1
Jun 21 18:47:09 laptop kernel: cs: memory probe 0x0d0000-0x0dffff: clean.
Jun 21 18:47:09 laptop cardmgr[977]: unsupported card in socket 1
Jun 21 18:47:10 laptop cardmgr[977]: product info: "Multifunction Card", "LAN and Modem 336", "Multifunction", "0020e0"
Jun 21 18:47:10 laptop cardmgr[977]: manfid: 0x0175, 0x0000 function: 6 (network)

# thus I add the following lines to /etc/pcmcia/config:
card "LAN and Modem 336"
  version "Multifunction Card", "LAN and Modem 336", "Multifunction", "0020e0"
  bind "pcnet_cs"

# then I restart /etc/init.d/pcmcia and insert the card again:
~# tail -8 /var/log/syslog
Jun 21 18:56:32 laptop cardmgr[1011]: initializing socket 1
Jun 21 18:56:32 laptop cardmgr[1011]: socket 1: LAN and Modem 336
Jun 21 18:56:32 laptop cardmgr[1011]: executing: 'modprobe 8390'
Jun 21 18:56:32 laptop cardmgr[1011]: executing: 'modprobe pcnet_cs mem_speed=10
00'
Jun 21 18:56:33 laptop kernel: eth0: NE2000 Compatible: io 0x300, irq 5, auto xc
vr, hw_addr 00:20:E0:0C:60:73
Jun 21 18:56:33 laptop cardmgr[1011]: executing: './network start eth0'
Jun 21 18:56:34 laptop kernel: Hw. address read/write mismap 1
Jun 21 18:56:34 laptop kernel: Hw. address read/write mismap 5

# Beside the last two lines everything seems to be fine. However:
~#./test_network
PCMCIA network settings are coming from /etc/pcmcia/network.opts.
    /etc/pcmcia/network.opts is not configured??
# i don't understand why it thinks, I've set a fix IP

Checking network interface eth0 (pcnet_cs driver):

  Kernel messages for eth0:
  eth0: mismatched read page pointers 0 vs ff.
  eth0: mismatched read page pointers 0 vs ff.
  eth0: mismatched read page pointers 0 vs ff.
  eth0: mismatched read page pointers 0 vs ff.
  eth0: mismatched read page pointers 0 vs ff.
  eth0: mismatched read page pointers 0 vs ff.
  eth0: unexpected TX-done interrupt, lasttx=0.
  eth0: Too much work at interrupt, status 0xff
  eth0: interrupt from stopped card
  eth0: NE2000 Compatible: io 0x300, irq 5, auto xcvr, hw_addr 00:20:E0:0C:60:73

  Current ifconfig settings:
  eth0 Link encap:Ethernet HWaddr 00:20:E0:0C:60:73
            inet addr:152.66.33.190 Bcast:152.66.33.191 Mask:255.255.255.192
            UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:147
            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
            Collisions:0
            Interrupt:5 Base address:0x300

  The interface is configured and running.
  There hasn't been any traffic on this interface!

  There is a route to a gateway at 152.66.33.129.

  Pinging 152.66.33.129 ... timed out!
  The device interrupt does not seem to be incrementing.

# and screen is fill up with the following messages:
Jun 21 19:02:40 laptop kernel: eth0: Too much work at interrupt, status 0x20
Jun 21 19:02:40 laptop kernel: eth0: unexpected TX-done interrupt, lasttx=20.
Jun 21 19:02:40 laptop last message repeated 10 times

# ... and it doesn't work at all :-(
# I tried other IRQ's, too, but it did not help either...
~# ./dump_pirq
No PCI interrupt routing table was found.

No known PCI interrupt routers were found.

# End of Logs.

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None Maybe this is not the appropriate driver by David Hinds, 2000, Jun 21
(_ Sad smc91c92: unable to find hwaddrs, 3c589: is this a 3com card? by Zsolt Szabo, 2000, Jun 22
(_ None I think you are out of luck by David Hinds, 2000, Jun 22

Add Message to: "eth0: unexpected TX-done interrupt, lasttx=20"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10