Technical article 109455

After installing a card in my system, some interrupts are reassigned.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

After installing a card in my machine, some interrupts are reassigned.

Cause

The reasons for the IRQ changes have to do with the SMP architecture of the particular machine.

In a standard Intel machine, you will find interrupt vectors (IRQs)
0-15. These are the interrupts you know from the BIOS, PCI setup,
or the "hw -r pci" output.  The 16 IRQs are handled through the
PIC (Programmable Interrupt Controller).  The Intel APIC (Advanced
Programmable Interrupt Controller) design expands these 16 IRQs
to 255 IRQs.
In reality, the hardware doesn't change.  Without SMP installed,
the APIC emulates a PIC; with SMP installed, the interrupts are
handled by the APIC.  Although this does not explain why the IRQs
change, it should help in understanding why there are IRQs higher
than 15.
The reason for the change of the IRQs is due to a method of IRQ
routing, defined in the Intel APIC specification 1.4, which is
called "variable interrupt routing."  This means that an interrupt,
as it is assigned through the BIOS setup, might be routed to a new
IRQ when the APIC initializes and the corresponding MP configuration
table of the system BIOS specifies a new IRQ for a particular (PIC)
interrupt.
Note that some devices don't handle this IRQ remapping as well as
expected. It may cause cards to fail when in particular slots or
with particular resources assigned to them.  A driver for any PCI
device (HBA or NIC, for instance) has to read the interrupt line
using the routine 'get_intr_arg()' in order to get the interrupt
argument passed when the interrupt service routine of that driver
is called from the kernel.  Some drivers don't do this correctly,
or at all, but instead use the interrupt lines configured in the
PCI configuration space, which is only valid until the APIC gets
initialized.

Solution

If you have installed SMP and are now having problems with certain devices or certain slots, there are a few things you can try to recover those devices:

- Move the card to another PCI slot or another PCI bus; - Use separate PCI busses for HBAs and NICs; - Install the latest release supplements for your release of the operating system; - Acquire newer drivers from your third-party hardware vendors; - Upgrade the PCI BIOS of the machine.

If none of these work, contact your hardware vendor and/or your support provider.

From the Xinuos technical article database, record 109455. Reproduced with permission. The original is at www.sco.com/ta/109455, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.