This page details the ongoing effort of porting VirtualBox to FreeBSD. If you are interested in helping please tell us first to not duplicate work.
This page was last edited in 2012.
Contact
The virtualbox maintainers are reachable on IRC #freebsd-vbox or per mail vbox (at) FreeBSD.org
VirtualBox ToDo
Userland Tasks
Task |
Status |
Responsible |
Create our own vbox@ mailinglist |
|
decke |
Migrate wiki page to redports |
|
decke |
document updating devel ports (vboxgen) |
|
decke |
document resources (kBuild PRs, vbox PRs) |
|
decke |
improve kmod debugging |
|
decke |
Update all ports from OPTIONS to OptionsNG |
|
|
Guest Additions: Implement vboxsf (shared folders) |
Work in progress |
mmokhi |
Guest Additions: FreeBSD installer to be able to build a VBoxAdditions.iso with FreeBSD support |
|
bug technologov when ready |
recurring: |
|
|
Keep VirtualBox trunk build fine with vbox buildbot |
|
|
Update virtualbox devel ports and kBuild-devel |
|
|
Kernel tasks
Task |
Status |
Responsible |
PCI Passthrough support (Kernel API for Intel/AMD IOMMU, BHyVe has code for that) |
|
|
USB support needs fixing (only works with a few guests and specific devices) |
|
|
Bridged networking has performance issues (see bugreports) |
|
|
Poweruser tasks
Task |
Status |
Responsible |
Guest Additions: Support for multiple virtual screens |
needs verification |
|
Guest Additions: Seamless windows |
needs verification |
|
VirtualBox 4.x.x Bugs
VirtualBox 4.1.16
Bug |
Status |
Log/Reference |
VNC: VBoxHeadless crashes on client connect |
open |
flo@, |
Additions: VBoxSharedClipboard.so: Undefined symbol "_Z20vboxClipboardConnectP24_VBOXCLIPBOARDCLIENTDATAb" |
open |
flo@ |
X11 Additions: undefined reference to `operator new(unsigned long)' |
fixed |
VirtualBox 4.1.14
Bug |
Status |
Log/Reference |
vboxwebsrv: ASSERTION: src/libs/xpcom18a4/xpcom/components/nsNativeComponentLoader.cpp, line 160 |
open |
|
Network: write Failed: Cannot allocate memory => increase net.graph.maxdata in /boot/loader.conf |
closed |
VirtualBox 4.1.8
Bug |
Status |
Log/Reference |
VIMAGE: PANIC on vm shutdown |
fixed |
|
VIMAGE: PANIC with vboxnetadp |
fixed |
|
Audio: pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead |
open |
VirtualBox 4.1.0
Bug |
Status |
Log/Reference |
Guru Meditation: Invalid argument {lapic} |
open |
|
vty switching while starting a VM gives an error |
open |
|
VirtualBox 4.0.12
Bug |
Status |
Log/Reference |
snapshots: Unsupported version 2 of data unit '8237A' |
open |
|
PANIC: booting from an ISO |
open |
|
MEM: memobj-r0drv-freebsd.c:396: error: 'PG_UNMANAGED' undeclared |
fixed |
|
panic: mutex vm page queue free mutex not owned at sys/vm/vm_phys.c:882 |
fixed |
VirtualBox 4.0.10
Bug |
Status |
Log/Reference |
Guest: em0: Unable to allocate bus resource: memory |
patched |
Bugreport ; fixed in CURRENT r224254 ; ACPI Patch for vbox |
VMM: pVM->tm.s.cVirtualTicking |
open |
|
PAGEFUSION: VERR_PGM_PHYS_INVALID_PAGE_ID (-1637) - Trying to free a page with an invalid Page ID. |
open |
Bugreport; also affects Linux/Solaris hosts |
USB: Expression: i < 0 |
open |
VirtualBox 4.0.8
Bug |
Status |
Log/Reference |
freezed under heavy load in guests with filesystem full |
open |
|
vbox kmod: vm_page_dirty: page is invalid! |
open |
VirtualBox 4.0.6
Bug |
Status |
Log/Reference |
Guru Meditation -2701 (VERR_VMM_RING0_ASSERTION) |
open |
|
Guru Meditation -4002 (VERR_VMX_INVALID_VMXON_PTR) |
open |
Log ; Bugreport ; probably the same cause as the -4001 error |
VT-x: Guru Meditation -4001 (VERR_VMX_INVALID_VMCS_PTR) |
open |
Log ; Bugreport ; emulation thread scheduled onto another CPU while in hardware virtualization mode but preemption should be disabled for that thread ; Please compile with DEBUG and VBOX_WITH_R0_LOGGING=1 and set VBOX_LOG_FLAGS="time thread tid" and VBOX_LOG="+hwaccm.e.f.l" as environment variables before starting the VM then send logfile |
mState == SessionState_Locked OR mState == SessionState_Spawning |
open |
|
PATM: !pPatchToGuestRec |
open |
|
USB: pDev->enmState == VUSB_DEVICE_STATE_RESET |
open |
Log ; only Windows XP 32bit guest works |
3D: crash on startup |
feedback |
Log ; need stacktrace |
VirtualBox 4.0.4
Bug |
Status |
Log/Reference |
LOCKING: RTLockValidator in PDMBlkCache.cpp(654) void pdmBlkCacheCommit(PDMBLKCACHE*) |
open |
|
GURU: idHostCpu == pVCpu->idHostCpu in HWACCMAll.cpp(116) void hwaccmMpPokeCpu(VMCPU*, RTCPUID) |
open |
|
3D: failed to deserialize/set exception: 'NS_SUCCEEDED(rv) in ipcDConnectService.cpp, line 2709 |
open |
Log ; probably because of Nvidia? |
NETWORKING: can't see all traffic flowing in a host-only interface |
open |
Log ; host-only expert needed |
3D: NS_ERROR_CALL_FAILED ProgressProxy |
feedback |
Log ; need to get coredump for VirtualBox crash (not VBoxSVC) |
FAQ
How do I get coredumps for VirtualBox?
VirtualBox is a sugid binary and no coredumps are produced per default. You need to explicitly set kern.sugid_coredump first.
sysctl kern.sugid_coredump=1
Troubleshooting
- Make sure your running kernel, world and src are in sync
AMD64 users explicitly need COMPAT_IA32 (renamed to COMPAT_FREEBSD32 in -CURRENT) in their kernel config
- The vboxdrv kernel module should be loaded via /boot/loader.conf
- Make sure your user is in the vboxusers group
Visualisation problems? Set environment variable XLIB_SKIP_ARGB_VISUALS=1 prior to start VirtualBox.
Comment out ("#") all gcc related entries in your libmap.conf, if VirtualBox fails with the following error message: "Undefined symbol atan2l".
- Installing a FreeBSD guest from ISO only works with PIIX4 virtual hard drive controller