unable to map IRQ for my pccard

Zhang Weiwu zhangweiwu at realss.com
Sat Jul 7 12:51:26 UTC 2007


Dear list

My notebook has two 16-bit PCMCIA slots, the card in the second slot
always doesn't work, it was until after a week I start to notice dmesg
showed useful information:

cbb0: <TI1250 PCI-CardBus Bridge> mem 0x20822000-0x20822fff at device 2.0 on pci0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <TI1250 PCI-CardBus Bridge> mem 0x20821000-0x20821fff at device 2.1 on pci0
pccard1: <16-bit PCCard bus> on cbb1
$PIR: ROUTE_INTERRUPT failed.
cbb: Unable to map IRQ...
device_attach: cbb1 attach returned 12
[snip]
ep0: <3Com Corporation 3C589D> at port 0x100-0x10f irq 11 function 0 config 1 on
 pccard0
ep0: Ethernet address: 00:60:97:92:c0:27

I have checked my IRQ usage (by using dmesg | grep irq) and found IRQ 3,
8, 9, 10 are not used.

atkbd0	irq 1
...	irq 2
[empty]	irq 3   <-- I disabled COM1 in kernel because hardware broken.
sio4	irq 4   <-- infrared ray
pcm0	irq 5
fdc0	irq 6
ppc0	irq 7
[empty]	irq 8   <-- not used in dmesg but some articles I read says it's for Real time clock
[empty]	irq 9
[empty]	irq 10
uhci0	irq 11
ep0	irq 11  <-- this is the device on first PCMCIA slot
psm0	irq 12
ata4	irq ?   <-- this is the (unusable) device on second PCMCIA slot
[empty] irq 13  <-- I don't think I have coprocessor on my thinkpad
[empty] irq 14  <-- not shown in dmesg but I do have atapci0 that might use it
[empty] irq 15  <-- probably not used because I don't have atapci1

I am not sure how to solve "ROUTE_INTERRUPT failed." problem, but since
I have enough free IRQ for the devices, I guess I can simply turn off
IRQ sharing or simply assign an unused IRQ number to the second device.
The free IRQ number I filled in /etc/pccard.conf seems to be completely
ignored (you can set to anything but it will always use irq 11), this is
strange. As manual suggests this is the right place to configure IRQ for
pccards.

Best regards
-- 
Zhang Weiwu
Real Softservice
http://www.realss.com
+86 592 2091112



More information about the freebsd-mobile mailing list