[ltp] IBM Etherject 10/100 Cardbus Adapter, still no luck

Friedemann Baitinger linux-thinkpad@www.bm-soft.com
Tue, 5 Oct 1999 23:30:09 +0200 (CEST)


Once in a while I try to get this card running. -- No luck so far.
I'm using linux-2.2.12, pcmcia-3.0.14 and once the 'subject' adapter is
up and running, pings to another machine in the same subnet yield:

(4)baiti@blackbox>ping zenon
PING zenon.baiti.net (195.2.161.1): 56 data bytes
64 bytes from 195.2.161.1: icmp_seq=0 ttl=64 time=0.4 ms
64 bytes from 195.2.161.1: icmp_seq=1 ttl=64 time=0.4 ms
64 bytes from 195.2.161.1: icmp_seq=2 ttl=64 time=0.4 ms
64 bytes from 195.2.161.1: icmp_seq=4 ttl=64 time=0.4 ms
64 bytes from 195.2.161.1: icmp_seq=5 ttl=64 time=0.4 ms
64 bytes from 195.2.161.1: icmp_seq=6 ttl=64 time=0.4 ms
64 bytes from 195.2.161.1: icmp_seq=7 ttl=64 time=0.4 ms
64 bytes from 195.2.161.1: icmp_seq=8 ttl=64 time=0.4 ms
64 bytes from 195.2.161.1: icmp_seq=9 ttl=64 time=0.4 ms
64 bytes from 195.2.161.1: icmp_seq=10 ttl=64 time=0.4 ms
64 bytes from 195.2.161.1: icmp_seq=3 ttl=64 time=7785.7 ms
64 bytes from 195.2.161.1: icmp_seq=12 ttl=64 time=0.3 ms
64 bytes from 195.2.161.1: icmp_seq=13 ttl=64 time=0.4 ms
64 bytes from 195.2.161.1: icmp_seq=14 ttl=64 time=0.4 ms
64 bytes from 195.2.161.1: icmp_seq=15 ttl=64 time=0.4 ms

Look at they out of sequence reply of packet 3! The problem is
reproducable. The config is like:

TP770X,

(4)baiti@blackbox>cat /proc/interrupts 
           CPU0       
  0:    9887333          XT-PIC  timer
  1:      64771          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:        234          XT-PIC  Crystal audio controller
  7:     735112          XT-PIC  parport0
  8:     147583          XT-PIC  rtc
  9:      19190          XT-PIC  eth0
 10:         32          XT-PIC  i82365
 12:     869648          XT-PIC  PS/2 Mouse
 13:          1          XT-PIC  fpu
 14:     149413          XT-PIC  ide0
 15:     197470          XT-PIC  ide1
NMI:          0

(4)baiti@blackbox>lsmod
Module                  Size  Used by
vmnet                   9456   3 
vmppuser                4932   0  (unused)
vmmon                  14380   0  (unused)
tulip_cb               29712   2 
cb_enabler              2248   2  [tulip_cb]
ds                      6144   2  [cb_enabler]
i82365                 23352   2 
pcmcia_core            42140   0  [cb_enabler ds i82365]
smbfs                  24432   0  (autoclean)
cs4232                  2276   0  (autoclean)
uart401                 5588   0  (autoclean) [cs4232]
ad1848                 15108   0  (autoclean) [cs4232]
sound                  54480   0  (autoclean) [cs4232 uart401 ad1848]
soundcore               2100   5  (autoclean) [sound]
lp                      4960   0  (autoclean)
ide-cd                 21068   0  (autoclean) [i82365]
cdrom                  12068   0  (autoclean) [ide-cd]
parport_pc              5532   1 
parport                 6524   1  [vmppuser lp parport_pc]
serial                 18160   0  (autoclean)
unix                   10088  50  (autoclean)


(4)baiti@blackbox>ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:13180 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13180 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 

eth0      Link encap:Ethernet  HWaddr 00:04:AC:51:0D:6D  
          inet addr:195.2.161.3  Bcast:195.2.161.255 Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11136 errors:5 dropped:0 overruns:0 frame:0
          TX packets:10004 errors:0 dropped:0 overruns:0 carrier:0
          collisions:56 
          Interrupt:9 Base address:0x400 

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:8A:00:00  
          inet addr:192.168.101.1  Bcast:192.168.101.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:0 dropped:0 overruns:0 carrier:0
          collisions:0 


/var/log/messages stays calm and everything seems to work right, except
that comminication to other machine is perioadically suspended for 7 to
9 second.

BTW:

(4)baiti@blackbox>cat /etc/pcmcia/config.opts
include port 0x100-0x4ff, port 0x1000-0x17ff
exclude port 0x230-0x233, port 0x2f8-0x2ff
include memory 0xc0000-0xfffff, memory 0x60000000-0x60ffffff
include port 0xa00-0xaff
exclude irq 5
exclude irq 4
exclude irq 3
exclude irq 7
# The following line is for T/R
module "ibmtr_cs" opts "sramsize=32 mmiobase=0xD2000 srambase=0xD800"

And the relevant messages from /var/log/messages for completeness:


Oct  5 22:44:23 blackbox init: Switching to runlevel: 2
Oct  5 22:44:23 blackbox kernel: Linux PCMCIA Card Services 3.0.14
Oct  5 22:44:23 blackbox kernel:   kernel build: 2.2.12 #2 Tue Aug 31
21:15:34 MEST 1999
Oct  5 22:44:23 blackbox kernel:   options:  [pci] [cardbus] [apm]
Oct  5 22:44:23 blackbox kernel: Intel PCIC probe:
Oct  5 22:44:23 blackbox kernel:   TI 1251A PCI-to-CardBus at bus 0 slot
2, mem 0x50102000, 2 sockets
Oct  5 22:44:23 blackbox kernel:     host opts [0]: [ring] [pwr save]
[isa irq] [no pci irq] [lat 168/176] [bus 2/4]
Oct  5 22:44:23 blackbox kernel:     host opts [1]: [ring] [pwr save]
[isa irq] [no pci irq] [lat 168/176] [bus 5/7]
Oct  5 22:44:23 blackbox kernel:     ISA irqs (scanned) = 3,4,9,10
status change on irq 10
Oct  5 22:44:24 blackbox cardmgr[4458]: starting, version is 3.0.14
Oct  5 22:44:24 blackbox cardmgr[4458]: watching 2 sockets
Oct  5 22:44:24 blackbox kernel: cs: IO port probe 0x1000-0x17ff:
excluding 0x15e8-0x15ef
Oct  5 22:44:24 blackbox kernel: cs: IO port probe 0x0100-0x04ff:
excluding 0x130-0x137 0x200-0x207 0x220-0x22f 0x388-0x38f 0x4d0-0x4d7
Oct  5 22:44:24 blackbox kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Oct  5 22:44:24 blackbox automount[4478]: starting automounter version
3.1.3, path = /misc, maptype = file, mapname = /etc/auto.misc
Oct  5 22:44:24 blackbox automount[4478]: Map argc = 1
Oct  5 22:44:24 blackbox automount[4478]: Map argv[0] = /etc/auto.misc
Oct  5 22:44:24 blackbox automount[4478]: using kernel protocol version
3
Oct  5 22:44:24 blackbox automount[4489]: starting automounter version
3.1.3, path = /mnt, maptype = file, mapname = /etc/auto.mnt
Oct  5 22:44:24 blackbox automount[4489]: Map argc = 1
Oct  5 22:44:24 blackbox automount[4489]: Map argv[0] = /etc/auto.mnt
Oct  5 22:44:24 blackbox automount[4489]: using kernel protocol version
3
Oct  5 22:44:24 blackbox kernel: ROM image dump:
Oct  5 22:44:24 blackbox kernel:   image 0: 0x000000-0xffffffff,
signature PCIR
Oct  5 22:44:24 blackbox cardmgr[4458]: initializing socket 1
Oct  5 22:44:24 blackbox cardmgr[4458]: socket 1: IBM Etherjet Cardbus
Adapter 10/100
Oct  5 22:44:24 blackbox cardmgr[4458]: executing: 'insmod
/lib/modules/2.2.12/pcmcia/cb_enabler.o'
Oct  5 22:44:24 blackbox cardmgr[4458]: executing: 'insmod
/lib/modules/2.2.12/pcmcia/tulip_cb.o'
Oct  5 22:44:24 blackbox kernel: cs: cb_config(bus 5): vendor 0x115d,
device 0x0003
Oct  5 22:44:24 blackbox kernel:   fn 0 bar 1: io 0x400-0x47f
Oct  5 22:44:24 blackbox kernel:   fn 0 bar 2: mem 0x6000b000-0x6000b7ff
Oct  5 22:44:24 blackbox kernel:   fn 0 bar 3: mem 0x6000a000-0x6000a7ff
Oct  5 22:44:24 blackbox kernel: cs: cb_enable(bus 5)
Oct  5 22:44:24 blackbox kernel:   bridge io map 0 (flags 0x21):
0x400-0x47f
Oct  5 22:44:24 blackbox kernel:   bridge mem map 0 (flags 0x1):
0x60006000-0x6000bfff
Oct  5 22:44:24 blackbox kernel: tulip_attach(bus 5, function 0)
Oct  5 22:44:24 blackbox kernel: tulip.c:v0.91 4/14/99
becker@cesdis.gsfc.nasa.gov (modified by danilo@cs.uni-magdeburg.de for
XIRCOM CBE, fixed by Doug Ledford)
Oct  5 22:44:24 blackbox kernel: eth0: Xircom Cardbus Adapter (DEC 21143
compatible mode) rev 3 at 0x400, 00:04:AC:51:0D:6D, IRQ 9.
Oct  5 22:44:24 blackbox kernel: eth0:  MII transceiver #0 config 3100
status 7809 advertising 01e1.
Oct  5 22:44:24 blackbox kernel: XIRCOM init
Oc

PPS: The network runs at 10Mbit/s. Using an old NE2000 compatible card
with all settings unchanged works just fine so the basic networking
setup seems to be correct.

Anyboday out there who has a config like this running?

-- 
Friedemann Baitinger       fb@baiti.net      http://baiti.net/fb

Minds, like parachutes, work only when open.

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html