Guru meditation with macOS Ventura 13.3

Discussions related to using VirtualBox on Mac OS X hosts.
granada29
Volunteer
Posts: 690
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Guru meditation with macOS Ventura 13.3

Post by granada29 »

VMs (VirtualBox 7.0.6) are running successfully with host OS macOS Ventura 13.2 but failing with macOS Ventura 13.3.

I have opened a ticket at https://www.virtualbox.org/ticket/21563

Log attached (same log as attached to the ticket) for a Debian VM, but I am getting this crash with Windows VMs as well.

I will hold off upgrading my main host to 13.3 until I have a way forward.
Attachments
VBox.log.zip
(62.36 KiB) Downloaded 39 times
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Guru meditation with macOS Ventura 13.3

Post by fth0 »

I don't expect to personally find the background reason for this Guru Meditation, but for my curiosity, could you provide another VBox.log file for comparison while running under macOS Ventura 13.2?
granada29
Volunteer
Posts: 690
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Re: Guru meditation with macOS Ventura 13.3

Post by granada29 »

Shoud have thought of that myself :)

I ran the VM under 13.2.1 until I saw the Debian login screen then shut it down immediately.

VBox-13.2.1.log attached.
Attachments
VBox-13.2.1.log.zip
(36.43 KiB) Downloaded 19 times
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Guru meditation with macOS Ventura 13.3

Post by fth0 »

Thanks for the additional log file! :)

The logs show no significant difference in the virtual hardware initialization part. It all happened when the first (U)EFI BIOS modules were loaded and run:
VBox-13.2.1.log wrote:
00:00:04.625237 EFI: debug point SEC_PREMEM
00:00:04.784099 EFI: VBoxDbg> loadimage64 'SecMain.efi' 0xfffcc094 LB 0x0
00:00:04.787014 EFI: VBoxDbg> loadimage64 'PeiCore.efi' 0x2020120 LB 0x0
[...]
00:00:06.291348 EFI: VBoxDbg> loadimage64 '.efi' 0xdd67c000 LB 0xd0000
VBox-13.3.log wrote:
00:00:04.647023 EFI: debug point SEC_PREMEM
00:00:04.809389 EFI: VBoxDbg> loadimage64 'SecMain.efi' 0xfffcc094 LB 0x0
00:00:04.810626 EFI: VBoxDbg> loadimage64 '.efi' 0x0 LB 0x0
00:00:04.812243 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'
00:00:04.812258 Console: Machine state changed to 'Stuck'
00:00:04.812497 !!         VCPU0: Guru Meditation 1155 (VINF_EM_TRIPLE_FAULT)
[...]
00:00:04.815503 CPU[0]: VM-exit history:
00:00:04.815503    Exit No.:     TSC timestamp / delta    RIP (Flat/*)      Exit    Name
00:00:04.815504       52918: 0x000001556c624598/+0        000000000009fff6  0x04008 Xcpt #DF
00:00:04.815508       52917: 0x000001556c623be8/-2480     000000000009fff6  0x0400d Xcpt #GP
00:00:04.815510       52916: 0x000001556c618b36/-45234    000000000009fff6  0x04006 Xcpt #UD
00:00:04.815512       52915: 0x000001556c608b56/-65504    000000000009fff6  0x00006 MMIO read slot=0xf7
00:00:04.815514       52914: 0x000001556c2069b0/-4202918  00000000fffcd2e8  0x00006 MMIO read slot=0x244
00:00:04.815516       52913: 0x000001556c1f7cfc/-60596    00000000fffcd2e4  0x00006 MMIO read slot=0x74
00:00:04.815518       52912: 0x000001556c1e900e/-60654    00000000fffcd2e0  0x00006 MMIO read slot=0x3d8
The crash happened somewhere around the start of 2nd EFI module. The blue addresses are probably inside SecMain.efi. The red address is probably invalid and trying to execute the CPU instruction at that address led to the triple fault. The statistics counters match this story (~400 ms execution time, ~50k exits, 3 exceptions, 1 NEM execute call).
H00die
Posts: 5
Joined: 29. Oct 2022, 07:05

Re: Guru meditation with macOS Ventura 13.3

Post by H00die »

Same guru meditation issue - Ventura 13.3 on Intel Macbook Pro, trying to start Windows 11.
Attachments
Windows 11-2023-03-28-12-21-08.log.zip
(69.71 KiB) Downloaded 9 times
Helmut4
Posts: 8
Joined: 19. Nov 2021, 16:25

Re: Guru meditation with macOS Ventura 13.3

Post by Helmut4 »

Hi everyone, I'm having the same issue.
Running vbox 7.0.6 on an intel mbp 16.1

Trying to start an ubuntu 22.04 machines leads as well to a guru mediation
Attachments
U22.04-H4-422-default-2023-03-29-10-23-40.log.zip
(54.13 KiB) Downloaded 9 times
ocordes
Posts: 1
Joined: 29. Mar 2023, 12:53
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows

Re: Guru meditation with macOS Ventura 13.3

Post by ocordes »

Seems that only VMs with UEFI configuration are affected. My "Bios" VMs are running without any problems. Windows 11 with UEFI crashed ;-)
Andy Silva
Posts: 10
Joined: 25. Jul 2016, 22:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WinServer2019, Win10, Ubuntu, HaikuOS
Location: New Jersey, USA
Contact:

Re: Guru meditation with macOS Ventura 13.3

Post by Andy Silva »

Confirmed, after updating my host to Ventura 13.3, two Win10 guest VMs start up normally, but the Win11 (with EFI enabled) does not.
Ken_Metcalf
Posts: 1
Joined: 30. Mar 2023, 12:43

Re: Guru meditation with macOS Ventura 13.3

Post by Ken_Metcalf »

I am having exactly the same issue, Intel MBP running VirtualBox 7.0.6.

Worked perfectly with 13.2. Windows 11 VM with UEFI bios enabled -> now getting Guru meditation.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Guru meditation with macOS Ventura 13.3

Post by fth0 »

A bugfix in the VirtualBox test builds 7.0.7r156678 (and newer) is supposed to fix this issue (at least partially). Please give it a try and report back!
Andy Silva
Posts: 10
Joined: 25. Jul 2016, 22:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WinServer2019, Win10, Ubuntu, HaikuOS
Location: New Jersey, USA
Contact:

Re: Guru meditation with macOS Ventura 13.3

Post by Andy Silva »

Confirmed (again), after installing test build 7.0.7r156678, I am again able to successfully boot into my Win11 VM. Don't have other EFI VMs to test, but I'd guess that those should be fine as well.
tnelson
Posts: 3
Joined: 29. Mar 2020, 01:27

Re: Guru meditation with macOS Ventura 13.3

Post by tnelson »

Running 7.0.7r156678 allows me to boot Windows 11 with EFI but autoscaling on the iMac 4k display causes the system to freeze. Moving the vm display to an external monitor works though.
Attachments
Windows 11-2023-04-07-00-49-04.log
(126.92 KiB) Downloaded 7 times
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Guru meditation with macOS Ventura 13.3

Post by fth0 »

The Windows%2011-2023-04-07-00-49-04.log file contains error messages regarding NEMHCNotifyHandlerPhysicalDeregister function, which belongs to the memory management and could indicate a follow-up problem. Please add your information to 21563.
Practical Knowledge
Posts: 2
Joined: 4. Jan 2023, 05:56

Re: Guru meditation with macOS Ventura 13.3

Post by Practical Knowledge »

I didn't follow my own advice... and I updated my Mac during the semester (I'm a professor). I can confirm that on MacOS 13.3.1, with EFI based Virtual Machines, my old Virtual Box broke. I installed the prerelease version of VirtualBox, 7.0.7 r156678 and my VMs are running again and things appear to work fine.

Thank you for the fix. I'll post back here if I run into any trouble with the prerelease version. I'd love for you folks to sign it so I can re-enable System Integrity Protection.

Very Respectfully,
Mark
granada29
Volunteer
Posts: 690
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Re: Guru meditation with macOS Ventura 13.3

Post by granada29 »

Practical Knowledge wrote:I'd love for you folks to sign it so I can re-enable System Integrity Protection.
We are not the developers, just users like yourself, so we have no say in signing the code.

However, VirtualBox 7.0.x is not installing any kernel extensions so you should be able to install/run the code with SIP enabled. It works for me but others may have differing opinions.
Post Reply