Weird PCI interrupt delivery problem

Craig Boston craig at tobuj.gank.org
Fri Dec 2 17:43:58 PST 2005


On Fri, Dec 02, 2005 at 08:17:53AM -0500, John Baldwin wrote:
> > Argh, this is driving me up the wall.  I had a hunch that it was somehow
> > connected to level-triggered interrupts.  That seems to not be the case,
> > as upon closer inspection the SCI interrupt (9) gets reprogrammed to
> > level/low.  I can read the ACPI status all day long and the count for
> > IRQ 9 goes up and up without freezing...
> 
> Interesting.  How about IRQ 11 in non-APIC mode, is it programmed to 
> level/low?  I've seen BIOSes that do very stupid things like have the link 
> devices set to level/hi or edge/lo or even edge/hi.  A verbose boot should 
> tell you if any settings are changed though, and in the APIC case you should 
> see the initial defaults as well.

Added some printfs to i386/isa/atpic.c.  At bootup, everything is
programmed by the BIOS to edge/high, except IRQ 11 which is set to
level/low.  FreeBSD doesn't seem to be changing that as far as I can
tell. (this is -APIC -ACPI)

Craig


More information about the freebsd-hackers mailing list