Making a PCMCIA network card work?

Leszek Koltunski leszek at serwer.3miasto.net
Sat Apr 2 13:05:28 EST 2005


I am using 2.6.12-rc1-mm4 now. Things still do not work, although messages 
in syslog are a tad different.

revelant part of /var/log/syslog:

Apr  3 01:42:32 localhost kernel: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
Apr  3 01:42:32 localhost kernel: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
Apr  3 01:42:32 localhost kernel: ACPI: PCI Interrupt 0000:02:00.0[A] -> 
Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
Apr  3 01:42:32 localhost kernel: Yenta: CardBus bridge found at 0000:02:00.0 [1014:0552]
Apr  3 01:42:32 localhost kernel: Yenta: Using INTVAL to route CSC interrupts to PCI
Apr  3 01:42:32 localhost kernel: Yenta: Routing CardBus interrupts to PCI
Apr  3 01:42:32 localhost kernel: Yenta TI: socket 0000:02:00.0, mfunc 0x01d21b22, devctl 0x64
Apr  3 01:42:32 localhost kernel: Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Apr  3 01:42:32 localhost kernel: Socket status: 30000020
Apr  3 01:42:32 localhost kernel: pcmcia: I/O behind socket: 0x4000 - 0x8fff
Apr  3 01:42:32 localhost kernel: cs: IO port probe 0x4000-0x8fff: clean.
Apr  3 01:42:32 localhost kernel: pcmcia: Memory behind socket: 0xc0200000 - 0xcfffffff
Apr  3 01:42:32 localhost kernel: pcmcia: Memory behind socket: 0xe8000000 - 0xefffffff
Apr  3 01:42:32 localhost kernel: ACPI: Can't get handler for 0000:03:00.0
Apr  3 01:42:32 localhost kernel: e1000: eth0: e1000_watchdog: NIC Link is 
Up 100 Mbps Full Duplex

relevant part of 'lspci -vv' :

0000:02:00.0 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus 
Controller (rev 01)
         Subsystem: IBM: Unknown device 0552
         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
         Latency: 168, Cache Line Size: 0x10 (64 bytes)
         Interrupt: pin A routed to IRQ 11
         Region 0: Memory at b0000000 (32-bit, non-prefetchable) [size=4K]
         Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
         Memory window 0: e8000000-e83ff000 (prefetchable)
         Memory window 1: c0400000-c07ff000
         I/O window 0: 00004000-000040ff
         I/O window 1: 00004400-000044ff
         Secondary status: SERR
         BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- 
PostWrite+
         16-bit legacy interface ports at 0001

with card being plugged in:

utumno:/var/log# cardctl ident
Socket 0:
   no product info available
utumno:/var/log# cardctl config
Socket 0:
   Vcc 3.3V  Vpp1 3.3V  Vpp2 3.3V
   interface type is "cardbus"
   irq 11 [exclusive] [level]
   function 0:
utumno:/var/log# /etc/init.d/pcmcia start
Starting PCMCIA services: cardmgr[11163]: watching 1 socket
done.
utumno:/var/log#

'pcmcia start' spat the following lines in syslog:

Apr  3 02:01:38 localhost kernel: ds: ds_open(socket 0)
Apr  3 02:01:38 localhost kernel: ds: ds_open(socket 1)
Apr  3 02:01:38 localhost kernel: ds: ds_open(socket 1)
Apr  3 02:01:38 localhost cardmgr[11163]: watching 1 socket
Apr  3 02:01:38 localhost kernel: cs: IO port probe 0x100-0x4ff: excluding 
0x2f8-0x2ff 0x3b8-0x3df 0x3f8-0x3ff 0x4d0-0x4d7
Apr  3 02:01:38 localhost kernel: cs: IO port probe 0x800-0x8ff: clean.
Apr  3 02:01:38 localhost kernel: cs: IO port probe 0xc00-0xcff: clean.
Apr  3 02:01:38 localhost kernel: cs: IO port probe 0xa00-0xaff: clean.

I dont know what to do next. Isn't cardmgr supposed to load a driver? Do I 
have to modprobe something?

Please let me know what else do you need to diagnose the problem ( if any; 
I cannot see any errors in any logs except for the fact that eth1 does not 
get created and card doesn't work )

Leszek



More information about the linux-pcmcia mailing list