Port details |
- virtualbox-ose-71 General-purpose full virtualizer for x86 hardware
- 7.1.10_1 emulators
=0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one. - Maintainer: vbox@FreeBSD.org
 - Port Added: 2025-05-13 20:36:04
- Last Update: 2025-06-21 20:23:38
- Commit Hash: 5ab3be2
- License: GPLv2
- WWW:
- https://www.virtualbox.org/
- Description:
- Oracle VM VirtualBox is a hosted hypervisor for x86 virtualisation.
Supported guests include BSD, Haiku, Linux, OS/2, ReactOS, Solaris and
Windows.
Guest Additions are available from: emulators/virtualbox-ose-additions
For the Extension Pack: FreeBSD is not a supported host platform.
Installation of the Pack will not extend the feature set.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- virtualbox-ose-71>0:emulators/virtualbox-ose-71
- Conflicts:
- CONFLICTS_INSTALL:
- virtualbox-ose-legacy
- virtualbox-ose-nox11-legacy
- virtualbox-ose
- virtualbox-ose-nox11
- virtualbox-ose-70
- virtualbox-ose-nox11-70
- virtualbox-ose-nox11-71
- To install the port:
- cd /usr/ports/emulators/virtualbox-ose-71/ && make install clean
- To add the package, run one of these commands:
- pkg install emulators/virtualbox-ose-71
- pkg install virtualbox-ose-71
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: virtualbox-ose-71
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: amd64
- distinfo:
- TIMESTAMP = 1749075437
SHA256 (VirtualBox-7.1.10.tar.bz2) = 7d60010a4c9102613554b46f61d17b825c30ee59d8be071e52d8aac664ca9869
SIZE (VirtualBox-7.1.10.tar.bz2) = 233395034
Packages (timestamps in pop-ups are UTC):
- Slave ports:
-
- emulators/virtualbox-ose-nox11-71
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gtar : archivers/gtar
- kmk : devel/kBuild
- yasm : devel/yasm
- xsltproc : textproc/libxslt
- soapcpp2 : devel/gsoap
- pkgconf>=1.3.0_1 : devel/pkgconf
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- sdl-config : devel/sdl12
- as : devel/binutils
- lupdate : devel/qt6-tools
- lupdate : devel/qt6-tools
- qt_en.qm : devel/qt6-translations
- xorgproto>=0 : x11/xorgproto
- xorgproto>=0 : x11/xorgproto
- xcb.pc : x11/libxcb
- x11.pc : x11/libX11
- xcursor.pc : x11/libXcursor
- xext.pc : x11/libXext
- xinerama.pc : x11/libXinerama
- xmu.pc : x11-toolkits/libXmu
- xt.pc : x11-toolkits/libXt
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- vboxnet : emulators/virtualbox-ose-kmod-71
- python3.11 : lang/python311
- lupdate : devel/qt6-tools
- lupdate : devel/qt6-tools
- qt_en.qm : devel/qt6-translations
- xcb.pc : x11/libxcb
- x11.pc : x11/libX11
- xcursor.pc : x11/libXcursor
- xext.pc : x11/libXext
- xinerama.pc : x11/libXinerama
- xmu.pc : x11-toolkits/libXmu
- xt.pc : x11-toolkits/libXt
- Library dependencies:
-
- libpng.so : graphics/png
- libcurl.so : ftp/curl
- libdbus-1.so : devel/dbus
- libvncserver.so : net/libvncserver
- libxml2.so : textproc/libxml2
- libGL.so : graphics/libglvnd
- libSDL.so : devel/sdl12
- libQt6Core.so : devel/qt6-base
- libQt6Scxml.so : devel/qt6-scxml
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for virtualbox-ose-71-7.1.10_1:
AIO=on: Enable Asyncronous IO support (check pkg-message)
ALSA=off: ALSA audio architecture support
DBUS=on: D-Bus IPC system support
DEBUG=off: Debug symbols, additional logs and assertions
DOCS=on: Build and/or install documentation
GUESTADDITIONS=off: Build with Guest Additions
NLS=on: Native language support (requires QT6)
OGG=off: Use libogg from audio/libogg instead of bundled one
PYTHON=on: Python bindings or support
QT6=on: Build with QT6 frontend (requires X11)
R0LOGGING=off: Enable R0 logging (requires DEBUG)
UDPTUNNEL=on: Build with UDP tunnel support
VBOXIMG=off: Build vboximg-mount (requires fuse-libs)
VDE=off: Build with VDE support
VNC=on: Build with VNC support
VORBIS=off: Use libvorbis from audio/libvorbis instead of bundled one
VPX=off: Use libvpx for video recording
WEBSERVICE=on: Build Webservice
X11=on: X11 (graphics) support
===> Use 'make config' to modify these settings
- Options name:
- emulators_virtualbox-ose-71
- USES:
- compiler:c++17-lang cpe gnome iconv pkgconfig qt:6 ssl tar:bzip2 python gl qmake:no_env qt:6 xorg sdl xorg
- pkg-message:
- For install:
- VirtualBox was installed.
You need to load the vboxdrv kernel module via /boot/loader.conf:
vboxdrv_load="YES"
You also have to add all users to your vboxusers group in order to use vbox.
% pw groupmod vboxusers -m jerry
Reboot the machine to load the needed kernel modules.
Bridging Support:
=================
For bridged networking please add the following line to your /etc/rc.conf:
vboxnet_enable="YES"
USB Support:
============
For USB support your user needs to be in the operator group and needs read
and write permissions to the USB device.
% pw groupmod operator -m jerry
Add the following to /etc/devfs.rules (create if it doesn't exist):
[system=10]
add path 'usb/*' mode 0660 group operator
To load these new rule add the following to /etc/rc.conf:
devfs_system_ruleset="system"
Then restart devfs to load the new rules:
% /etc/rc.d/devfs restart
Troubleshooting:
================
Running VirtualBox as non-root user may fail with a fatal error
NS_ERROR_FACTORY_NOT_REGISTERED. In this case delete /tmp/.vbox-*-ipc file.
If you experience "Network: write Failed: Cannot allocate memory" errors
try to increase net.graph.maxdata in /boot/loader.conf
If you are using AIO, then increase these limits (https://bugs.freebsd.org/168298):
vfs.aio.max_buf_aio=8192
vfs.aio.max_aio_queue_per_proc=65536
vfs.aio.max_aio_per_proc=8192
vfs.aio.max_aio_queue=65536
To check if AIO is used use: kldstat -v | grep aio
If you are experiencing VMs freezes with an error in VBox.log such as:
"
00:01:29.590192 AssertLogRel /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44
/src/VBox/VMM/VMMR3/PGMPhys.cpp(5148) int PGMR3PhysAllocateHandyPages(PVM): RT_SUCCESS(rc)
00:01:29.590221 87/128: idPage=0x3d400 HCPhysGCPhys=000000027eaed000 rc=VERR_NO_MEMORY
00:01:29.590247 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'
00:01:29.590261 Console: Machine state changed to 'GuruMeditation'
00:01:29.590695 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
00:01:29.590696 !!
00:01:29.590697 !! VCPU0: Guru Meditation -8 (VERR_NO_MEMORY)
"
and see a lot of free RAM, then increase sysctl vm.max_user_wired
(https://bugs.freebsd.org/252227).
For dedicated VM servers, a good start is:
("RAM in GB" - max(1, "RAM in GB" / 32)) * 1024*1024*1024 / PAGE_SIZE
PAGE_SIZE on x86 is 4096.
Examples with different RAM sizes in GB:
16: ( 16-max(1, 16/32)*1024*1024*1024/4096 = 3932160 => 15GB
32: ( 32-max(1, 32/32)*1024*1024*1024/4096 = 8126464 => 31GB
48: ( 48-max(1, 48/32)*1024*1024*1024/4096 = 12189696 => 46.5GB
64: ( 64-max(1, 64/32)*1024*1024*1024/4096 = 16252928 => 62GB
128: (128-max(1,128/32)*1024*1024*1024/4096 = 32505856 => 124GB
256: (256-max(1,256/32)*1024*1024*1024/4096 = 65011712 => 248GB
When assigning IP addresses in host-only mode from ranges outside
of VirtualBox's defaults, the respective ranges need to be listed
in /usr/local/etc/vbox/networks.conf (https://bugs.freebsd.org/259399).
Check the wiki page for known issues and troubleshooting:
https://wiki.freebsd.org/VirtualBox
Please report any problems to emulation@. Thanks!
- If upgrading from < 6.1.22:
- The PULSEAUDIO option has been forcibly disabled since VirtualBox
version 6.1.24 due to a bug in it preventing virtual machines
configured to use it from starting.
When upgrading from a previous version please reconfigure any virtual
machines using the Pulseaudio host audio driver to use another
supported one.
- If upgrading from > 6.1.26 and < 6.1.32_1:
- To comply to hier(7) requirements, networks.conf's location changed
to /usr/local/etc/vbox/networks.conf.
In case /etc/vbox/networks.conf exists, it needs to be moved to
/usr/local/etc/vbox and /etc/vbox should be deleted.
- Master Sites:
- There is no master site for this port.
|
Number of commits found: 5
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
7.1.10_1 21 Jun 2025 20:23:38
    |
Vladimir Druzenko (vvd)  |
emulators/virtualbox-ose*: Improve rc script
- Add sort VMs by name during auto start and reverse sort during stop -
with this user can control the order in which VMs are started and stopped.
- Increase default delay between start VMs from 0 to 1 second -
useful when automatically starting more than "2-3" VMs. |
7.1.10 05 Jun 2025 01:34:55
    |
Vladimir Druzenko (vvd)  |
emulators/virtualbox-ose{,-kmod,-nox11}-71: Update 7.1.8 => 7.1.10
Changelog:
https://www.virtualbox.org/wiki/Changelog-7.1
MFH: 2025Q2 |
7.1.8 05 Jun 2025 01:11:30
    |
Vladimir Druzenko (vvd)  |
emulators/virtualbox-ose-71: Fix build on 15-CURRENT after 1500013
kBuild: Linking VBoxSVC
(...cut...) undefined reference to `cam_close_device'
(...cut...) undefined reference to `cam_freeccb'
(...cut...) undefined reference to `cam_getccb'
(...cut...) undefined reference to `cam_open_btl'
(...cut...) undefined reference to `cam_send_ccb'
(...cut...) undefined reference to `cam_strvis'
(...cut...) undefined reference to `geom_deletetree'
(...cut...) undefined reference to `geom_gettree'
PR: 286799
MFH: 2025Q2 |
7.1.8 13 May 2025 20:33:40
    |
Vladimir Druzenko (vvd)  |
emulators/virtualbox-ose{,-kmod,-nox11}-71: Add new ports VirtualBox 7.1.8
Port based on patch from devel@stasyan.com.
The main work on porting was done by the author of the original patch.
The rest is a dozen various improvements and bug fixes that have been
made over the past few months in older versions: 7.0.x, 6.1.x, 5.2.x.
The requirements for 7.1.x are the same as for 7.0.x, but for now we'll
leave both versions in experimental/test mode.
The following ports also need to be created (they are not available for
version 7.0.x either):
- emulators/virtualbox-ose-additions-71;
- emulators/virtualbox-ose-additions-nox11-71.
www/phpvirtualbox-71 already in ports.
Changelog:
https://www.virtualbox.org/wiki/Changelog-7.1
PR: 284439 271146
Tested by: Mario Lobo <lobo@bsd.com.br>
Relnotes: yes |
7.0.26_2 13 May 2025 20:33:39
    |
Vladimir Druzenko (vvd)  |
emulators/virtualbox-ose{,-kmod,-nox11}-71: Repocopy from
emulators/virtualbox-ose{,-kmod,-nox11}-70
PR: 284439 |
Number of commits found: 5
|