Interrupt routing issue on Compaq nx6325

John Baldwin jhb at freebsd.org
Thu Dec 14 09:41:29 PST 2006


On Thursday 14 December 2006 11:29, Joerg Wunsch wrote:
> As John Baldwin wrote:
> 
> > > My current workaround is (for RELENG_6)
> > > 
> > > http://people.freebsd.org/~ariff/misc/idlecpu_apic_4.diff
> > > 
> > > (hw.apic.idle_cpu=1 or 2)
> 
> > This doesn't sound like his problem.  Joerg, can you get a linux
> > dmesg and a freebsd dmesg from the box so I can compare them?
> 
> Well, at least Ariff's workaround helped my system as well.  My
> only/major concern with it is about the additional power consumption
> when running on batteries, but for the time being, I can live with two
> different boot modes for this: one that uses HLT and only 1 CPU
> (without the APIC) for minimal battery power consumption, and another
> one using the APIC and both CPU cores, with HLT disabled.
> 
> What in particular caught my eye in the Linux messages is:
> 
> Dec 12 23:33:26 remi kernel: ENABLING IO-APIC IRQs
> Dec 12 23:33:26 remi kernel: ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 
pin2=-1
> Dec 12 23:33:26 remi kernel: ..MP-BIOS bug: 8254 timer not connected to 
IO-APIC
> Dec 12 23:33:26 remi kernel: ...trying to set up timer (IRQ0) through the 
8259A ...  failed.
> Dec 12 23:33:26 remi kernel: ...trying to set up timer as Virtual Wire 
IRQ... works.
> 
> I didn't quite follow the referred to discussion of the Linux kernel
> hackers, is the above their workaround, or is that something entirely
> different?

That's something different because of the way IRQ0 doesn't consistently work 
when using APIC.  I thought you meant that you had a problem with PCI devices 
not working (i.e. an "interrupt routing problem").

-- 
John Baldwin


More information about the freebsd-acpi mailing list