Hello Community ,
I'm trying to get VirtualBox working on my freebsd 12.2p6 server .
I created my own freebsd vm and if I start the vm I can see vbox process run and consumes 100% cpu util. on one core .
When I try to login to the vm screen just show a black screen.
enabled VNC Support
# Start VM with
VNC Viewer ( apple / mac ) ip:5900
I tried to use a vagrant box . It is the same I can see process with 100% and nothing happens... .
/var/log/messages
I'm trying to get VirtualBox working on my freebsd 12.2p6 server .
I created my own freebsd vm and if I start the vm I can see vbox process run and consumes 100% cpu util. on one core .
When I try to login to the vm screen just show a black screen.
Code:
VBoxManage createhd --filename VirtualBox\ VMs/t0/t0.vdi --size 2000
VBoxManage storagectl t0 --name sata_bus --add sata --portcount 4 --bootable on
VBoxManage storageattach t0 --storagectl sata_bus --port 1 --type hdd --medium VirtualBox\ VMs/t0/t0.vdi
VBoxManage storageattach t0 --storagectl sata_bus --port 2 --type dvddrive --medium ~/VirtualBox\ VMs/ISO/FreeBSD-13.0-RELEASE-amd64-bootonly.iso
VBoxManage modifyvm t0 -vrdp
VBoxManage modifyvm t0 --vrdeproperty VNCPassword=secret
VBoxManage modifyvm t0 --nic1 bridged --bridgeadapter1 alc0 --nictype1 82540EM
Code:
VBoxManage modifyvm t0 --vrdp on
VBoxManage modifyvm t0 --vrdeproperty VNCPassword=secret
# Start VM with
VBoxManage startvm t0 --type headless
VNC Viewer ( apple / mac ) ip:5900
I tried to use a vagrant box . It is the same I can see process with 100% and nothing happens... .
Code:
╰─ sockstat | grep 5900
sharky VBoxHeadle 29347 19 tcp6 *:5900 *:*
Code:
╰─ ps aux | grep VBox
sharky 29347 100.0 0.2 123460 62784 - S 18:04 0:28.76 /usr/local/lib/virtualbox/VBoxHeadless --comment t0 --startvm 6aba0f0e-bab1-46b1-8cdc-772f72bdd4c9 --vrde config
sharky 29342 0.0 0.0 27692 16308 - S 18:04 0:00.02 /usr/local/lib/virtualbox/VBoxXPCOMIPCD
sharky 29344 0.0 0.1 54308 23180 - S 18:04 0:00.07 /usr/local/lib/virtualbox/VBoxSVC --auto-shutdown
sharky 29372 0.0 0.0 11372 2820 2 R+ 18:05 0:00.00 grep VBox
Code:
╰─ VBoxManage startvm t0 --type headless
Waiting for VM "t0" to power on...
VM "t0" has been successfully started.
Code:
freebsd# grep vbox /etc/rc.conf
vboxnet_enable="YES"
vboxguest_enable="YES"
vboxservice_enable="YES"
freebsd# grep vbox /boot/loader.conf
vboxdrv_load="YES"
Code:
May 1 17:17:23 freebsd kernel: vboxdrv: XXXXXXXXXXXXXXXX VMMR0.r0
May 1 17:17:23 freebsd kernel: vboxdrv: XXXXXXXXXXXXXXXX VBoxDDR0.r0
May 1 17:17:23 freebsd kernel: VMMR0InitVM: eflags=40246 fKernelFeatures=0x2 (SUPKERNELFEATURES_SMAP=1)
May 1 17:37:31 freebsd kernel: vboxdrv: XXXXXXXXXXXXXXXX VMMR0.r0
May 1 17:37:31 freebsd kernel: vboxdrv: XXXXXXXXXXXXXXXX VBoxDDR0.r0
May 1 17:37:31 freebsd kernel: VMMR0InitVM: eflags=40246 fKernelFeatures=0x2 (SUPKERNELFEATURES_SMAP=1)
Code:
freebsd# kldstat | grep vbox
3 3 0xffffffff829ec000 8d5c8 vboxdrv.ko
20 2 0xffffffff8314b000 2cd0 vboxnetflt.ko
21 1 0xffffffff8314e000 3f00 vboxnetadp.ko
Attachments
Last edited by a moderator: