Mac OS 12 / Monterey Beta Status

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

Mac OS 12 / Monterey Beta Status

Postby nsfw » 11. Jun 2021, 00:06

Unsurprisingly, the current release seems to fail.

Using MS' OVA-formatted windows VM for VirtualBox starting VirtualBox results in a crash of the VM process (OS reports a crash) and VirtualBox handles this gracefully in the sense it does not die but cannot start the VM and presents its internal error code.

I assume this is just how it's going to be for a bit, but wanted to get the discussion started as I hadn't seen anything here on the topic and there are likely some workarounds, etc that maybe helpful as support grows.

VirtualBox Error:
The virtual machine 'WinDev2104Eval' has terminated unexpectedly during startup because of signal 10.

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


Mac OS Error:


Process: VirtualBoxVM [36650]
Path: /Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM
Identifier: org.virtualbox.app.VirtualBoxVM
Version: 6.1.22 (6.1.22)
Code Type: X86-64 (Native)
Parent Process: VBoxSVC [36643]
Responsible: VirtualBox [36635]
User ID: 502

Date/Time: 2021-06-10 16:03:43.3210 -0600
OS Version: macOS 12.0 (21A5248p)
Report Version: 12
Bridge OS Version: 6.0 (19P50264n)
Anonymous UUID: DDD9851F-48DE-6EF2-8D7C-22CD7263D7C8


Time Awake Since Boot: 7400 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007ff84d2f4a00
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace SIGNAL, Code 10 Bus error: 10
Terminating Process: exc handler [36650]

VM Region Info: 0x7ff84d2f4a00 is in 0x7ff84d2ef290-0x7ff84d400000; bytes after start: 22384 bytes before end: 1095167
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
unused shlib __DATA 7ff84d2e28e0-7ff84d2ef290 [ 50K] r--/rwx SM=COW ... this process
---> __DATA_CONST 7ff84d2ef290-7ff84d400000 [ 1091K] r--/rwx SM=COW ...ions/C/AppKit
__DATA_CONST 7ff84d400000-7ff84d4d9a00 [ 870K] r--/rw- SM=COW ...ions/C/AppKit

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 VirtualBoxVM.dylib 0x112aa22dc 0x112a9a000 + 33500
1 VirtualBoxVM.dylib 0x112aa17f6 TrustedMain + 54
2 VirtualBoxVM 0x10e7c6f01 0x10e7c3000 + 16129
3 dyld 0x1162864d5 start + 421


Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000112aa16d0 rbx: 0x00007ff84d2ef290 rcx: 0x0000000000000011 rdx: 0x00000007fffffff8
rdi: 0x00007ff895806500 rsi: 0x0000000112b9e983 rbp: 0x00000001127d2630 rsp: 0x00000001127d2550
r8: 0x0000000000000000 r9: 0x0000000000000670 r10: 0x0000000000000040 r11: 0x00007ff80fe58020
r12: 0x00007ff80fe58600 r13: 0x0000000000000aee r14: 0x00007ff80fe58000 r15: 0x0000000000000000
rip: 0x0000000112aa22dc rfl: 0x0000000000010246 cr2: 0x00007ff84d2f4a00

Logical CPU: 14
Error Code: 0x00000007 (invalid protections for user data write)
Trap Number: 14

Thread 0 instruction stream:
04 28 48 8b 4d 80 8b 04-81 48 8b 4d 88 39 c8 73 .(H.M....H.M.9.s
37 48 c1 e0 04 48 8b 4d-d0 8b 04 01 48 8b 4d c8 7H...H.M....H.M.
39 c8 48 8d 0d 4c cf 0f-00 73 07 48 03 45 a8 48 9.H..L...s.H.E.H
89 c1 48 89 cf 48 8d 05-c2 c6 0f 00 48 89 c6 e8 ..H..H......H...
32 76 0f 00 85 c0 74 11-49 ff c5 48 8b 85 78 ff 2v....t.I..H..x.
ff ff 41 39 c5 72 a0 eb-10 48 8d 05 f4 f3 ff ff ..A9.r...H......
[4a]89 04 eb b0 01 89 45-a0 4c 89 f0 4c 8b 8d 60 J......E.L..L..` <==
ff ff ff 44 8b 95 5c ff-ff ff 4c 8b 9d 50 ff ff ...D..\...L..P..
ff 48 8b 7d d0 44 8b 85-4c ff ff ff 48 8b 5d b0 .H.}.D..L...H.].
8b 55 c0 49 ff c7 41 39-df 0f 82 99 fe ff ff 41 .U.I..A9.......A
ff c0 45 39 d0 0f 82 06-fe ff ff 8b 45 a0 a8 01 ..E9........E...
0f 84 0d 11 00 00 48 81-c4 b8 00 00 00 5b 41 5c ......H......[A\

Binary Images:
0x112a9a000 - 0x112bbdfff org.virtualbox.app.VirtualBox (6.1.22) <7ddaa398-0b1a-386c-b465-e0ab8a2b19fd> /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM.dylib
0x10e7c3000 - 0x10e7cafff org.virtualbox.app.VirtualBoxVM (6.1.22) <43e613e0-b296-3de8-92e1-fbee61a51a5e> /Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM
0x116281000 - 0x1162e8fff dyld (*) <4e207376-cc5d-3986-a0bd-4d09f4217e68> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=852.2M resident=0K(0%) swapped_out_or_unallocated=852.2M(100%)
Writable regions: Total=65.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=65.3M(100%)

VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Kernel Alloc Once 8K 1
MALLOC 57.2M 21
MALLOC guard page 24K 5
STACK GUARD 56.0M 1
Stack 8192K 1
VM_ALLOCATE 8K 2
__DATA 16.7M 259
__DATA_CONST 10.6M 148
__DATA_DIRTY 472K 86
__FONT_DATA 4K 1
__LINKEDIT 616.1M 19
__OBJC_RO 80.3M 1
__OBJC_RW 3008K 2
__TEXT 236.1M 269
__UNICODE 588K 1
dyld private memory 1024K 1
shared memory 24K 3
=========== ======= =======
TOTAL 1.1G 821



Model: MacBookPro16,1, BootROM 1715.0.26.0.0 (iBridge: 19.16.10264.5.14,0), 8 processors, 8-Core Intel Core i9, 2.4 GHz, 64 GB, SMC
Graphics: kHW_IntelUHDGraphics630Item, Intel UHD Graphics 630, spdisplays_builtin
Graphics: kHW_AMDRadeonPro5500MItem, AMD Radeon Pro 5500M, spdisplays_pcie_device, 8 GB
Memory Module: BANK 0/ChannelA-DIMM0, 32 GB, DDR4, 2667 MHz, Micron, -
Memory Module: BANK 2/ChannelB-DIMM0, 32 GB, DDR4, 2667 MHz, Micron, -
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: May 3 2021 22:43:35 version 9.30.453.0.32.5.71 FWID 01-79e9fe42
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: OWC Thunderbolt Dock Ethernet, Ethernet, en11
Network Service: Anker USB-C Adapter, Ethernet, en14
Network Service: Wi-Fi, AirPort, en0
PCI Card: pci8086,b27, sppci_usbxhci, Thunderbolt@196,0,0
USB Device: USB 3.1 Bus
USB Device: USB3.0 Hub
USB Device: USB 3.1 Hub
USB Device: USB 10/100/1000 LAN
USB Device: iPad
USB Device: USB2.0 Hub
USB Device: USB 2.0 Hub
USB Device: USB Receiver
USB Device: Rigel
USB Device: WestBridge
USB Device: Thunderbolt Dock
USB Device: Billboard
USB Device: USB 3.1 Bus
USB Device: Apple T2 Bus
USB Device: Composite Device
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5
Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5
Thunderbolt Device: Thunderbolt Dock, Other World Computing, 3, 27.2
nsfw
 
Posts: 1
Joined: 7. May 2010, 18:18
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Mac OS X

Mac OS 12 / Monterey Beta Status

Postby Shoepy » 19. Jul 2021, 16:08

Similar problem with OS 12, I get the following error.

Code: Select all   Expand viewCollapse view
Kernel driver not installed (rc=-1908)

Make sure the kernel module has been loaded successfully.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
Shoepy
 
Posts: 1
Joined: 19. Jul 2021, 16:05

Re: Mac OS 12 / Monterey Beta Status

Postby AniketG » 19. Aug 2021, 17:17

does any known a fix for this? I am also getting same error while trying to start up a VM on macOS 12.

Regards,
Aniket
AniketG
 
Posts: 1
Joined: 19. Aug 2021, 17:08

Re: Mac OS 12 / Monterey Beta Status

Postby granada29 » 20. Aug 2021, 00:04

I managed to get past this error using the same procedures I use for installing on macOS 11 (Big Sur). However, I was unsuccessful in running a VM because the VirtualBox device drivers (kexts) cause a kernel panic. YMMV.

I have a preliminary document outlining the installation process on Big Sur, viewable at https://github.com/bryanc-nz/macos-virtualboxinstall

This is a brand new document and may have errors and omissions.

Monterey is in beta release so will have no real support from Oracle VirtualBox until the release of Monterey is finalised by Apple.
granada29
Volunteer
 
Posts: 345
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Re: Mac OS 12 / Monterey Beta Status

Postby granada29 » 14. Oct 2021, 06:13

Monterey Beta 10 was released today and running a VirtualBox VM is still causing a kernel panic.

I do hope the devs are reading this forum and are aware of the issue. Monterey will be released sometime soon (i.e. in the next week or so) and VirtualBox 6.1.26 is unusable.
granada29
Volunteer
 
Posts: 345
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Re: Mac OS 12 / Monterey Beta Status

Postby scottgus1 » 14. Oct 2021, 14:20

The devs don't read the forums much, but they do keep an eye out for new versions of supported host OS's. They're on top of Windows 11, chances are that Monterey will be covered too.

Try a test build. Save the test build installer until you update again later.
scottgus1
Site Moderator
 
Posts: 13727
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Mac OS 12 / Monterey Beta Status

Postby klaus » 19. Oct 2021, 19:23

Better try VirtualBox 6.1.28... the test builds didn't contain any fixes.
klaus
Oracle Corporation
 
Posts: 870
Joined: 10. May 2007, 14:57

Re: Mac OS 12 / Monterey Beta Status

Postby granada29 » 19. Oct 2021, 23:59

Thank you @klaus

I am pleased to report that macOS Monterey RC (build 21A558) works well with VirtualBox 6.1.28, with no kernel panic. I had to jump through the Security & Privacy hoops a couple of times. The first installation was unsuccessful but the subsequent attempt worked. Apple could really have made this a lot easier for all concerned.
granada29
Volunteer
 
Posts: 345
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Re: Mac OS 12 / Monterey Beta Status

Postby Wilburx3 » 26. Oct 2021, 15:43

I am having the same issue but only from a headless start via terminal. Did you find a solution?
Wilburx3
 
Posts: 1
Joined: 15. May 2019, 16:40

Re: Mac OS 12 / Monterey Beta Status

Postby grande » 26. Oct 2021, 21:23

I'm having the same issue as well. Any ideas/suggestions?
grande
 
Posts: 1
Joined: 26. Oct 2021, 21:23

Re: Mac OS 12 / Monterey Beta Status

Postby Richard Stone » 26. Oct 2021, 21:39

I'm getting this too. I can start the machine normally but I can't do headless or detachable without getting the NS_ERROR_FAILURE error.
Richard Stone
 
Posts: 4
Joined: 26. Oct 2021, 21:37

Re: Mac OS 12 / Monterey Beta Status

Postby goldspin » 27. Oct 2021, 06:17

I got this working by disable Gatekeeper, so that apps can be installed from "Anywhere".

$ sudo spctl --master-disable

You can see "Anywhere" as an option in the Security & Privacy control panel.

Now, reinstall virtualbox.

www dot alphr dot com slash gatekeeper-macos-sierra
goldspin
 
Posts: 1
Joined: 27. Oct 2021, 06:11

Re: Mac OS 12 / Monterey Beta Status

Postby Richard Stone » 27. Oct 2021, 15:29

goldspin wrote:I got this working by disable Gatekeeper, so that apps can be installed from "Anywhere".

$ sudo spctl --master-disable

You can see "Anywhere" as an option in the Security & Privacy control panel.

Now, reinstall virtualbox.

www dot alphr dot com slash gatekeeper-macos-sierra


I was hopeful this would be the answer but unfortunately it hasn't helped for me. I can still only start the VM in normal mode. Headless and Detachable produce the same error as before. I've tried a few reinstalls and resets and get the same behaviour.

Any other suggestions would be appreciated.
Richard Stone
 
Posts: 4
Joined: 26. Oct 2021, 21:37

Re: Mac OS 12 / Monterey Beta Status

Postby riso » 27. Oct 2021, 17:36

Headless and detached start was discussed here https://forums.virtualbox.org/viewtopic.php?f=8&t=104259
and this is the ticket https://www.virtualbox.org/ticket/20636
They wrote that it will be fixed in the next maintenance release of VirtualBox.
riso
 
Posts: 14
Joined: 28. Oct 2020, 13:25

Re: Mac OS 12 / Monterey Beta Status

Postby Richard Stone » 29. Oct 2021, 23:27

I just installed the 6.1.29 test build (mentioned here https://www.virtualbox.org/ticket/20636) and it's fixed my headless issue. I can now start in headless mode on Monterey.
Richard Stone
 
Posts: 4
Joined: 26. Oct 2021, 21:37

Next

Return to VirtualBox on Mac OS X pre-releases

Who is online

Users browsing this forum: No registered users and 2 guests