This new version has a regression in the pulseaudio host audio driver. If enabled any VMs configured to use it fails to start. Since no fix has been found the PULSEAUDIO option is forcibly disabled. If you have any VM configured to use pulseaudio for audio input/output, please reconfigure them to use a different driver. Upstream ticket: https://www.virtualbox.org/ticket/20484 Other changes: - Remove old patches that don't apply, the audio system has been reworked upstream and the behavior of these patches is included in the new code - Add upgrading pkg-message note about the PULSEAUDIO option issue described above Reviewed by: koobs Differential Revision: https://reviews.freebsd.org/D31264
82 lines
1.9 KiB
Plaintext
82 lines
1.9 KiB
Plaintext
[
|
|
{ type: install
|
|
message: <<EOM
|
|
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 (PR#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
|
|
|
|
Check wiki page for known issues and troubleshooting:
|
|
http://wiki.freebsd.org/VirtualBox
|
|
|
|
Please report any problems to emulation@. Thanks!
|
|
EOM
|
|
}
|
|
{ type: upgrade
|
|
maximum_version: 6.1.22
|
|
message: <<EOM
|
|
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.
|
|
EOM
|
|
}
|
|
]
|