Kernel trap when booting inside VirtualBox

From: <paulw_at_fisheyehq.com>
Date: Tue, 12 Apr 2016 07:14:47 +0100
Hi,

Has anyone else got an issue with running FreeBSD SVN r297810 inside a 
VirtualBox session?

I installed 10.3, booting under EFI on my second harddrive (Windows in 
on the first drive). FreeBSD would boot correctly from UEFI boot or from 
inside VirtualBox. I SVNed up to head (r297810), compiled and installed 
it.
It will now boot correctly from UEFI boot, but kernel traps very early 
on when booted from VirtualBox.

As a side note, I am using booting from zfs.
I am starting FreeBSD by calling boot1.efi from inside EFIShell (from 
both UEFI boot and VirtualBox)

Has anyone else seen this? Is it my setup?

real memory  = 4831838208 (4608 MB)
avail memory = 4096802816 (3907 MB)
Event timer "LAPIC" quality 400
APIC APIC Table: <VBOX   VBOXAPIC>
Random: unblocking device.
Loapic0 <Version 1.1> irqs 0-23 on motherboard Kernel trap 1 with 
interrupts disabled


Fatal trap 1: privileged instruction fault while in kernel mode cpuid = 
0: apic id = 00
instruction pointer     = 0x20:0xffffffff80fed419
stack pointer           = 0x28:0xffffffff824d9c00
frame pointer           = 0x28:0xffffffff824d9c80
code segment            = base 0x0, Limit 0xfffff, type 0x1b
                          = DPL 0, pres 1, long 1, def32 0, gran 1
Processor eflags        = resume, IOPL = 0
Current process         = 0 (swapper)
[ thread pid 0 tid 100000 ]
Stopped as      native_lapic_setup+0x99:         lesl    %edx,%esp
db>bt
Tracing pis 0 tid 100000 td 0xffffffff81d351b0
native_lapic_setup() at native_lapic_setup+0x99/frame 0xffffffff8249c80
apic_setup_io() at apic_setup_io+0x53/frame 0xffffffff824d9c90
mi_startup() at mi_startup+0x118/frame 0xffffffff824d9cb0
btext() at btext+0x2c
db>


Many Thanks
Paul
Received on Tue Apr 12 2016 - 04:14:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:04 UTC