Next-in-Thread Next Message

Sad eth0: Tx hung, 11 vs. 0. error with Abocom FE2000 and similar with D-Link DFE-650 cards 

Forum: PCMCIA Network Adapter Issues
Date: 2000, Feb 26
From: Ingo Ciechowski inki

I guess I'm about to get crazy upon this problem. If I only was somewhat deeper in driver development I'd love to figure it out by myself, but I know similar problems have been posted earlier and you sure know how to get it going.

I've got a "Gericom Hydro-Speed" no-name notebook with AMD K6-2 CPU running SuSE Linux 2.2.13 and meanwhile the latest experimental pcmcia package version 3.1.12 (tried with 3.1.10 and 3.1.11 as well).

This system shall work with an Abocom FE2000 10/100 fast ethernet cardbus network card, but it ends finally with " eth0: Tx hung, 11 vs. 0. " messages as described below.
I finally decided to purchase the D-Link DFE-650 16bit fast ethernet card which was in the list of supported devices and ended up with " eth0: Tx timed out, cable problem? TSR=0x42, ISR=0x0, t=902. " messages which look pretty similar for me :-((

BTW: Both cards work well under Windows98 and I also have a 16bit Farallon/3Com 10BaseT card which works under linux.

I'd love to get the FE2000 32bit card to work - and if it only was the D-Link DFE-650 16bit card that'd be great as well.


In /etc/pcmcia/network.opts I inserted some local network information which works fine with the 3Com card:
 ..
    IPADDR="194.162.209.41"
    NETMASK="255.255.255.192"
    NETWORK="194.162.209.0"
    BROADCAST="194.162.209.63"
    # Gateway address for static routing
    GATEWAY="194.162.209.1"
 ..

And since I read that this helped someone else with a similar problem I commented out the line
 exclude irq 3
in /etc/pcmcia/config.opts - also excluded other interrupts as well, but with no success either.


Here's what gets logged in /var/log/messages upon startup with no card inserted:

 Feb 26 16:29:31 training2 kernel: Linux PCMCIA Card Services 3.1.12
 Feb 26 16:29:31 training2 kernel: kernel build: 2.2.13 #3 Sat Feb 26 16:13:07 CET 2000
 Feb 26 16:29:31 training2 kernel: options: [pci] [cardbus] [pnp]
 Feb 26 16:29:31 training2 kernel: PCI routing table version 1.0 at 0xfdf70
 Feb 26 16:29:31 training2 kernel: unknown PCI interrupt router 1106:0686
 Feb 26 16:29:31 training2 kernel: PnP: PNP BIOS installation structure at 0xc00f7580
 Feb 26 16:29:31 training2 kernel: PnP: PNP BIOS version 1.0, entry at f0000:a0e5, dseg at 400
 Feb 26 16:29:31 training2 kernel: Intel PCIC probe:
 Feb 26 16:29:31 training2 kernel: O2Micro OZ6832/OZ6833 PCI-to-CardBus at slot 00:0a, mem 0x68000000
 Feb 26 16:29:31 training2 kernel: host opts [0]: [a 24] [b 21] [c 20] [d 02] [mhpg 18] [fifo 00] [e 2a] [no
 Feb 26 16:29:31 training2 kernel: host opts [1]: [a 24] [b 21] [c 20] [d 02] [mhpg 18] [fifo 00] [e 2a] [no
 Feb 26 16:29:31 training2 kernel: ISA irqs (default) = 3,9,10,11 polling interval = 1000 ms
 Feb 26 16:29:31 training2 kernel: cs: IO port probe 0x0c00-0x0cff: clean.
 Feb 26 16:29:31 training2 kernel: cs: IO port probe 0x0800-0x08ff: clean.
 Feb 26 16:29:31 training2 kernel: cs: IO port probe 0x0100-0x04ff: clean.
 Feb 26 16:29:31 training2 kernel: cs: IO port probe 0x0a00-0x0aff: clean.


The following information was gathered about the Abocom FE2000 card :
                                        
 /var/log/messages:
 Feb 26 16:58:45 training2 kernel: cs: cb_alloc(bus 35): vendor 0x1011, device 0x0019
 Feb 26 16:58:45 training2 cardmgr[467]: initializing socket 1
 Feb 26 16:58:45 training2 cardmgr[467]: socket 1: Linksys EtherFast 10/100
 Feb 26 16:58:45 training2 cardmgr[467]: executing: 'insmod /lib/modules/2.2.13/pcmcia/cb_enabler.o'
 Feb 26 16:58:45 training2 cardmgr[467]: executing: 'insmod /lib/modules/2.2.13/pcmcia/tulip_cb.o'
 Feb 26 16:58:45 training2 kernel: cs: cb_config(bus 35)
 Feb 26 16:58:45 training2 kernel: fn 0 bar 1: io 0x200-0x27f
 Feb 26 16:58:45 training2 kernel: fn 0 bar 2: mem 0xa00c0000-0xa00c03ff
 Feb 26 16:58:45 training2 kernel: fn 0 rom: mem 0xa0080000-0xa00bffff
 Feb 26 16:58:45 training2 kernel: cs: cb_enable(bus 35)
 Feb 26 16:58:45 training2 kernel: bridge io map 0 (flags 0x21): 0x200-0x27f
 Feb 26 16:58:45 training2 kernel: bridge mem map 0 (flags 0x1): 0xa0080000-0xa00c0fff
 Feb 26 16:58:45 training2 kernel: tulip_reap()
 Feb 26 16:58:45 training2 kernel: tulip_attach(bus 35, function 0)
 Feb 26 16:58:45 training2 kernel: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov (modified by danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford)
 Feb 26 16:58:45 training2 kernel: eth0: Digital DS21143 Tulip rev 65 at 0x200, 00:E0:98:7A:6A:40, IRQ 9.
 Feb 26 16:58:45 training2 kernel: eth0: EEPROM default media type Autosense.
 Feb 26 16:58:45 training2 kernel: eth0: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
 Feb 26 16:58:45 training2 kernel: eth0: MII transceiver #0 config 3000 status 7809 advertising 01e1.
 Feb 26 16:58:45 training2 cardmgr[467]: executing: './network start eth0'
 Feb 26 16:58:49 training2 kernel: eth0: Tx hung, 11 vs. 0.
  

 bash-2.03# ifconfig eth0
 eth0 Link encap:Ethernet HWaddr 00:E0:98:7A:6A:40
          inet addr:194.162.209.41 Bcast:194.162.209.63 Mask:255.255.255.192
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:1 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:9 Base address:0x200


 (while trying to ping 194.162.209.1)
 bash-2.03# tcpdump -nlieth0
 User level filter, protocol ALL, datagram packet socket
 tcpdump: listening on eth0
 17:03:47.209806 arp who-has 194.162.209.1 tell 194.162.209.41 (0:e0:98:7a:6a:40)
 17:03:48.201157 arp who-has 194.162.209.1 tell 194.162.209.41 (0:e0:98:7a:6a:40)



 bash-2.03# cardctl config
 Socket 0:
  not configured
 Socket 1:
  Vcc 3.3V Vpp1 3.3V Vpp2 3.3V
  interface type is "cardbus"
  irq 9 [exclusive] [level]
  function 0:
    io 0x0200-0x027f [32bit]

 bash-2.03# tulip-diag -a
 tulip-diag.c:v1.03 5/20/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
 Chip Index #1: Found a DC21142 Tulip card at PCI bus 35, device 0 I/O 0x200.
 Digital DS21142 Tulip chip registers at 0x200:
  f8a08000 ffffffff ffffffff 00ab6810 00ab6a10 f0000146 b20e0000 f3fe0000
  e0000000 ffffcbf8 ffffffff 00000000 000000c6 ffff0000 fff80000 8ff90000
  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
 The Rx process state is 'Stopped'.
 The Tx process state is 'Stopped'.
 Transmit stopped, Receive stopped, half-duplex.
 The transmit threshold is 128.
 Port selection is MII, half-duplex.
 EEPROM transceiver/media description for the DC21142 chip.
 
 Leaf node at offset 128, default media type 0000 (10baseT).
 0 transceiver description blocks:

 bash-2.03# tulip-diag -e
 tulip-diag.c:v1.03 5/20/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
 Chip Index #1: Found a DC21142 Tulip card at PCI bus 35, device 0 I/O 0x200.
 EEPROM transceiver/media description for the DC21142 chip.
 
 Leaf node at offset 128, default media type 0000 (10baseT).
  0 transceiver description blocks:

 bash-2.03# tulip-diag -m
 tulip-diag.c:v1.03 5/20/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
 Chip Index #1: Found a DC21142 Tulip card at PCI bus 35, device 0 I/O 0x200.
 EEPROM transceiver/media description for the DC21142 chip.
 
 Leaf node at offset 128, default media type 0000 (10baseT).
 0 transceiver description blocks:
 MII PHY found at address 0, status 0x782d.
 MII PHY #0 transceiver registers:
   3000 782d 0040 6212 01e1 0021 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   1000 0000 0000 0000 0000 0000 0100 0000
   003c d006 0f00 ff00 002c 0000 0080 000b.
  Internal autonegotiation state is 'Autonegotiation disabled'.

-------------------------------------------------------------------------------------------

And here's what I figured out about the D-Link DFE-650 card:

 /var/log/messages:
 Feb 26 17:09:18 training2 cardmgr[467]: initializing socket 1
 Feb 26 17:09:18 training2 cardmgr[467]: socket 1: KTI ETHER-C16 Fast ethernet
 Feb 26 17:09:18 training2 cardmgr[467]: executing: 'insmod /lib/modules/2.2.13/net/8390.o
'
 Feb 26 17:09:18 training2 cardmgr[467]: executing: 'insmod /lib/modules/2.2.13/pcmcia/pcn
et_cs.o'
 Feb 26 17:09:18 training2 kernel: eth0: NE2000 Compatible: io 0x300, irq 9, hw_addr 00:E0
:98:77:92:8F
 Feb 26 17:09:18 training2 cardmgr[467]: executing: './network start eth0'
 Feb 26 17:09:20 training2 kernel: eth0: found link beat
 Feb 26 17:09:38 training2 kernel: eth0: Tx timed out, cable problem? TSR=0x42, ISR=0x0, t=895.
 Feb 26 17:09:48 training2 kernel: eth0: Tx timed out, cable problem? TSR=0x42, ISR=0x0, t=1000.


 bash-2.03# ifconfig eth0
 eth0 Link encap:Ethernet HWaddr 00:E0:98:77:92:8F
          inet addr:194.162.209.41 Bcast:194.162.209.63 Mask:255.255.255.192
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:4 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:9 Base address:0x300


 (while trying to ping 194.162.209.1)
 bash-2.03# tcpdump -nlieth0
 User level filter, protocol ALL, datagram packet socket
tcpdump: listening on eth0
 17:09:58.931129 arp who-has 194.162.209.1 tell 194.162.209.41 (0:e0:98:77:92:8f)
 17:09:58.981151 arp who-has 194.162.209.1 tell 194.162.209.41 (0:e0:98:77:92:8f)
 17:10:08.931127 arp who-has 194.162.209.1 tell 194.162.209.41 (0:e0:98:77:92:8f)


 bash-2.03# cardctl config
 Socket 0:
  not configured
 Socket 1:
  Vcc 5.0V Vpp1 0.0V Vpp2 0.0V
  interface type is "memory and I/O"
  irq 9 [exclusive] [level]
  function 0:
    config base 0x0400
      option 0x60 status 0x00 copy 0x00
    io 0x0300-0x031f [auto]



---


Of course I'm willing to add any additional useful information immediately if that'd help to solve my problem.


Thanks a lot for your patience,

Ingo
Ciechowski@cis-computer.com

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. News D-Link DFE-650 problem solved - FE2000 still not working by Ingo Ciechowski, 2000, Feb 26

Add Message to: "eth0: Tx hung, 11 vs. 0. error with Abocom FE2000 and similar with D-Link DFE-650 cards"

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