QNX Interrupts

We’re having problems with harware interrupt signals. There seems to be an
interrupt conflict between certain devices even though we have sufficient
number available. For example, the ethenet driver sometimes gets assigned
interrupt 10 and at other times 11 even though another device is using
interrupt 10.

Can someone list the interrupts available under QNX 4 and how to monitor
their use?

Thanks,
Shashank

Shashank <sbalijepalli@precitech.com> wrote:

We’re having problems with harware interrupt signals. There seems to be an
interrupt conflict between certain devices even though we have sufficient
number available. For example, the ethenet driver sometimes gets assigned
interrupt 10 and at other times 11 even though another device is using
interrupt 10.

Can someone list the interrupts available under QNX 4 and how to monitor
their use?

Not easily.

“sin irq” will list which processes have attached which irqs.

show_pci can be used to find the assignments of interrupts for PCI
bus hardware. But, the assignment is done by the PCI bios, not
by QNX. (And, that is what is probably happening for your ethernet
card. The driver doesn’t get assigned the interrupt, the PCI bios
assigns the interrupt to the hardware, and the driver auto-detects
this value and then uses it.)

For ISA hardware, there is no easy way to tell how assignments
have been made – it is usually done by jumper on the card, or
some sort of card-specific software config tool.

For pccard/pcmcia, some software configuration is available, and
I think the “pin” command can give info about assignments made.

-David

Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services
dagibbs@qnx.com

Thanks for the reply. How many interrupts are available under QNX4? Is it
[1-15]?

Shashank

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:cch2rl$n60$2@inn.qnx.com

Shashank <> sbalijepalli@precitech.com> > wrote:

We’re having problems with harware interrupt signals. There seems to be
an
interrupt conflict between certain devices even though we have
sufficient
number available. For example, the ethenet driver sometimes gets
assigned
interrupt 10 and at other times 11 even though another device is using
interrupt 10.

Can someone list the interrupts available under QNX 4 and how to monitor
their use?

Not easily.

“sin irq” will list which processes have attached which irqs.

show_pci can be used to find the assignments of interrupts for PCI
bus hardware. But, the assignment is done by the PCI bios, not
by QNX. (And, that is what is probably happening for your ethernet
card. The driver doesn’t get assigned the interrupt, the PCI bios
assigns the interrupt to the hardware, and the driver auto-detects
this value and then uses it.)

For ISA hardware, there is no easy way to tell how assignments
have been made – it is usually done by jumper on the card, or
some sort of card-specific software config tool.

For pccard/pcmcia, some software configuration is available, and
I think the “pin” command can give info about assignments made.

-David

Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services
dagibbs@qnx.com

Shashank <sbalijepalli@precitech.com> wrote:

Thanks for the reply. How many interrupts are available under QNX4? Is it
[1-15]?

0-15 actually.
Though, the following are always used/reserved:
0 - system timer
2 - slave 8259
13 - math coprocessor

And the following are often used:
1 - keyboard
6 - floppy
14 - primary IDE
15 - secondary IDE

And the following are sometimes in use:
3 - COM2 (serial port)
4 - COM1 (serial port)

(And, the above is more a factor of the standard x86 platform, than
QNX4, per se.)

-David

Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services
dagibbs@qnx.com

Some BIOSs allow you to disable the automatic assignment of PCI devices and
assign them yourself. I know that Intel motherboards provide this facility.

Another issue to consider is motherboard devices. Using the BIOS, I
recommend that you disable all that you aren’t using, such as parallel port,
audio, etc. This will free up IRQs, and it’s possible that automatic
assignment won’t have to double them up. It will also make it easier for you
to assign them manually, if your BIOS allows it.

“Shashank” <sbalijepalli@precitech.com> wrote in message
news:ccgthe$joi$1@inn.qnx.com

We’re having problems with harware interrupt signals. There seems to be an
interrupt conflict between certain devices even though we have sufficient
number available. For example, the ethenet driver sometimes gets assigned
interrupt 10 and at other times 11 even though another device is using
interrupt 10.

Can someone list the interrupts available under QNX 4 and how to monitor
their use?

Thanks,
Shashank

\