Re: 'spurious 8259A interrupt: IRQ7'

Piter Punk (piterpk@terra.com.br)
Wed, 28 Nov 2001 12:23:52 -0200


Richard B. Johnson wrote:

>
> 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.

Hmmmm. I have a driver installed! I use a printer in my parallel port and i
need lp module is installed.

But... i am go to see if this message appears only on boot (before i load
the module) or appears all time...


> 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.

-- 
   ____________
  / Piter PUNK \_____________________________________________________
|                                                                   |
|      |        E-Mail: piterpk@terra.com.br         (personal)     |
|     .|.               roberto.freires@gds-corp.com (professional) |
|     /V\                                                           |
|    // \\      UIN: 116043354  Homepage: www.piterpunk.hpg.com.br  |
|   /(   )\                                                         |
|    ^`~'^         ----> Slackware Linux - The Best One! <----      |
|   #105432                                                         |
`-------------------------------------------------------------------'

- 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/