PCMCIA: IRQ conflict?

From: Nadine (Nadine_at_MailSys.de)
Date: 08/13/03


Date: 13 Aug 2003 12:35:37 -0700

Hi all,

I recently bought a Siemens Amilo laptop. Everything works fine but
the PCMCIA and ACPI subsystems. I don't really care about the latter
(or do I? -- see below), but need my WLAN card. lspci says the
controller is a "CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus
Controller". The problem seems to be related to an IRQ conflict.
Unfortunately the BIOS offers no options to change any IRQs...

What I have found out so far:
- lspci -v:
02:03.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
        Subsystem: Unknown device 1734:102a
        Flags: bus master, stepping, slow devsel, latency 168, IRQ 17
        Memory at 20001000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
        Memory window 0: 20400000-207ff000 (prefetchable)
        Memory window 1: 20800000-20bff000
        I/O window 0: 00004000-000040ff
        I/O window 1: 00004400-000044ff
        16-bit legacy interface ports at 0001

- /proc/interrupts
 17: 73211 IO-APIC-level Intel ICH4, eth0, O2 Micro, Inc.
OZ6912 Cardbus Controller

- /proc/ioports:
4000-40ff : PCI CardBus #03
4400-44ff : PCI CardBus #03

- /proc/iomem:
20001000-20001fff : O2 Micro, Inc. OZ6912 Cardbus Controller
20400000-207fffff : PCI CardBus #03
20800000-20bfffff : PCI CardBus #03

I've added all the above to /etc/pcmcia/config.opts:
include port 0x4000-0x40ff, port 0x4400-0x44ff
include memory 0x20001000-0x20001fff
include memory 0x20400000-0x20bfffff

cardctl ident, info and status say:
Socket 0:
  product info: "SAMSUNG", "11Mbps WLAN Card", "Version 01.01", ""
  manfid: 0x0250, 0x0002
  function: 6 (network)

PRODID_1="SAMSUNG"
PRODID_2="11Mbps WLAN Card"
PRODID_3="Version 01.01"
PRODID_4=""
MANFID=0250,0002
FUNCID=6

Socket 0:
  3.3V 16-bit PC Card
  function 0: [ready], [bat low]

So the card gets recognized by the system. But it is not activated.
When I try with another LAN (not WLAN) card, I get "pcnet_cs:
RequestIRQ: Resource in use" in dmesg. Apart from that I see (when
booting with the LAN card):

Linux Kernel Card Services 3.1.22
  options: [pci] [cardbus] [pm]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Intel PCIC probe: not found.
Yenta IRQ list 0010, PCI irq17
Socket status: 30000411
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x400-0x47f
0x4d0-0x4d7
cs: IO port probe 0x4400-0x44ff: clean.
cs: IO port probe 0x4000-0x40ff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
pcnet_cs: RequestIRQ: Resource in use

The system is debian GNU/Linux unstable, Kernel 2.4.21 (still waiting
for 2.4.22 with better ACPI support, as AFAICT ACPI is also about
IRQs. The patches from acpi.sf.net don't apply well to the debian
kernel sources.)

Who can tell me what to try next to get the card working?

Nadine

PS: I had the card working in my old laptop (also debian unstable) by
just plugging it in, so I strongly believe this is about bad
interaction between hardware and OS rather than about configuration.



Relevant Pages

  • Edimax CardBus CIS problem
    ... I try to run an Edimax cardbus fast ethernet card with David Hinds pcmcia ... Memory Range FFEFFE00-FFEFFFFF ... cs: IO port probe 0x0208-0x021f: clean. ...
    (Debian-User)
  • Re: 2.6.18-rc7-mm1 - gregkh-driver-pcmcia-device.patch breaks orinoco card
    ... This one breaks the orinoco wireless card on my Dell Latitude C840. ... cs: IO port probe 0x3e0-0x4ff: clean. ... eth2: ...
    (Linux-Kernel)
  • PCMCIA please help
    ... G) Kernel Configuration ... I try to run an Edimax cardbus fast ethernet card with David Hinds pcmcia ... cs: IO port probe 0x0208-0x021f: clean. ...
    (Debian-User)
  • Xircom CE3B-100 on Kernel 2.4.18/Debian 3.0
    ... kernel is 2.4.18) and am finding that pcmcia-cs detects the adaptor but can ... interpret the supported card list at pcmcia-cs.sourceforge.net, ... cs: memory probe 0x0d0000-0x0dffff: clean. ... cs: IO port probe 0x0208-0x021f: clean. ...
    (comp.os.linux.networking)
  • Re: cardbus trouble
    ... The dmesg with both cardbus and cbb debuging enabled is included below. ... Again, it shows insertion of the cardbus card which fails, followed by the pccard ... <ACPI PCI bus> on pcib0 ... cbb0: Found memory at f0000000 ...
    (freebsd-current)