Big Sur Host Issues
Re: Big Sur Host Issues
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
I went to do that, but when I run this command: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.
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.
Last edited by faberge on 7. Oct 2020, 18:05, edited 1 time in total.
Re: Big Sur Host Issues
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
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'
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>
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
This worked, thank you. This forced the "Allow" button to appear in the System Preferences (which did not occur when using the Installer).faberge wrote: I know this is not an official solution, but registering the .kext directly via terminal solved this issue for me.
There should be a prompt in System Preferences to allow the kernel, which will require a reboot.Code: Select all
sudo kmutil load -p '/Library/Application Support/VirtualBox/VBoxDrv.kext'
Agreed, thanks all!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
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
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).
-
- Posts: 1
- Joined: 9. Oct 2020, 17:16
Re: Big Sur Host Issues
The new Test Build works!
-
- Posts: 6
- Joined: 26. Jan 2020, 23:54
Re: Big Sur Host Issues
I can't start a VM. I have enabled kexts, but I still get NS_ERROR_FAILURE. Here is that error code
and here is the result of kmutil show loaded
Code: Select all
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
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 ~ %
-
- Posts: 1
- Joined: 20. Oct 2020, 21:07
Re: Big Sur Host Issues
VirtualBox-6.1.15-140899-OSX.dmg works!
-
- Posts: 6
- Joined: 26. Jan 2020, 23:54
Re: Big Sur Host Issues
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
Dowloaded the new test build, can run it headless but not with the GUI. Has anyone managed to run it with the GUI yet?
-
- Posts: 6
- Joined: 26. Jan 2020, 23:54
Re: Big Sur Host Issues
Nope.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?
-
- Posts: 6
- Joined: 26. Jan 2020, 23:54
Re: Big Sur Host Issues
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
Installation of VirtualBox-6.1.16 fixed the issue.