Bug 162169

Summary: bootloader install problem in VirtualBox, MacOS X 10.6
Product: Base System Reporter: Al Thompson <alm4x1mu5>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Al Thompson 2011-10-30 15:10:12 UTC
I attempted an install of the OS from media:

FreeBSD-9.0-RC1-amd64-bootonly.iso

in a virtual machine instance using VirtualBox 4.1.4 on Mac OS X 10.6 running on MacBook Pro.

The installer pretty much fails out of the gate. Here is the output:

===============================================================

ACPI Exception: AE_ALREADY_EXISTS, Unable to install System Control Interrupt Handler (20110527/evevent-137)
acpi0: Could not enable ACPI: AE_ALREADY_EXISTS
device_attach: acpi0 attach returned 6

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x70
fault code              = supervisor write data, page not present
instruction pointer     = 0x20:0xffffffff80b05e29
stack pointer           = 0x28:0xffffffff813d9bc0
frame pointer           = 0x28:0xffffffff813d9c00
code segment            = base rx0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (swapper)
trap number             = 12
panic: page fault
cpuid = 0
Uptime = 1s
Automatic reboot in 15 seconds - press a key on the console to abort

===============================================================

I will investigate whether boot screen ACPI options provide a good workaround.

How-To-Repeat: a. Install VirtualBox
b. Create a VM instance. I used 60 G dynamic disk and 1 G ram.
c. Boot from ISO file FreeBSD-9.0-RC1-amd64-bootonly.iso
d. Press ENTER at boot screen, proceed with default install
Comment 1 Glen Barber freebsd_committer freebsd_triage 2011-11-16 15:06:01 UTC
State Changed
From-To: open->feedback

Hi, 

I can't reproduce this problem.  Can you please try the -RC2 ISO 
(the links on the website were updated yesterday) and see if you 
still experience the issue? 

If you still have issues, can you also please provide more information 
on the host machine (amount of RAM, number of CPUs, etc), as well as 
the settings for the VM you are creating? 

Thanks.
Comment 2 Al Thompson 2011-11-21 06:24:18 UTC
The fix for this issue is to enable IO APIC in the VirtualBox settings.
With this feature enabled, FreeBSD boots fine.

This issue can be closed.
Comment 3 Jaakko Heinonen freebsd_committer freebsd_triage 2011-12-09 17:34:38 UTC
State Changed
From-To: feedback->closed

Closed at submitter's request.