Re: LS21 + HPET = boot hang (since 2.6.24-rc1)

From: John Stultz
Date: Tue Feb 10 2009 - 03:50:56 EST


On Fri, 2009-02-06 at 18:36 -0800, john stultz wrote:
> Hey Thomas,
> Just a heads up, Clark noted that on LS21s if the HPET is enabled in
> the BIOS, recent kernels hang at boot.
>
> I booted the current -git up after enabling HPET and sure enough:
>
> ENABLING IO-APIC IRQs
> ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
> ..MP-BIOS bug: 8254 timer not connected to IO-APIC
> ...trying to set up timer (IRQ0) through the 8259A ...
> ..... (found apic 0 pin 2) ...
> ....... failed.
> ...trying to set up timer as Virtual Wire IRQ...
> ..... failed.
> ...trying to set up timer as ExtINT IRQ...
> ..... failed :(.
> Kernel panic - not syncing: IO-APIC + timer doesn't work! Boot with
> apic=debug and send a report. Then try booting with the 'noapic'
> option.
>
>
> Full boot log attached. Disabling the HPET in the BIOS boots up fine.
>
> I then did some rough bisection to see when this showed up and
> apparently it hit sometime between 2.6.23 and 2.6.24-rc1.
>
> I'll do some further bisection on it next week, but if you have any
> quick ideas let me know.

Hey Thomas,

So I bisected this down to:
commit b8ce33590687888ebb900d09557b8807c4539022
Author: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Date: Fri Oct 12 23:04:07 2007 +0200

x86_64: convert to clock events

Finally switch to the clockevents code. Share code with i386 for
hpet and PIT.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Chris Wright <chrisw@xxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>



I'll try to actually look at the change and see what might be the issue
tomorrow. Again, this effects LS21's w/ HPET enabled in the BIOS, but
doesn't seem to effect other HPET systems I tested. Soif you have any
suggestions for getting helpful debug data, let me know.

thanks
-john


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/