Page 4 of 11

Re: Big Sur Host Issues

Posted: 7. Oct 2020, 10:51
by aeichner
Please provide the output of the commands given at https://www.virtualbox.org/ticket/19795#comment:29. Probably best if you can post your answer there as well.

Re: Big Sur Host Issues

Posted: 7. Oct 2020, 17:32
by faberge
aeichner wrote:Please provide the output of the commands given at (link removed cause I'm too new). Probably best if you can post your answer there as well.
I went to do that, but when I run this command:

Code: Select all

sudo kmutil showloaded

The results do not contain any matches for 'org.virtualbox.kext' (only Apple packages), which makes me wonder if something when wrong in the installation process. Going to try another full uninstall and complete reinstall and see what happens.

UPDATE: See my answer below on how I got the kernels to register and VMs to load based off this TestBuild.

Re: Big Sur Host Issues

Posted: 7. Oct 2020, 17:48
by jhelm
Having the same issue here with 140753; the kext's are not being installed at all, even though the installer indicates success. Note the following output in the installer log, in particular the last four lines:

Code: Select all

Oct  7 11:45:28 Joshuas-MBP package_script_service[621]: PackageKit: Executing script "postflight" in /tmp/PKInstallSandbox.rDuQpU/Scripts/org.virtualbox.pkg.vboxkexts.8gK1GD
Oct  7 11:45:28 Joshuas-MBP package_script_service[621]: Set responsibility to pid: 587, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Oct  7 11:45:29 Joshuas-MBP package_script_service[621]: ./postflight: Executing: /usr/bin/kmutil unload -b org.virtualbox.kext.VBoxNetAdp
Oct  7 11:45:29 Joshuas-MBP package_script_service[621]: ./postflight: Error occurred unloading extensions: Missing extension with identifier org.virtualbox.kext.VBoxNetAdp
Oct  7 11:45:29 Joshuas-MBP package_script_service[621]: ./postflight: Executing: /usr/bin/kmutil unload -b org.virtualbox.kext.VBoxNetFlt
Oct  7 11:45:29 Joshuas-MBP package_script_service[621]: ./postflight: Error occurred unloading extensions: Missing extension with identifier org.virtualbox.kext.VBoxNetFlt
Oct  7 11:45:30 Joshuas-MBP package_script_service[621]: ./postflight: Executing: /usr/bin/kmutil unload -b org.virtualbox.kext.VBoxUSB
Oct  7 11:45:30 Joshuas-MBP package_script_service[621]: ./postflight: Error occurred unloading extensions: Missing extension with identifier org.virtualbox.kext.VBoxUSB
Oct  7 11:45:31 Joshuas-MBP package_script_service[621]: ./postflight: Executing: /usr/bin/kmutil unload -b org.virtualbox.kext.VBoxDrv
Oct  7 11:45:31 Joshuas-MBP package_script_service[621]: ./postflight: Error occurred unloading extensions: Missing extension with identifier org.virtualbox.kext.VBoxDrv
Oct  7 11:45:31 Joshuas-MBP package_script_service[621]: ./postflight: Could not find: Extension with identifier 'org.virtualbox.kext.VBoxDrv' not found
Oct  7 11:45:31 Joshuas-MBP package_script_service[621]: ./postflight: Could not find: Extension with identifier 'org.virtualbox.kext.VBoxUSB' not found
Oct  7 11:45:31 Joshuas-MBP package_script_service[621]: ./postflight: Could not find: Extension with identifier 'org.virtualbox.kext.VBoxNetFlt' not found
Oct  7 11:45:31 Joshuas-MBP package_script_service[621]: ./postflight: Could not find: Extension with identifier 'org.virtualbox.kext.VBoxNetAdp' not found

Re: Big Sur Host Issues

Posted: 7. Oct 2020, 18:04
by faberge
jhelm wrote:Having the same issue here with 140753.

I know this is not an official solution, but registering the .kext directly via terminal solved this issue for me.

Code: Select all

sudo kmutil load -p '/Library/Application Support/VirtualBox/VBoxDrv.kext'
There should be a prompt in System Preferences to allow the kernel, which will require a reboot. Once rebooted I am getting this from my showloaded:

Code: Select all

0xffffff7fa17a6000 0x5000     0x5000     org.virtualbox.kext.VBoxUSB (6.1.15) 509748A8-9DF3-3C55-B0E2-362BCB938918 <189 188 64 8 6 5 3 1>
0xffffff7fa17a1000 0x4000     0x4000     org.virtualbox.kext.VBoxNetFlt (6.1.15) FD6005F3-007E-319A-BF13-5279B640F210 <188 8 6 5 3 1>
0xffffff7fa179b000 0x2000     0x2000     org.virtualbox.kext.VBoxNetAdp (6.1.15) 15ECAC99-589A-33D3-93D2-DC076B97BC3B <188 6 5 1>
It loads the other kernels and my VMs all boot as expected. I was in a normal boot and did not disable any security measures in performing these commands.

Also, massive thank you to the VirtualBox team. Having had my VMs offline for some time has been a major pain.

Re: Big Sur Host Issues

Posted: 7. Oct 2020, 18:19
by jhelm
faberge wrote: I know this is not an official solution, but registering the .kext directly via terminal solved this issue for me.

Code: Select all

sudo kmutil load -p '/Library/Application Support/VirtualBox/VBoxDrv.kext'
There should be a prompt in System Preferences to allow the kernel, which will require a reboot.
This worked, thank you. This forced the "Allow" button to appear in the System Preferences (which did not occur when using the Installer).
Also, massive thank you to the VirtualBox team. Having had my VMs offline for some time has been a major pain.
Agreed, thanks all!

Re: Big Sur Host Issues

Posted: 8. Oct 2020, 08:36
by aeichner
Uninstalling a KEXT is not working right now with the latest Beta as stated in https://developer.apple.com/documentati ... ease-notes (search for 64331929). When uninstalling VirtualBox you have to follow the mentioned workaround in order to fully uninstall the KEXTs.

Re: Big Sur Host Issues

Posted: 8. Oct 2020, 08:47
by aeichner
There is a new testbuild available at https://www.virtualbox.org/wiki/Testbuilds which fixes the installer failing to install the KEXTs, you should also get the proper notification dialog now again, when you fully uninstalled VirtualBox previously (including the previously mentioned workaround to get rid of the KEXTs completely).

Re: Big Sur Host Issues

Posted: 9. Oct 2020, 17:18
by Charlielfeo
The new Test Build works!
:)

Re: Big Sur Host Issues

Posted: 20. Oct 2020, 15:24
by daemonspudguy
I can't start a VM. I have enabled kexts, but I still get NS_ERROR_FAILURE. Here is that error code

Code: Select all

Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
MachineWrap
Interface: 
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
and here is the result of kmutil show loaded

Code: Select all

  184    0 0xffffff7fa179e000 0x5000     0x5000     org.virtualbox.kext.VBoxUSB (6.1.97) 23791C25-56AF-33B1-82D0-3FE245F8D8D9 <183 179 80 8 6 5 3 1>
  185    0 0xffffff7f9fb19000 0x3000     0x3000     com.apple.driver.AudioAUUC (1.70) BD384AD3-E93F-389A-95C7-373B17A086E6 <127 118 14 13 8 6 5 3 1>
  186    0 0xffffff7fa1799000 0x4000     0x4000     org.virtualbox.kext.VBoxNetFlt (6.1.97) 85AB8CA6-993E-3BF0-8E25-B946DFA83464 <179 8 6 5 3 1>
  187    0 0xffffff7fa1793000 0x2000     0x2000     org.virtualbox.kext.VBoxNetAdp (6.1.97) B372ADB0-E1DD-3685-AD11-86AE9F1014D6 <179 6 5 1>
spud@lisawannabe ~ %

Re: Big Sur Host Issues

Posted: 20. Oct 2020, 21:07
by kesha-antonov
VirtualBox-6.1.15-140899-OSX.dmg works!

Re: Big Sur Host Issues

Posted: 20. Oct 2020, 23:36
by daemonspudguy
I can start a VM in headless mode, but VirtualboxVM barfs out this.

Code: Select all

Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
MachineWrap
Interface: 
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}

Re: Big Sur Host Issues

Posted: 21. Oct 2020, 11:55
by Woli
Dowloaded the new test build, can run it headless but not with the GUI. Has anyone managed to run it with the GUI yet?

Re: Big Sur Host Issues

Posted: 22. Oct 2020, 18:17
by daemonspudguy
Woli wrote:Dowloaded the new test build, can run it headless but not with the GUI. Has anyone managed to run it with the GUI yet?
Nope.

Re: Big Sur Host Issues

Posted: 22. Oct 2020, 18:26
by daemonspudguy
Update! I looked in the Console app and it says that VirtualBox was denied access to files in it's own Frameworks folder.

Re: Big Sur Host Issues

Posted: 25. Oct 2020, 06:12
by Prad
Installation of VirtualBox-6.1.16 fixed the issue.