[Solved] VirtualBox 6 on Windows 10 Guru Meditation error

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Mike Dawson
Posts: 4
Joined: 20. Aug 2019, 14:45

[Solved] VirtualBox 6 on Windows 10 Guru Meditation error

Post by Mike Dawson »

I'm running VirtualBox 6 on Windows 10. I've imported a valid appliance (running fine on another windows 10 laptop). But on my laptop the VM stops with a Guru Meditation error.

I've attached the log file. I didn't see any obvious errors but I'm hopeful that someone else will be kind enough to take a look.

Thanks!
Attachments
VBox.zip
(51.16 KiB) Downloaded 466 times
Last edited by socratis on 22. Aug 2019, 09:15, edited 2 times in total.
Reason: Marked as [Solved].
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VirtualBox 6 on Windows 10 Guru Meditation error

Post by mpack »

Please withdraw the partial log and replace it with a zipped version of the complete log.
Mike Dawson
Posts: 4
Joined: 20. Aug 2019, 14:45

Re: VirtualBox 6 on Windows 10 Guru Meditation error

Post by Mike Dawson »

Done. Sorry about that.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VirtualBox 6 on Windows 10 Guru Meditation error

Post by mpack »

You have a triple fault, which means that the VM was in such an unstable state that it crashed again while in the crash handler. This makes it hard to know what caused the original crash. Normally it is when the VM has done something really nasty, such as running corrupted guest boot code.

When you say "imported a valid appliance", that means you ran "File|Import" again? Was the last VM really installed from that same appliance, or was it perhaps copied to a USB stick and then to the new PC where you tried to import the copy?

I notice that you have not installed the extension pack on this second host. That means that features that rely on the extension pack (main USB2/3 and VRDP) will not work on host #2.

I assume you're aware that FreeBSD is not fully supported, e.g. no Guest Additions.
Mike Dawson
Posts: 4
Joined: 20. Aug 2019, 14:45

Re: VirtualBox 6 on Windows 10 Guru Meditation error

Post by Mike Dawson »

Thanks much for the reply. The last couple of hours we've installed VB6 and the appliance in question on a couple of other machines and it runs fine.

The problem definitely has something to do with only the original problem laptop:
Inspiron 7786
Intel i7-8565U CPU
16.0 GB RAM
64-bit Windows 10 pro v1903

And the weirdest part is that this laptop is nearly identical to another new one which runs the appliance flawlessly.

We're now at the point of comparing the 2 new Inspiron laptops line-by-line to see if there are any subtle differences. Frustrating.

Thanks again for your time. We are very appreciative of any fresh ideas.
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: VirtualBox 6 on Windows 10 Guru Meditation error

Post by fth0 »

VBox log file wrote:

Code: Select all

00:00:02.556774 Structured Extended Feature Flags Enumeration (leaf 7):
00:00:02.556774   Mnemonic - Description                                  = guest (host)
[...]
00:00:02.556798   IBRS_IBPB - IA32_SPEC_CTRL.IBRS and IA32_PRED_CMD.IBPB  = 0 (1)
VirtualBox does not provide the SPEC_CTRL MSR to the guest OS and indicates this in the CPUID leaf 7.
VBox log file wrote:

Code: Select all

00:00:10.104135 IEM: rdmsr(0x48) -> #GP(0)
00:00:10.194359 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'
The guest tries to read the SPEC_CTRL MSR (0x48), probably without checking for its existence.

The SPEC_CTRL MSR is part of the Spectre/Meltdown mitigation.

Educated guess:
Enabling the SPEC_CTRL MSR may help here (VBoxManage modifyvm <vmname> --spec-ctrl on), but it may not be enough.
Alternatively, disable Spectre/Meltdown mitigation in the guest OS.
Mike Dawson
Posts: 4
Joined: 20. Aug 2019, 14:45

Re: VirtualBox 6 on Windows 10 Guru Meditation error

Post by Mike Dawson »

ftho - you sir (madam?) are a steely-eyed-missle-man. It worked!!!

Implemented the "VBoxManage modifyvm <vmname> --spec-ctrl on" bits on the appliance and the VM fired right up.

Excellent catch! Thanks a million!
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox 6 on Windows 10 Guru Meditation error

Post by socratis »

Indeed an excellent catch @fth0!!! 8)
Just one question; how did you know that MSR 0x48 is the SPEC_CTRL one? From the log, or somewhere else?

Marking as [Solved].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: [Solved] VirtualBox 6 on Windows 10 Guru Meditation error

Post by fth0 »

socratis wrote:how did you know that MSR 0x48 is the SPEC_CTRL one? From the log, or somewhere else?
From an excellent source for x86 processor information: https://www.sandpile.org/x86/msr.htm. Also see the whole site: https://www.sandpile.org/
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [Solved] VirtualBox 6 on Windows 10 Guru Meditation error

Post by socratis »

Oh wow, it's impressive how condensed the information in there is! Thanks fth0, that's a keeper... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply