DragonFly bugs List (threaded) for 2007-04
DragonFly BSD
DragonFly bugs List (threaded) for 2007-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: lenovo R60 SMP/APIC_IO woes


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 22 Apr 2007 23:09:50 -0700 (PDT)

:In the last few hours I've noted about 24 'stray interrupt 7' messages while
:running SMP (no IOAPIC) .. I'm guessing that these are incorrectly routed
:interrupts?

    No, its probably a summary interrupt from the IOAPIC.  Because the BIOS
    is stupid, hardware chipsets are often able to route *ALL* of the masked
    IOAPIC interrupts to a single PIC interrupt.  It's usually IRQ 7 or
    IRQ 15.  Since the method to disable this routing is not usually
    documented, we have no way of turning it off short of hoping that the
    BIOS knows how to do it when we use the IOAPIC.  Some IOAPICs 
    automatically route this special interrupt if their pins are masked.
    Unfortunately, pin masking is a normal part of our interrupt handling
    code (linux does something nutty to try to avoid pin masking).

    The only real solution is for us to not use IRQ 7 at all and just
    mask it out on the PIC.

:>     kern.emergency_intr_enable	(default 0 = off)
:>     kern.emergency_intr_freq	(default 10 = 10hz)
:
:Do these need to be set by the bootloader, I suppose so, eh ?

    It can be set by the bootloader and/or at run-time with a sysctl.

:Thanks for all the info, Matt!  As always you're a great help!
:
:. any ideas about my other problem (previous message) wrt 1/2 speed kernel builds?
:
:Cheers,
:
:Andrew

    All I can think of is that its having real problems routing interrupts.
    Are you using emergency interrupt polling or does it work without that?

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]