Skip to contentSkip to conversation

irqmask doesn't work

DISCUSSION Jing Xu 2 participants 2 messages Nov 26, 2003 – Dec 1, 2003

lore
Share & tools
lore

Jing Xu

author
#0 lore raw

Hello,

I'm having some trouble with PCI IRQ's and I was hoping someone here could help.

I'm running linux 2.4.20 and rtai 24.1.11. My linux kernel module needs to use IRQ 9 10 11 for AGP graphic card, sound card and PCI-Dio24 IO card. These irqs are also shared by USB controllers. My module hangs when it tries to request the above irqs used by USB devices. I figured it would be a good idea to remove this apparent conflict. I have scoured the web and found that I can reserve these IRQs by specifying pci=irqmask=0xxxxx on the kernel boot line.

I have tried to set "pci=irqmask=0xf1e8" to reserve Irq 9 10 11 4 from my driver, and it hasn't had any effect - those irqs are still used by usb controllers on initialization.

How do I change these IRQ's? Is there some other configuration file I haven't found? If anyone can provide any insight into this, I would appreciate it greatly. Let me know what/if any details you need - I am by no means an expert in this area and didn't want to post reams of irrelevant information, but if there is something I'm missing let me know and I'll get it...

Thanks in advance,

jing

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

#1 lore raw

Try 'man sysctl'
http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-proc-sysctl.html

Sometimes it is more difficult to juggle these things in software than to make sure the machine is doing PnP properly. USB is a 'WinTel' standard & broken on many older motherboards. Check your BIOS for updates and settings to make sure Plug-n-Play is enabled, legacy IRQs are not reserved. Sometimes moving a card from one PCI slot to another enables PnP to overcome conficts, in redhat 'kudzu' should detect changes. -Art@JAX

Quoted 32 lines · Jing Xu

Hello,

I'm having some trouble with PCI IRQ's and I was hoping someone here could help.

I'm running linux 2.4.20 and rtai 24.1.11. My linux kernel module needs to use IRQ 9 10 11 for AGP graphic card, sound card and PCI-Dio24 IO card. These irqs are also shared by USB controllers. My module hangs when it tries to request the above irqs used by USB devices. I figured it would be a good idea to remove this apparent conflict. I have scoured the web and found that I can reserve these IRQs by specifying pci=irqmask=0xxxxx on the kernel boot line.

I have tried to set "pci=irqmask=0xf1e8" to reserve Irq 9 10 11 4 from my driver, and it hasn't had any effect - those irqs are still used by usb controllers on initialization.

How do I change these IRQ's? Is there some other configuration file I haven't found? If anyone can provide any insight into this, I would appreciate it greatly. Let me know what/if any details you need - I am by no means an expert in this area and didn't want to post reams of irrelevant information, but if there is something I'm missing let me know and I'll get it...

Thanks in advance,

jing