[tulip] Problem with LinkSys PCMPC200

Tom Reinertson treinertson@uswest.net
Wed, 09 Aug 2000 12:28:11 -0500


--------------2DA62FA637362915C766D763
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi All,

I just picked up a LinkSys PCMPC200, the 32-bit cardbus ethernet card
and installed it on my ThinkPad 570E running Caldera OpenLinux 2.4
(kernel 2.2.14).  I have several questions I hope someone may be able to
help me with.

1) I downloaded the source rpm and followed the instructions in
updates.html.  The rpm placed the modules in /lib/modules/2.2.14/net but
when I started pcmcia the log showed the following messages:

Aug  9 08:43:12 parkcity kernel: Linux PCMCIA Card Services 3.1.8
Aug  9 08:43:12 parkcity kernel:   kernel build: 2.2.14 #1 SMP Thu Feb
10 20:08:45 CET 2000
Aug  9 08:43:12 parkcity kernel:   options:  [pci] [cardbus]
Aug  9 08:43:12 parkcity kernel: Intel PCIC probe:
Aug  9 08:43:12 parkcity kernel:   TI 1450 PCI-to-CardBus at bus 0 slot
2, mem 0x50000000, 2 sockets
Aug  9 08:43:12 parkcity kernel:     host opts [0]: [pwr save] [serial
pci & irq] [no pci irq] [lat 64/176] [bus 2/4]
Aug  9 08:43:12 parkcity kernel:     host opts [1]: [pwr save] [serial
pci & irq] [no pci irq] [lat 64/176] [bus 5/7]
Aug  9 08:43:12 parkcity kernel:     ISA irqs (scanned) = 3,4,5,7,9,10
status change on irq 10
Aug  9 08:43:12 parkcity cardmgr[452]: starting, version is 3.1.8
Aug  9 08:43:12 parkcity cardmgr[452]: watching 2 sockets
Aug  9 08:43:12 parkcity kernel: cs: IO port probe 0x1000-0x17ff:
excluding 0x1000-0x104f 0x15e8-0x15ef
Aug  9 08:43:12 parkcity kernel: cs: IO port probe 0x0100-0x04ff:
excluding 0x4d0-0x4d7
Aug  9 08:43:12 parkcity kernel: cs: IO port probe 0x0a00-0x0aff: clean.

Aug  9 08:43:12 parkcity kernel: cs: cb_alloc(bus 2): vendor 0x13d1,
device 0xab02
Aug  9 08:43:12 parkcity cardmgr[452]: initializing socket 0
Aug  9 08:43:12 parkcity cardmgr[452]: unsupported card in socket 0
Aug  9 08:43:13 parkcity cardmgr[452]:   product info: "CardBus", "Fast
Ethernet", "V1.0", ""
Aug  9 08:43:13 parkcity cardmgr[452]:   manfid: 0x13d1, 0xab02
function: 6 (network)
Aug  9 08:43:13 parkcity cardmgr[452]: exiting

I noticed that /etc/pcmcia/config.opts had not been modified by the rpm
so I added the lines suggested by updates.html:

device "tulip" class "network" module "cb_enabler", "pci-scan",
"cb_shim", "tulip"
card "Linksys EtherFast 10/100"        manfid 0x0149, 0x0231  bind
"tulip"
card "Linksys EtherFast 10/100 v2.0"   manfid 0x0149, 0xc2ab  bind
"tulip"
card "Linksys EtherFast PCM200"        manfid 0x13d1, 0xab03  bind
"tulip"

with an additional line to reflect the different manfid in my log:

card "Linksys EtherFast PCM200"        manfid 0x13d1, 0xab02  bind
"tulip"

When I modify /etc/pcmcia/config.opts I now get a different error:

Aug  9 08:59:17 parkcity kernel: Linux PCMCIA Card Services 3.1.8
Aug  9 08:59:17 parkcity kernel:   kernel build: 2.2.14 #1 SMP Thu Feb
10 20:08:45 CET 2000
Aug  9 08:59:17 parkcity kernel:   options:  [pci] [cardbus]
Aug  9 08:59:17 parkcity kernel: Intel PCIC probe:
Aug  9 08:59:17 parkcity kernel:   TI 1450 PCI-to-CardBus at bus 0 slot
2, mem 0x50000000, 2 sockets
Aug  9 08:59:17 parkcity kernel:     host opts [0]: [pwr save] [serial
pci & irq] [no pci irq] [lat 64/176] [bus 2/4]
Aug  9 08:59:17 parkcity kernel:     host opts [1]: [pwr save] [serial
pci & irq] [no pci irq] [lat 64/176] [bus 5/7]
Aug  9 08:59:17 parkcity kernel:     ISA irqs (scanned) = 3,4,5,7,9,10
status change on irq 10
Aug  9 08:59:17 parkcity cardmgr[759]: starting, version is 3.1.8
Aug  9 08:59:17 parkcity cardmgr[759]: watching 2 sockets
Aug  9 08:59:17 parkcity kernel: cs: IO port probe 0x1000-0x17ff:
excluding 0x1000-0x104f 0x15e8-0x15ef
Aug  9 08:59:17 parkcity kernel: cs: IO port probe 0x0100-0x04ff:
excluding 0x4d0-0x4d7
Aug  9 08:59:17 parkcity kernel: cs: IO port probe 0x0a00-0x0aff: clean.

Aug  9 08:59:17 parkcity kernel: cs: cb_alloc(bus 2): vendor 0x13d1,
device 0xab02
Aug  9 08:59:17 parkcity cardmgr[759]: initializing socket 0
Aug  9 08:59:17 parkcity cardmgr[759]: socket 0: Linksys EtherFast
PCM200
Aug  9 08:59:17 parkcity cardmgr[759]: executing: 'insmod
/lib/modules/2.2.14/pcmcia/cb_enabler.o'
Aug  9 08:59:18 parkcity cardmgr[759]: module
/lib/modules/2.2.14/pcmcia/pci-scan.o not available
Aug  9 08:59:18 parkcity cardmgr[759]: module
/lib/modules/2.2.14/pcmcia/cb_shim.o not available
Aug  9 08:59:18 parkcity cardmgr[759]: module
/lib/modules/2.2.14/pcmcia/tulip.o not available
Aug  9 08:59:19 parkcity cardmgr[759]: get dev info on socket 0 failed:
Resource temporarily unavailable
Aug  9 08:59:19 parkcity cardmgr[759]: exiting

It seems that the rpm put the drivers in /lib/modules/2.2.14/net but the
pcmcia code is looking in pcmcia/.  So I followed the instructions in
updates.html for installing individual drivers and dowloaded tulip.c,
pci-scan.c, pci-scan.h, kern_compat.h and Makefile and put them all into
/usr/local/src/tulip/.  When I run 'make' I get the following errors:

gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6
-I/usr/src/linux/include -DMODVERSIONS   -c -o pci-scan.o pci-scan.c
In file included from pci-scan.c:62:
kern_compat.h:164: parse error before `0'
kern_compat.h:168: warning: type defaults to `int' in declaration of
`mark_bh'
kern_compat.h:168: warning: parameter names (without types) in function
declaration
kern_compat.h:168: warning: data definition has no type or storage class

kern_compat.h:168: parse error before `}'
make: *** [pci-scan.o] Error 1

Now I'm stuck.  I don't really know what to try next.  I would greatly
appreciate any help anyone can offer.

Thanks.

Tom


--------------2DA62FA637362915C766D763
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
Hi All,

I just picked up a LinkSys PCMPC200, the 32-bit cardbus ethernet card and installed it on my ThinkPad 570E running Caldera OpenLinux 2.4 (kernel 2.2.14).  I have several questions I hope someone may be able to help me with.

1) I downloaded the source rpm and followed the instructions in updates.html.  The rpm placed the modules in /lib/modules/2.2.14/net but when I started pcmcia the log showed the following messages:

Aug  9 08:43:12 parkcity kernel: Linux PCMCIA Card Services 3.1.8
Aug  9 08:43:12 parkcity kernel:   kernel build: 2.2.14 #1 SMP Thu Feb 10 20:08:45 CET 2000
Aug  9 08:43:12 parkcity kernel:   options:  [pci] [cardbus]
Aug  9 08:43:12 parkcity kernel: Intel PCIC probe:
Aug  9 08:43:12 parkcity kernel:   TI 1450 PCI-to-CardBus at bus 0 slot 2, mem 0x50000000, 2 sockets
Aug  9 08:43:12 parkcity kernel:     host opts [0]: [pwr save] [serial pci & irq] [no pci irq] [lat 64/176] [bus 2/4]
Aug  9 08:43:12 parkcity kernel:     host opts [1]: [pwr save] [serial pci & irq] [no pci irq] [lat 64/176] [bus 5/7]
Aug  9 08:43:12 parkcity kernel:     ISA irqs (scanned) = 3,4,5,7,9,10 status change on irq 10
Aug  9 08:43:12 parkcity cardmgr[452]: starting, version is 3.1.8
Aug  9 08:43:12 parkcity cardmgr[452]: watching 2 sockets
Aug  9 08:43:12 parkcity kernel: cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x104f 0x15e8-0x15ef
Aug  9 08:43:12 parkcity kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x4d0-0x4d7
Aug  9 08:43:12 parkcity kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Aug  9 08:43:12 parkcity kernel: cs: cb_alloc(bus 2): vendor 0x13d1, device 0xab02
Aug  9 08:43:12 parkcity cardmgr[452]: initializing socket 0
Aug  9 08:43:12 parkcity cardmgr[452]: unsupported card in socket 0
Aug  9 08:43:13 parkcity cardmgr[452]:   product info: "CardBus", "Fast Ethernet", "V1.0", ""
Aug  9 08:43:13 parkcity cardmgr[452]:   manfid: 0x13d1, 0xab02  function: 6 (network)
Aug  9 08:43:13 parkcity cardmgr[452]: exiting

I noticed that /etc/pcmcia/config.opts had not been modified by the rpm so I added the lines suggested by updates.html:

device "tulip" class "network" module "cb_enabler", "pci-scan", "cb_shim", "tulip"
card "Linksys EtherFast 10/100"        manfid 0x0149, 0x0231  bind "tulip"
card "Linksys EtherFast 10/100 v2.0"   manfid 0x0149, 0xc2ab  bind "tulip"
card "Linksys EtherFast PCM200"        manfid 0x13d1, 0xab03  bind "tulip"

with an additional line to reflect the different manfid in my log:

card "Linksys EtherFast PCM200"        manfid 0x13d1, 0xab02  bind "tulip"

When I modify /etc/pcmcia/config.opts I now get a different error:

Aug  9 08:59:17 parkcity kernel: Linux PCMCIA Card Services 3.1.8
Aug  9 08:59:17 parkcity kernel:   kernel build: 2.2.14 #1 SMP Thu Feb 10 20:08:45 CET 2000
Aug  9 08:59:17 parkcity kernel:   options:  [pci] [cardbus]
Aug  9 08:59:17 parkcity kernel: Intel PCIC probe:
Aug  9 08:59:17 parkcity kernel:   TI 1450 PCI-to-CardBus at bus 0 slot 2, mem 0x50000000, 2 sockets
Aug  9 08:59:17 parkcity kernel:     host opts [0]: [pwr save] [serial pci & irq] [no pci irq] [lat 64/176] [bus 2/4]
Aug  9 08:59:17 parkcity kernel:     host opts [1]: [pwr save] [serial pci & irq] [no pci irq] [lat 64/176] [bus 5/7]
Aug  9 08:59:17 parkcity kernel:     ISA irqs (scanned) = 3,4,5,7,9,10 status change on irq 10
Aug  9 08:59:17 parkcity cardmgr[759]: starting, version is 3.1.8
Aug  9 08:59:17 parkcity cardmgr[759]: watching 2 sockets
Aug  9 08:59:17 parkcity kernel: cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x104f 0x15e8-0x15ef
Aug  9 08:59:17 parkcity kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x4d0-0x4d7
Aug  9 08:59:17 parkcity kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Aug  9 08:59:17 parkcity kernel: cs: cb_alloc(bus 2): vendor 0x13d1, device 0xab02
Aug  9 08:59:17 parkcity cardmgr[759]: initializing socket 0
Aug  9 08:59:17 parkcity cardmgr[759]: socket 0: Linksys EtherFast PCM200
Aug  9 08:59:17 parkcity cardmgr[759]: executing: 'insmod /lib/modules/2.2.14/pcmcia/cb_enabler.o'
Aug  9 08:59:18 parkcity cardmgr[759]: module /lib/modules/2.2.14/pcmcia/pci-scan.o not available
Aug  9 08:59:18 parkcity cardmgr[759]: module /lib/modules/2.2.14/pcmcia/cb_shim.o not available
Aug  9 08:59:18 parkcity cardmgr[759]: module /lib/modules/2.2.14/pcmcia/tulip.o not available
Aug  9 08:59:19 parkcity cardmgr[759]: get dev info on socket 0 failed: Resource temporarily unavailable
Aug  9 08:59:19 parkcity cardmgr[759]: exiting

It seems that the rpm put the drivers in /lib/modules/2.2.14/net but the pcmcia code is looking in pcmcia/.  So I followed the instructions in updates.html for installing individual drivers and dowloaded tulip.c, pci-scan.c, pci-scan.h, kern_compat.h and Makefile and put them all into /usr/local/src/tulip/.  When I run 'make' I get the following errors:

gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -I/usr/src/linux/include -DMODVERSIONS   -c -o pci-scan.o pci-scan.c
In file included from pci-scan.c:62:
kern_compat.h:164: parse error before `0'
kern_compat.h:168: warning: type defaults to `int' in declaration of `mark_bh'
kern_compat.h:168: warning: parameter names (without types) in function declaration
kern_compat.h:168: warning: data definition has no type or storage class
kern_compat.h:168: parse error before `}'
make: *** [pci-scan.o] Error 1

Now I'm stuck.  I don't really know what to try next.  I would greatly appreciate any help anyone can offer.

Thanks.

Tom
  --------------2DA62FA637362915C766D763--