[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200611051957.45260.ak@suse.de>
Date: Sun, 5 Nov 2006 19:57:45 +0100
From: Andi Kleen <ak@...e.de>
To: caglar@...dus.org.tr
Cc: linux-kernel@...r.kernel.org, Zachary Amsden <zach@...are.com>,
Gerd Hoffmann <kraxel@...e.de>,
john stultz <johnstul@...ibm.com>
Subject: Re: [Opps] Invalid opcode
On Sunday 05 November 2006 18:17, S.Çağlar Onur wrote:
> 05 Kas 2006 Paz 18:40 tarihinde, Andi Kleen şunları yazmıştı:
> > How do you know this?
>
> Just guessing, if im not wrong panics occur after SMP alternative switching
> code done its job.
Can you test with "noreplacement" to make sure?
Anyways I suspect we're just getting back some variant of the old CPU setup race.
Normally CPU booting in Linux follows a special "cpu hotplug" state machine,
but for historical reasons i386 only implements one state of this. At one
point we had a similar bug (but not in the callback on CPU #0, but in
the timer on newly booted CPU). I don't see currently how it can happen
(but i haven't thought very deeply about it yet)
Probably your timing is just unlucky on those simulators.
Previously we avoided converting i386 cpu bootup fully to the new state
machine because it is very fragile, but it's possible that there
is no other choice than to do it properly. Or maybe another kludge
is possible.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists