Re: 'spurious 8259A interrupt: IRQ7'

Richard B. Johnson (root@chaos.analogic.com)
Wed, 28 Nov 2001 09:06:12 -0500 (EST)


On Wed, 28 Nov 2001, Chris Meadors wrote:

> On Wed, 28 Nov 2001, Martin Eriksson wrote:
>
> > I'm starting to believe it has something to do with the parallel port being
> > unconnected, thus sending random signals to the mobo causing an interrupt?
> > If this is the case it is very possible that it has to do with correct
> > grounding also...
>
> Actually I believe way back there was a discussion about this same
> message, Alan Cox said he thought it was caused by bad parallel ports.
>
> That said I see it on 2 Athlon boxes with VIA chipsets. One I had never
> seen the message until I removed the parallel port QuickCam I had hooked
> up.
>

IRQ7 is usually connected to the parallel port. If there is no driver
installed, that expects interrupts, you could end up with this
annoying message because the printer status bits are all ORed into
that IRQ line. You can disable this with software, though, and it
might be a good idea.

outb(0, BASE+2);

... where BASE is 0x278, 0x378, 0x3bc, etc.. the printer ports.

Also, a catch-all for confused interrupt controllers is IRQ7. Even
without a parallel port, you can still get an occasional spurious
interrupt. I think the kernel should have an interrupt handler for
this interrupt that does nothing except ACK the interrupt and
keep its mouth shut. The request_irq() procedure should ignore
the fact that it is "in use", and let any driver have it without
sharing it.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

I was going to compile a list of innovations that could be
attributed to Microsoft. Once I realized that Ctrl-Alt-Del
was handled in the BIOS, I found that there aren't any.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/