Big Sur Host Issues

For discussions related to using VirtualBox on Mac OS X pre-releases

Re: Big Sur Host Issues

Postby aeichner » 7. Oct 2020, 10:51

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.
aeichner
Oracle Corporation
 
Posts: 172
Joined: 31. Aug 2007, 19:12

Re: Big Sur Host Issues

Postby faberge » 7. Oct 2020, 17:32

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   Expand viewCollapse view
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.
faberge
 
Posts: 3
Joined: 7. Oct 2020, 03:12

Re: Big Sur Host Issues

Postby jhelm » 7. Oct 2020, 17:48

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   Expand viewCollapse view
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
jhelm
 
Posts: 4
Joined: 25. Jun 2019, 00:48

Re: Big Sur Host Issues

Postby faberge » 7. Oct 2020, 18:04

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   Expand viewCollapse view
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   Expand viewCollapse view
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.
faberge
 
Posts: 3
Joined: 7. Oct 2020, 03:12

Re: Big Sur Host Issues

Postby jhelm » 7. Oct 2020, 18:19

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   Expand viewCollapse view
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!
jhelm
 
Posts: 4
Joined: 25. Jun 2019, 00:48

Re: Big Sur Host Issues

Postby aeichner » 8. Oct 2020, 08:36

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.
aeichner
Oracle Corporation
 
Posts: 172
Joined: 31. Aug 2007, 19:12

Re: Big Sur Host Issues

Postby aeichner » 8. Oct 2020, 08:47

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).
aeichner
Oracle Corporation
 
Posts: 172
Joined: 31. Aug 2007, 19:12

Re: Big Sur Host Issues

Postby Charlielfeo » 9. Oct 2020, 17:18

The new Test Build works!
:)
Charlielfeo
 
Posts: 1
Joined: 9. Oct 2020, 17:16

Re: Big Sur Host Issues

Postby daemonspudguy » 20. Oct 2020, 15:24

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   Expand viewCollapse view
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   Expand viewCollapse view
  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 ~ %
daemonspudguy
 
Posts: 6
Joined: 26. Jan 2020, 23:54

Re: Big Sur Host Issues

Postby kesha-antonov » 20. Oct 2020, 21:07

VirtualBox-6.1.15-140899-OSX.dmg works!
kesha-antonov
 
Posts: 1
Joined: 20. Oct 2020, 21:07

Re: Big Sur Host Issues

Postby daemonspudguy » 20. Oct 2020, 23:36

I can start a VM in headless mode, but VirtualboxVM barfs out this.
Code: Select all   Expand viewCollapse view
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
daemonspudguy
 
Posts: 6
Joined: 26. Jan 2020, 23:54

Re: Big Sur Host Issues

Postby Woli » 21. Oct 2020, 11:55

Dowloaded the new test build, can run it headless but not with the GUI. Has anyone managed to run it with the GUI yet?
Woli
 
Posts: 1
Joined: 20. Oct 2020, 16:00

Re: Big Sur Host Issues

Postby daemonspudguy » 22. Oct 2020, 18:17

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.
daemonspudguy
 
Posts: 6
Joined: 26. Jan 2020, 23:54

Re: Big Sur Host Issues

Postby daemonspudguy » 22. Oct 2020, 18:26

Update! I looked in the Console app and it says that VirtualBox was denied access to files in it's own Frameworks folder.
daemonspudguy
 
Posts: 6
Joined: 26. Jan 2020, 23:54

Re: Big Sur Host Issues

Postby Prad » 25. Oct 2020, 06:12

Installation of VirtualBox-6.1.16 fixed the issue.
Prad
 
Posts: 1
Joined: 25. Oct 2020, 06:09

PreviousNext

Return to VirtualBox on Mac OS X pre-releases

Who is online

Users browsing this forum: No registered users and 7 guests