Weird PCI interrupt delivery problem

John Baldwin jhb at freebsd.org
Sat Dec 3 13:35:47 PST 2005


On Friday 02 December 2005 08:43 pm, Craig Boston wrote:
> 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)

Ok.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-hackers mailing list