This is an old revision of the document!
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.
The virtualbox maintainers are reachable on IRC #freebsd-vbox or per mail vbox (at) FreeBSD.org
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) | | |
| 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 | vboxbot buildlog | |
| Update virtualbox devel ports and kBuild-devel | | |
| 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) | | |
| Task | Status | Responsible |
| Guest Additions: Support for multiple virtual screens | needs verification | |
| Guest Additions: Seamless windows | needs verification | |
| 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 | Bugreport ; affects 9-STABLE and CURRENT ; Patch |
| Bug | Status | Log/Reference |
| vboxwebsrv: ASSERTION: src/libs/xpcom18a4/xpcom/components/nsNativeComponentLoader.cpp, line 160 | open | Bugreport |
| Network: write Failed: Cannot allocate memory ⇒ increase net.graph.maxdata in /boot/loader.conf | closed | Similar Bugreport |
| Bug | Status | Log/Reference |
| Guru Meditation: Invalid argument {lapic} | open | Bugreport ; Logfile |
| vty switching while starting a VM gives an error | open | |
| Bug | Status | Log/Reference |
| snapshots: Unsupported version 2 of data unit '8237A' | open | Bugreport |
| PANIC: booting from an ISO | open | Bugreport ; Stacktrace |
| MEM: memobj-r0drv-freebsd.c:396: error: 'PG_UNMANAGED' undeclared | fixed | PR ports/159675 ; Patch |
| panic: mutex vm page queue free mutex not owned at sys/vm/vm_phys.c:882 | fixed | Patch |
| 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 | Bugreport |
| 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 | Bugreport |
| Bug | Status | Log/Reference |
| freezed under heavy load in guests with filesystem full | open | Bugreport |
| vbox kmod: vm_page_dirty: page is invalid! | open | Bugreport |
| Bug | Status | Log/Reference |
| Guru Meditation -2701 (VERR_VMM_RING0_ASSERTION) | open | Log |
| 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 | Log |
| PATM: !pPatchToGuestRec | open | Log |
| USB: pDev→enmState == VUSB_DEVICE_STATE_RESET | open | Log ; only Windows XP 32bit guest works |
| 3D: crash on startup | feedback | Log ; need stacktrace |
| Bug | Status | Log/Reference |
| LOCKING: RTLockValidator in PDMBlkCache.cpp(654) void pdmBlkCacheCommit(PDMBLKCACHE*) | open | Log |
| GURU: idHostCpu == pVCpu→idHostCpu in HWACCMAll.cpp(116) void hwaccmMpPokeCpu(VMCPU*, RTCPUID) | open | Log |
| 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) |
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