under Red Hat 9 on a recent HP or Compaq Athlon PC using the O2 Micro, Inc. OZ6912
Cardbus Controller? This card worked fine on my older Compaq with Red Hat 7.3,
and works in XP.
I'm using kernel version 2.4.21-ac1 with ACPI options and without PCMCIA support.
I've compiled and installed the pcmcia-cs-3.2.4 package.
I've tried both the orinoco_cs driver and the wlan-ng driver w/o success.
I changed /etc/sysconfig/pcmcia as follows:
PCMCIA=yes #PCIC=yenta_socket PCIC=i82365 PCIC_OPTS= CORE_OPTS=
The normal beep tones do not occur when the card is inserted.
[root@xx root]# cardctl status Socket 0: 5V 16-bit PC Card function 0: [ready], [bat low] [root@xx root]# cardctl config Socket 0: Vcc 5.0V Vpp1 5.0V Vpp2 5.0V [root@xx root]# cardctl ident Socket 0: product info: "Instant Wireless ", " Network PC CARD", "Version 01.02", "" manfid: 0x0156, 0x0002 function: 6 (network)
So I believe that basic PCMCIA functionality is now working - after correcting
problems in the Red Hat 9 /etc/rc.d/init.d/pcmcia script.
I added this line to /etc/pcmcia/config.opts per a suggestion from a Compaq user:
exclude irq 10
/proc/interrupts shows:
CPU0 0: 4568841 XT-PIC timer
1: 7152 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 5134 XT-PIC ALi Audio Accelerator
9: 85820 XT-PIC acpi, usb-ohci
11: 33998 XT-PIC eth0, i82365
14: 61260 XT-PIC ide0
15: 1506778 XT-PIC ide1
NMI: 0
ERR: 0
the wlan-ng prism2 driver logs the the following in /var/log/messages:
Jul 5 21:21:41 ml kernel: Linux PCMCIA Card Services 3.2.4
Jul 5 21:21:41 ml kernel: kernel build: 2.4.21-ac1 #1 Thu Jul 3 20:27:07 CDT 2003
Jul 5 21:21:41 ml kernel: options: [pci] [cardbus] [apm]
Jul 5 21:21:41 ml kernel: Intel ISA/PCI/CardBus PCIC probe:
Jul 5 21:21:41 ml kernel: O2Micro OZ6912 rev 00 PCI-to-CardBus at slot 00:0a, mem 0x80000000
Jul 5 21:21:41 ml kernel: host opts [0]: [pci/way] [pci irq 11] [lat 32/32] [bus 2/5]
Jul 5 21:21:41 ml kernel: ISA irqs (default) = 4,7,12 PCI status changes
Jul 5 21:21:41 ml kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Jul 5 21:21:41 ml kernel: prism2_init: prism2_cs.o: 0.2.1-pre9 Loaded
Jul 5 21:21:41 ml kernel: prism2_init: dev_info is: prism2_cs
Jul 5 21:21:41 ml kernel: cs: IO port probe 0x0100-0x037f: excluding 0x378-0x37f
Jul 5 21:21:41 ml kernel: cs: IO port probe 0x0400-0x04ff: excluding 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
Jul 5 21:21:41 ml kernel: cs: IO port probe 0x0410-0x047f: clean.
Jul 5 21:21:41 ml kernel: cs: IO port probe 0x0490-0x04cf: clean.
Jul 5 21:21:41 ml kernel: cs: IO port probe 0x04d8-0x04ff: clean.
Jul 5 21:21:41 ml kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Jul 5 21:21:41 ml kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Jul 5 21:21:41 ml kernel: prism2_cs: RequestIRQ: Resource in use
Jul 5 21:21:41 ml kernel: prism2sta_config: NextTuple failure? It's probably a Vcc mismatch.
Jul 5 21:21:41 ml kernel: prism2sta_event: prism2_cs: Initialization failed!
Jul 5 21:21:41 ml kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000
Jul 5 21:21:41 ml kernel: printing eip:
Jul 5 21:21:41 ml kernel: dc8f2281
Jul 5 21:21:41 ml kernel: *pde = 00000000
Jul 5 21:21:41 ml kernel: Oops: 0000
Jul 5 21:21:41 ml kernel: CPU: 0
Jul 5 21:21:41 ml kernel: EIP: 0010:[<dc8f2281>] Not tainted
Jul 5 21:21:41 ml kernel: EFLAGS: 00010017
Jul 5 21:21:41 ml kernel: eax: 00000000 ebx: daf480d8 ecx: 00000246 edx: 00000000
Jul 5 21:21:41 ml kernel: esi: daf48000 edi: daf48000 ebp: da865c90 esp: da865c40
Jul 5 21:21:41 ml kernel: ds: 0018 es: 0018 ss: 0018
Jul 5 21:21:41 ml kernel: Process cardmgr (pid: 1096, stackpage=da865000)
Jul 5 21:21:41 ml kernel: Stack: dad31e00 db1b4ec0 daa6d800 dc8fc7d1 daf48000 db1b45c0 daa61b00 dad30c4a
Jul 5 21:21:41 ml kernel: da865ce2 dc8e25bd db1b4ec0 dad308c0 00000000 dbee7af4 db000000 dad30c40
Jul 5 21:21:41 ml kernel: dad308f8 4050643f 00000000 dad308c0 da865f90 dc8e1f0e 00000000 da865cd8
Jul 5 21:21:41 ml kernel: Call Trace: [<dc8fc7d1>] [<dc8e25bd>] [<dc8e1f0e>] [<c0169cd5>] [<c0113126>]
Jul 5 21:21:41 ml kernel: [<c011e87d>] [<c027fc4a>] [<c02be0d1>] [<c02bea28>] [<c027c5f8>] [<c012a567>]
Jul 5 21:21:41 ml kernel: [<c027c40c>] [<c027d66f>] [<c0126607>] [<c0111f38>] [<c0113126>] [<c01207fa>]
Jul 5 21:21:41 ml kernel: [<c027df79>] [<dc8e1b50>] [<c0145bcc>] [<c0107287>]
Jul 5 21:21:41 ml kernel:
Jul 5 21:21:41 ml kernel: Code: 8b 00 ff 4b 08 c7 42 08 00 00 00 00 89 58 04 89 86 d8 00 00
I verified that I compiled the kernel with CONFIG_ISA=y, and CONFIG_ISAPNP=y.
The orinoco_cs module yields similar results:
Jul 3 23:05:35 ml kernel: O2Micro OZ6912 rev 00 PCI-to-CardBus at slot 00:0a, mem 0x80000000
Jul 3 23:05:35 ml kernel: host opts [0]: [pci/way] [pci irq 11] [lat 32/32] [bus 2/5]
Jul 3 23:05:35 ml kernel: ISA irqs (default) = 4,7,12 PCI status changes
Jul 3 23:06:52 ml cardmgr[3087]: watching 1 sockets
Jul 3 23:06:52 ml cardmgr[3088]: starting, version is 3.2.4
Jul 3 23:06:52 ml kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Jul 3 23:06:52 ml cardmgr[3088]: socket 0: Intersil PRISM2 11 Mbps Wireless Adapter
Jul 3 23:06:52 ml cardmgr[3088]: executing: 'modprobe hermes'
Jul 3 23:06:52 ml cardmgr[3088]: executing: 'modprobe orinoco'
Jul 3 23:06:52 ml kernel: cs: IO port probe 0x0100-0x037f: clean.
Jul 3 23:06:52 ml kernel: cs: IO port probe 0x0400-0x04ff: excluding 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
Jul 3 23:06:52 ml kernel: cs: IO port probe 0x0410-0x047f: clean.
Jul 3 23:06:52 ml kernel: cs: IO port probe 0x0490-0x04cf: clean.
Jul 3 23:06:52 ml kernel: cs: IO port probe 0x04d8-0x04ff: clean.
Jul 3 23:06:52 ml kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Jul 3 23:06:52 ml kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Jul 3 23:06:52 ml kernel: orinoco_cs: RequestIRQ: Resource in use
Jul 3 23:06:53 ml cardmgr[3088]: get dev info on socket 0 failed: Resource temporarily unavailable
"cardctl eject" just hangs, or returns "ioctl(): Device or resource busy", so I end up
rebooting each time I need to try a new experiment. The "RequestIRQ: Resource
in use" has to be the key, but which IRQ?
Suggestions?