Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261821AbTEKRwk (ORCPT ); Sun, 11 May 2003 13:52:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261824AbTEKRwk (ORCPT ); Sun, 11 May 2003 13:52:40 -0400 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:60750 "EHLO frodo.biederman.org") by vger.kernel.org with ESMTP id S261821AbTEKRwj (ORCPT ); Sun, 11 May 2003 13:52:39 -0400 To: Alan Cox Cc: CaT , Andi Kleen , Linus Torvalds , Linux Kernel Mailing List Subject: Re: [PATCH] Use correct x86 reboot vector References: <20030510025634.GA31713@averell> <20030510033504.GA1789@zip.com.au> <1052578182.16166.6.camel@dhcp22.swansea.linux.org.uk> From: ebiederm@xmission.com (Eric W. Biederman) Date: 11 May 2003 12:01:57 -0600 In-Reply-To: <1052578182.16166.6.camel@dhcp22.swansea.linux.org.uk> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1303 Lines: 27 Alan Cox writes: > On Sad, 2003-05-10 at 04:35, CaT wrote: > > On Sat, May 10, 2003 at 04:56:34AM +0200, Andi Kleen wrote: > > > Extensive discussion by various experts on the discuss@x86-64.org > > > mailing list concluded that the correct vector to restart an 286+ > > > CPU is f000:fff0, not ffff:0000. Both seem to work on current systems, > > > but the first is correct. > > > > Could this bug, by any chance, cause a system to shutdown instead of > > rebooting? This is what happens to me at the moment but not each and > > every time. > > Unlikely. But try it and see 8) > > At least some SMP boxes freak if you do a poweroff request on CPU != 0 As per the MP spec. The system should reboot on the bootstrap cpu. smp_processor_id() == 0 on x86. apicid?? I have a patch for this as part my kexec stuff as the kernel freaks when it doesn't start up on the bootstrap cpu as well. I am busily cleaning it up so it works in interrupt context as well. Alan if you want it holler and I can send it to you as well. Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/