pci-pcmcia bridge IRQ problem
Mustafa C. Kuscu
Mustafa.Kuscu
Tue Mar 16 05:12:29 PST 2004
Dear hostap community,
I am running hostap 0.2.0 for experimentation purposes on a few RH Linux
boxes. A couple of them need be PowerEdge servers with ServerWorks
motherboard and controllers. My problem is that no IRQ is being assigned
to a TI 1410 pcmcia bridge.
Up until now, I have tried adding 'pci=biosirq', and disabling the apic.
Still, I am receiving "resource in use" from orinoco_cs module. I will
switch to a hostap-compatible Prism2 card after making the bridge work.
Thanks in advance for your help,
Mustafa
dmesg:
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Enabling device 00:07.0 (0000 -> 0002)
PCI: No IRQ known for interrupt pin A of device 00:07.0.
Yenta IRQ list 0000, PCI irq0
Socket status: 30000011
cs: IO port probe 0x0c00-0x0cff: excluding 0xc00-0xc07 0xc10-0xc17
0xc48-0xc57 0xc68
-0xc6f 0xcd0-0xcd7
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x408-0x40f
0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
hermes.c: 4 Dec 2002 David Gibson <hermes at gibson.dropbear.id.au>
orinoco.c 0.13d (David Gibson <hermes at gibson.dropbear.id.au> and others)
orinoco_cs.c 0.13d (David Gibson <hermes at gibson.dropbear.id.au> and
others)
orinoco_cs: RequestIRQ: Resource in use
/var/log/messages:
Mar 15 19:56:29 client1 pcmcia: cardmgr.
Mar 15 19:56:29 client1 cardmgr[665]: starting, version is 3.1.31
Mar 15 19:56:29 client1 rc: Starting pcmcia: succeeded
Mar 15 19:56:30 client1 cardmgr[665]: watching 1 sockets
Mar 15 19:56:30 client1 cardmgr[665]: Card Services release does not match
Mar 15 19:56:30 client1 cardmgr[665]: socket 0: Lucent Technologies
WaveLAN/IEEE Adapter
Mar 15 19:56:30 client1 cardmgr[665]: executing: 'modprobe hermes'
Mar 15 19:56:30 client1 cardmgr[665]: executing: 'modprobe orinoco'
Mar 15 19:56:30 client1 cardmgr[665]: executing: 'modprobe orinoco_cs'
Mar 15 19:56:30 client1 kernel: orinoco_cs: RequestIRQ: Resource in use
Other messages of interest are as follows:
Kernel command line: ro root=LABEL=/ pci=biosirq apic=off
[root at client1 root]# lspci
00:00.0 Host bridge: ServerWorks: Unknown device 0017 (rev 32)
00:00.1 Host bridge: ServerWorks: Unknown device 0017
00:02.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet
Controller (rev 02)
00:07.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus
Controller (rev 01)
00:08.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:0e.0 IDE interface: ServerWorks: Unknown device 0217 (rev a0)
00:0f.0 Host bridge: ServerWorks: Unknown device 0203 (rev a0)
00:0f.1 IDE interface: ServerWorks: Unknown device 0213 (rev a0)
00:0f.2 USB Controller: ServerWorks: Unknown device 0221 (rev 05)
00:0f.3 ISA bridge: ServerWorks: Unknown device 0227
[root at client1 root]# cat /proc/interrupts
CPU0
0: 8489 XT-PIC timer
1: 3 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 52 XT-PIC usb-ohci
8: 1 XT-PIC rtc
10: 539 XT-PIC eth0
11: 0 XT-PIC ide2
14: 2907 XT-PIC ide0
NMI: 0
ERR: 0
[root at client1 root]# cat /etc/sysconfig/pcmcia
PCMCIA=yes
#PCIC=i82365
#PCIC=ds
PCIC=yenta_socket
PCIC_OPTS=
CORE_OPTS=
[root at client1 root]# cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: ServerWorks GCNB-LE Host Bridge (rev 50).
Bus 0, device 0, function 1:
Host bridge: ServerWorks GCNB-LE Host Bridge (#2) (rev 0).
Bus 0, device 2, function 0:
Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet Controller
(rev 2).
IRQ 10.
Master Capable. Latency=32. Min Gnt=255.
Non-prefetchable 32 bit memory at 0xfe100000 [0xfe11ffff].
I/O at 0xecc0 [0xecff].
Bus 0, device 7, function 0:
CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller
(rev 1).
Master Capable. Latency=32. Min Gnt=64.Max Lat=3.
Non-prefetchable 32 bit memory at 0x20000000 [0x20000fff].
Bus 0, device 8, function 0:
VGA compatible controller: ATI Technologies Inc Rage XL (rev 39).
Master Capable. Latency=32. Min Gnt=8.
Non-prefetchable 32 bit memory at 0xfd000000 [0xfdffffff].
I/O at 0xe800 [0xe8ff].
Non-prefetchable 32 bit memory at 0xfe121000 [0xfe121fff].
Bus 0, device 14, function 0:
IDE interface: PCI device 1166:0217 (ServerWorks) (rev 160).
IRQ 11.
Master Capable. Latency=64.
I/O at 0x1e8 [0x1ef].
I/O at 0x3ec [0x3ef].
I/O at 0x168 [0x16f].
I/O at 0x36c [0x36f].
I/O at 0x900 [0x90f].
Bus 0, device 15, function 0:
Host bridge: ServerWorks CSB6 South Bridge (rev 160).
Master Capable. Latency=32.
Bus 0, device 15, function 1:
IDE interface: ServerWorks CSB6 RAID/IDE Controller (rev 160).
Master Capable. Latency=64.
I/O at 0x8b0 [0x8bf].
Bus 0, device 15, function 2:
USB Controller: ServerWorks CSB6 OHCI USB Controller (rev 5).
IRQ 5.
Master Capable. Latency=32. Max Lat=80.
Non-prefetchable 32 bit memory at 0xfe120000 [0xfe120fff].
Bus 0, device 15, function 3:
ISA bridge: ServerWorks GCLE-2 Host Bridge (rev 0).
[root at client1 root]# cat /proc/modules
orinoco_cs 5588 0 (unused)
orinoco 39724 0 [orinoco_cs]
hermes 8068 0 [orinoco_cs orinoco]
autofs 13268 0 (autoclean) (unused)
ds 8680 1 [orinoco_cs]
yenta_socket 13536 1
pcmcia_core 57248 0 [orinoco_cs ds yenta_socket]
Mustafa C. Kuscu
Computer Science and Electrical Engineering
University of Maryland, Baltimore County
More information about the Hostap
mailing list