From owner-freebsd-stable@FreeBSD.ORG Thu Feb 14 20:43:47 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 58CD83B9 for ; Thu, 14 Feb 2013 20:43:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 36AC3CEE for ; Thu, 14 Feb 2013 20:43:47 +0000 (UTC) Received: from pakbsde14.localnet (unknown [38.105.238.108]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 3D787B926; Thu, 14 Feb 2013 15:43:46 -0500 (EST) From: John Baldwin To: CeDeROM Subject: Re: 9.1-RELEASE AMD64 crash under VBox 4.2.6 when IO APIC is disabled Date: Thu, 14 Feb 2013 15:37:24 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <201302131048.06370.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201302141537.24701.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 14 Feb 2013 15:43:46 -0500 (EST) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 20:43:47 -0000 On Wednesday, February 13, 2013 6:56:06 pm CeDeROM wrote: > On Wed, Feb 13, 2013 at 4:48 PM, John Baldwin wrote: > >> The simple answer that I have deduced is that APIC is MANDATORY for > >> AMD64 machines and they won't run otherwise? This is why generic AMD64 > >> install fails when no APIC is enabled in the VBox? > > > > No, it is not quite like that. x86 machines have two entirely different > > sets of interrupt controllers. (...) > > Hello John :-) Things now are more clear to me, thank you for your > extensive explanation!! :-) I am wondering in that case if it wouldn't > be a good idea to put atpci (old x86 IRQ handler) in the GENERIC > configuration, or at least in the default installer kernel, so it is a > safe fallback for a AMD64 machines with no APIC support, as for > example VBox with APIC disabled..? Is atpic removed on purpose so it > enforces use of new APIC and so better performance? Real hardware should always use device apic on amd64. Even for a VM you should prefer apic. That is, I think you should just enable APIC when using VBox. -- John Baldwin