[tulip] Compex Linkport TX, "tx hung"

Marco Dubbeld dubbeld@zeelandnet.nl
Thu, 31 Aug 2000 22:33:19 +0200


When I insert my Linkport TX32 card, cardmgr reports in messages:

cardmgr[9623]: initializing socket 0
cardmgr[9623]: socket 0: Compex LinkPort/TX32A
kernel: cs: cb_alloc(bus 32): vendor 0x10ec, device 0x8138
cardmgr[9623]: executing: 'modprobe cb_enabler'
cardmgr[9623]: executing: 'modprobe tulip_cb 10baseT debu
kernel:   fn 0 bar 1: io 0xa00-0xaff
kernel:   fn 0 bar 2: mem 0x60001000-0x600011ff
kernel:   irq 11
kernel: tulip_attach(device 20:00.0)
kernel: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasord)
kernel: eth0: Digital DS21143 Tulip rev 16 at 0xa00, EEPROM not present, 00:4C:69:6E:75:79, IRQ 11.
kernel: eth0:  Missing EEPROM, this interface may not work correctly!
cardmgr[9623]: executing: './network start eth0'
kernel: eth0: Tx hung, 11 vs. 0.
kernel: eth0: 21140 transmit timed out, status 0801fbfc,
SIA 0000000f 00000000 00000018 58fab388, resetting...  

I've tried to collect most info. Since I do not really know what is most
relevant.

>< >< Output of DMesg after probe: >< ><

Linux version 2.2.14-15mdk ( root@kenobi.mandrakesoft.com ) (gcc version
2.95.2 19991024 (release)) #1 Tue Jan 4 22:24:20 CET 2000

Linux PCMCIA Card Services 3.1.19
  kernel build: 2.2.14-15mdk #1 Tue Jan 4 22:24:20 CET 2000
  options:  [pci] [cardbus] [apm] [pnp]
PCI routing table version 1.0 at 0xfdf80
  00:04.0 -> irq 11
  00:04.1 -> irq 11
PnP: PNP BIOS installation structure at 0xc00f6780
PnP: PNP BIOS version 1.0, entry at f0000:b31a, dseg at 400
Intel PCIC probe: 
  TI 1220 rev 02 PCI-to-CardBus at slot 00:04, mem 0x68000000
    host opts [0]: [ring] [serial pci & irq] [pci irq 11] [lat 168/176] [bus 32/34]
    host opts [1]: [ring] [serial pci & irq] [pci irq 11] [lat 168/176] [bus 35/37]
    ISA irqs (scanned) = 3,4,5 PCI status changes
cs: IO port probe 0x1000-0x17ff: clean.
cs: IO port probe 0x0100-0x04ff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.

>< >< Putput of dmesg after card insert >< ><

cs: cb_alloc(bus 32): vendor 0x10ec, device 0x8138
cs: cb_config(bus 32)
  fn 0 bar 1: io 0xa00-0xaff
  fn 0 bar 2: mem 0x60001000-0x600011ff
  irq 11
cs: cb_enable(bus 32)
  bridge io map 0 (flags 0x21): 0xa00-0xaff
  bridge mem map 0 (flags 0x1): 0x60001000-0x60001fff
tulip_attach(device 20:00.0)
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)
eth0: Digital DS21143 Tulip rev 16 at 0xa00, EEPROM not present, 00:4C:69:6E:75:79, IRQ 11.
eth0:  Missing EEPROM, this interface may not work correctly!
bridge-eth0: found peer eth0
bridge-eth0: up
eth0: Tx hung, 11 vs. 0.
eth0: 21140 transmit timed out, status 0801fbfc, SIA 0000000f 00000000 00000018 58fab388, resetting...
eth0: Tx hung, 11 vs. 0.
eth0: 21140 transmit timed out, status 0801fbfc, SIA 0000000f 00000000 00000018 58fab388, resetting...
eth0: Tx hung, 11 vs. 0.
eth0: 21140 transmit timed out, status 0801fbfc, SIA 0000000f 00000000 00000018 58fab388, resetting...

>< >< Output of debug-tools/dump_cis >< ><

Socket 0:
  manfid 0x018a, 0x0106
  funcid network_adapter
  lan_technology ethernet
  lan_speed 10 mb/sec
  lan_speed 100 mb/sec
  BAR 1 size 384b [io]
  BAR 2 size 384b [mem] [<1mb]
  config_cb base 0x0010 last_index 0x02
  cftable_entry_cb 0x01
    [master] [invalidate] [parity] [wait] [serr] [fast back]
    io_base 2
    irq mask 0x8ebc [level] [shared]
    mem_base 1 3
  vers_1 5.0, "CardBus", "10/100Mbps Ethernet Card", "", ""
}, {
  manfid 0x018a, 0x0106
  funcid network_adapter
  lan_technology ethernet
  lan_speed 10 mb/sec
  lan_speed 100 mb/sec
  BAR 1 size 384b [io]
  BAR 2 size 384b [mem] [<1mb]
  config_cb base 0x0010 last_index 0x02
  cftable_entry_cb 0x01
    [master] [invalidate] [parity] [wait] [serr] [fast back]
    io_base 2
    irq mask 0x8ebc [level] [shared]
    mem_base 1 3
  vers_1 5.0, "CardBus", "10/100Mbps Ethernet Card", "", ""

Socket 1:
  no CIS present

>< >< Output of debug-tools/dump_exca >< ><

Socket 0:
  Identification and revision = 0x84
  Interface status = 0x6e
    [bvd2/spkr] [detect] [ready] [poweron]
  Power control = 0x19
    [resetdrv] [Vcc=3.3v] [Vpp=5v]
  Interrupt and general control = 0x10
    [reset] [intr ena] [irq=0]
  Card status change interrupt control = 0x08
    [detect] [irq=0]
  Card detect and general control = 0xc0

  memory 0: 0x0000-0x0fff @ 0x00000000 [off] [8bit]
  memory 1: 0x0000-0x0fff @ 0x00000000 [off] [8bit]
  memory 2: 0x0000-0x0fff @ 0x00000000 [off] [8bit]
  memory 3: 0x0000-0x0fff @ 0x00000000 [off] [8bit]
  memory 4: 0x0000-0x0fff @ 0x00000000 [off] [8bit]
  io 0: 0x0000-0x0001 [off] [8bit]
  io 1: 0x0000-0x0001 [off] [8bit]

Socket 1:
  Identification and revision = 0x84
  Interface status = 0x00

  Power control = 0x00
    [resetdrv] [Vcc off] [Vpp off]
  Interrupt and general control = 0x50
    [intr ena] [irq=0]
  Card status change interrupt control = 0x08
    [detect] [irq=0]
  Card detect and general control = 0xc0

  memory 0: 0x0000-0x0fff @ 0x00000000 [off] [8bit]
  memory 1: 0x0000-0x0fff @ 0x00000000 [off] [8bit]
  memory 2: 0x0000-0x0fff @ 0x00000000 [off] [8bit]
  memory 3: 0x0000-0x0fff @ 0x00000000 [off] [8bit]
  memory 4: 0x0000-0x0fff @ 0x00000000 [off] [8bit]
  io 0: 0x0000-0x0001 [off] [8bit]
  io 1: 0x0000-0x0001 [off] [8bit]

>< >< Output of dump_pirq >< ><

Interrupt routing table found at address 0xfdf80:
  Version 1.0, size 0x0060
  Interrupt router is device 00:07.0
  PCI exclusive interrupt mask: 0x0000
  Compatible router: vendor 0x8086 device 0x122e

Device 00:07.0 (slot 0):
  INTD: link 0x63, irq mask 0x0400

Device 00:01.0 (slot 0):
  INTB: link 0x61, irq mask 0x0800

Device 00:04.0 (slot 0):
  INTA: link 0x60, irq mask 0x0800
  INTB: link 0x61, irq mask 0x0800

Device ff:00.0 (slot 0):
  INTB: link 0x61, irq mask 0x0800

Interrupt router at 00:07.0: Intel 82371AB PIIX4/PIIX4E PCI-to-ISA bridge
  PIRQ1 (link 0x60): irq 11
  PIRQ2 (link 0x61): irq 11
  PIRQ3 (link 0x62): unrouted
  PIRQ4 (link 0x63): irq 10
  Serial IRQ: [enabled] [continuous] [frame=21] [pulse=4]

>< >< Ouptut of test_network >< ><

PCMCIA network settings are coming from /etc/pcmcia/network.opts.
  /etc/sysconfig/network-scripts/ifcfg-eth0 also exists??

Checking network interface eth0 (tulip_cb driver):

  Kernel messages for eth0:
  eth0: 21140 transmit timed out, status 0801fbfc, SIA 0000000f 00000000 00000098 58fab388, resetting...
  eth0: Tx hung, 19 vs. 0.
  eth0: 21140 transmit timed out, status 0801fbfc, SIA 0000000f 00000000 00000018 58fab388, resetting...
  eth0: Tx hung, 19 vs. 0.
  eth0: 21140 transmit timed out, status 0801fbfc, SIA 0000000f 00000000 00000018 58fab388, resetting...
  eth0: Tx hung, 19 vs. 0.
  eth0: 21140 transmit timed out, status 0801fbfc, SIA 0000000f 00000000 00000018 58fab388, resetting...
  eth0: Tx hung, 19 vs. 0.
  eth0: 21140 transmit timed out, status 0801fbfc, SIA 0000000f 00000000 00000018 58fab388, resetting...
  eth0: 21140 transmit timed out, status 0801fbfc, SIA 0000000f 00000000 00000098 58fab388, resetting...

  Current ifconfig settings:
  eth0      Link encap:Ethernet  HWaddr 00:4C:69:6E:75:79  
            inet addr:192.168.161.130  Bcast:192.168.161.255  Mask:255.255.255.0
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:39 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:100 
            Interrupt:11 Base address:0xa00 

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

  There is a route to a gateway at 192.168.161.2.

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

>< >< Output of /proc/interrupts >< ><

           CPU0       
  0:      87925          XT-PIC  timer
  1:       2740          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
 11:          9          XT-PIC  i82365, eth0
 12:       2070          XT-PIC  PS/2 Mouse
 13:          1          XT-PIC  fpu
 14:      67663          XT-PIC  ide0
 15:          4          XT-PIC  ide1
NMI:          0

>< >< Output of /proc/ioports >< ><

0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard
0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df :
dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0376-0376 : ide1
03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0a00-0aff :
cb_enabler fcd0-fcd7 : ide0 fcd8-fcdf : ide1

>< >< Output of /poc/modules >< ><

tulip_cb 32292 2 cb_enabler 2280 2 [tulip_cb] vmnet 14560 3 vmppuser
4868 0 (unused) parport_pc 7604 0 [vmppuser] parport 8084 0 [vmppuser
parport_pc] vmmon 16156 0 (unused) ds 6284 2 [cb_enabler] i82365 22780 2
pcmcia_core 51392 0 [cb_enabler ds i82365] vfat 11004 0 (unused) fat
32640 0 [vfat]

>< >< Output of /proc/pci >< ><

PCI devices found:
  Bus 32, device   0, function  0:
    Ethernet controller: Realtek Unknown device (rev 16).
      Vendor id=10ec. Device id=8138.
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  
      I/O at 0xa00 [0xa01].
      Non-prefetchable 32 bit memory at 0x60001000 [0x60001000].
  Bus  0, device   4, function  0:
    CardBus bridge: Texas Instruments Unknown device (rev 2).
      Vendor id=104c. Device id=ac17.
      Medium devsel.  IRQ 11.  Master Capable.  Latency=168.  Max Lat=7.
      Non-prefetchable 32 bit memory at 0x68000000 [0x68000000].
  Bus  0, device   4, function  1:
    CardBus bridge: Texas Instruments Unknown device (rev 2).
      Vendor id=104c. Device id=ac17.
      Medium devsel.  IRQ 11.  Master Capable.  Latency=168.  Min Gnt=192.Max Lat=7.
      Non-prefetchable 32 bit memory at 0x68001000 [0x68001000].

>< >< Output of tulip_diag -p 0xa00 -ee, however for all next I had to specify -p 0xa00
>since no recognition out of /proc/pci >< ><

tulip-diag.c:v2.03 7/31/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Assuming a Digital Tulip series adapter at 0xa00.
 Port selection is 10mpbs-serial, full-duplex.
 Transmit stopped, Receive stopped, full-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  PCI bus error!: Parity Error.
  The transmit threshold is 72.
 Interrupt sources are pending!  CSR5 is 0801fbfc.
   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.
   Timer expired indication.
   Link failed indication.
   PCI bus error indication.
   Early Rx indication.
EEPROM size is 6.
  * An old-style EEPROM layout was found.
  * The old-style layout does not contain transceiver control information.
  * This board may not work, or may work only with a subset of transceiver
  * options or data rates.
EEPROM contents:
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
 ID block CRC 0xe3 (vs. 00).
  Full contents CRC 0x6523 (read as 0x0000).

>< >< Output of tulip-diag -p 0xa00 -aa >< ><

tulip-diag.c:v2.03 7/31/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Assuming a Digital Tulip series adapter at 0xa00.
 * A potential Tulip chip has been found, but it appears to be active.
 * Either shutdown the network, or use the '-f' flag to see all values.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
 Transmit started, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  PCI bus error!: Parity Error.
  The transmit threshold is 128.
 Interrupt sources are pending!  CSR5 is 0801fbfc.
   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.
   Timer expired indication.
   Link failed indication.
   PCI bus error indication.
   Early Rx indication.

>< >< Ouput of tulip-diag -p 0xa00 -mm >< ><

tulip-diag.c:v2.03 7/31/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Assuming a Digital Tulip series adapter at 0xa00.
 Port selection is 10mpbs-serial, full-duplex.
 Transmit stopped, Receive stopped, full-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  PCI bus error!: Parity Error.
  The transmit threshold is 72.
 Interrupt sources are pending!  CSR5 is 0801fbfc.
   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.
   Timer expired indication.
   Link failed indication.
   PCI bus error indication.
   Early Rx indication.
   No MII transceivers found!

>< >< Output of /sbin/ifconfig >< ><

eth0      Link encap:Ethernet  HWaddr 00:4C:69:6E:75:79  
          inet addr:192.168.161.130  Bcast:192.168.161.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:168 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:11 Base address:0xa00 

>< >< Output of eepro100-diag -ee -p 0xa00 >< ><

eepro100-diag.c:v2.02 7/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Assuming a Intel i82557 (or i82558) EtherExpressPro100B adapter at 0xa00.
EEPROM contents, size 64x16:
      ...
 *****  The EEPROM checksum is INCORRECT!  *****
  The checksum is 0x00, it should be 0xBABA!
Intel EtherExpress Pro 10/100 EEPROM contents:
  Station address 00:00:00:00:00:00.
  Receiver lock-up bug exists. (The driver work-around *is* implemented.)
  Board assembly 000000-000, Physical connectors present:
  Primary interface chip None PHY #0.

>< >< Output of eepro100-diag -p 0xa00 -aa >< ><

eepro100-diag.c:v2.02 7/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Assuming a Intel i82557 (or i82558) EtherExpressPro100B adapter at 0xa00.
i82557 chip registers at 0xa00:
  900ca000 00000fab 00000000 48000000 00002000 00002000
  Interrupt sources are pending.
   The transmit unit state is 'Idle'.
   The receive unit state is 'Idle'.
  This status is unusual for an activated interface.
 The Command register has an unprocessed command 900c(?!).

hope this will show the problem and anybody knows the answer.

Many thanks,
Marco



-- 
Marco Dubbeld
email: dubbeld@zeelandnet.nl