Re: 2.6.18 Nasty Lockup

john stultz
2006-09-26T22:59:44Z

On Wed, 2006-09-27 at 08:02 +1000, Greg Schafer wrote:
> On Tue, Sep 26, 2006 at 01:15:51PM -0700, john stultz wrote:
> > On Tue, 2006-09-26 at 22:36 +1000, Greg Schafer wrote:
> > > This is a _hard_ lockup. No oops, no magic sysrq, no nuthin, just a
> > > completely dead machine with only option the reset button. Usually happens
> > > within a couple of minutes of desktop use but is 100% reproducible. Problem
> > > is still there in a fresh checkout of current Linus git tree (post 2.6.18).
> > >
> > > Dual Athlon-MP 2200's on a Tyan S2466 Tiger MPX. Config attached.
> > >
> > > I used git-bisect and arrived at the apparent culprit below. Anything else I
> > > should do to gather more info?
> >
> > Quick test: Does enabling CONFIG_ACPI change the behavior?
>
> Yes. It doesn't lockup now, at least it hasn't yet. Should I always
> configure with CONFIG_ACPI? I've usually avoided it.

Yea. Dual proc AMD systems tend to not have synced TSCs, so we fall back
to whatever is available. If ACPI is not enabled, that usually means
only the PIT is left (otherwise the ACPI PM or HPET can be used).

>
> On Tue, Sep 26, 2006 at 11:18:02AM -0700, john stultz wrote:
> > Thanks for narrowing this down. Could you send me full dmesg output?
>
> Sure, attached (non CONFIG_ACPI case).

Thanks, that confirms the above theory. It seems there is a SMP race w/
the PIT clocksource. Andi was having a similar issue, and I had some
difficulty reproducing it (my dev box is UP) but I'll grab an SMP system
and try a few tests.

Thanks so much again for narrowing this down and providing quick
feedback!
-john