From nobody@FreeBSD.org  Sun Oct  9 11:05:06 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B8B8C106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  9 Oct 2011 11:05:06 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 6E3458FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  9 Oct 2011 11:05:06 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p99B56dZ049332
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 9 Oct 2011 11:05:06 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p99B56rc049317;
	Sun, 9 Oct 2011 11:05:06 GMT
	(envelope-from nobody)
Message-Id: <201110091105.p99B56rc049317@red.freebsd.org>
Date: Sun, 9 Oct 2011 11:05:06 GMT
From: Floris Bos <bsd@maxnet.eu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [loader] FreeBSD 9.0beta3 under Virtualbox: page fault when IO APIC disabled
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         161419
>Category:       kern
>Synopsis:       [loader] [vbox] FreeBSD 9.0beta3 under Virtualbox: page fault when IO APIC disabled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    vbox
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 09 11:10:01 UTC 2011
>Closed-Date:    Wed Oct 03 20:50:13 UTC 2012
>Last-Modified:  Wed Oct 03 20:50:13 UTC 2012
>Originator:     Floris Bos
>Release:        9.0 beta 3
>Organization:
>Environment:
>Description:
Running FreeBSD 9.0 beta 3 under Virtualbox 4.1.4 r74291 (KUbuntu 11.04 host system).
Not sure if this is a FreeBSD or Virtualbox bug.


When you create a new virtual machine in Virtualbox and you specify you are running FreeBSD as guest system, Virtualbox by defaults disables the IO APIC.

This crashes the FreeBSD loader with a "AE_ALREADY_EXISTS, unable to install system control interrupt handler" message.

Screenshot: http://postimage.org/image/zgtgx57o/


When enabling the IO APIC manually in the Virtualbox VM settings, it does continue to boot FreeBSD.
>How-To-Repeat:
- install Virtualbox
- create a new VM.
- in the wizzard specify you are running FreeBSD as guest OS
- attach the FreeBSD 9.0 beta 3 AMD64 install CD to the VM
- start the VM
>Fix:
Workaround:

- in virtualbox: click the VM
- press the "settings" button
- "system" -> "motherboard" tab -> enable the 'extended features: "Enable IO Apic"' checkbox.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->vbox 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Sun Oct 16 22:57:31 UTC 2011 
Responsible-Changed-Why:  
over to (correct) maintainer  

http://www.freebsd.org/cgi/query-pr.cgi?pr=161419 
State-Changed-From-To: open->closed 
State-Changed-By: decke 
State-Changed-When: Wed Oct 3 20:50:12 UTC 2012 
State-Changed-Why:  
Please verify that this bug still exists with latest VirtualBox 4.1 or 
4.2 and reopen if it does. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161419 
>Unformatted:
