VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18 (#18005)

Discussions related to using VirtualBox on Mac OS X hosts.
rmansfield
Posts: 12
Joined: 18. Sep 2018, 11:40

VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18 (#18005)

Post by rmansfield »


ModEdit; related ticket: #18005: Guru Meditation -5300 (VERR_IEM_INSTR_NOT_IMPLEMENTED)
Hi,

VirtualBox: 5.2.18 r124319 (Qt5.6.3)
O/S: Mac OS X El Capitan 10.11.6 (15G22010)
Guest O/S: CentOS 7.5

I've been using VirtualBox for a number of years and this is the first time I have experienced a Guru Meditation. I note from the Changelog that a fix was applied to VirtualBox 5.1.22 however the issue has reoccurred in the environment as stated above. As reported in the forum, disabling "Nested Paging" is a temporary workaround

VBox.log.zip uploaded

Code: Select all

00:06:14.018441 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'
00:06:14.019082 Console: Machine state changed to 'GuruMeditation'
00:06:14.020278 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
00:06:14.020283 !!
00:06:14.020283 !!         VCPU0: Guru Meditation -5300 (VERR_IEM_INSTR_NOT_IMPLEMENTED)
00:06:14.020332 !!
00:06:14.020405 Guest CPUM (VCPU 0) state: 
00:06:14.020541 rax=00000000015bd6d0 rbx=0000000000000001 rcx=000000000000ffe0 rdx=00007f9c54ed88a4
00:06:14.020547 rsi=00007f9c55ca9000 rdi=00000000015cd6d0 r8 =00000000015bd6d0 r9 =00000000000100ef
00:06:14.020549 r10=0000000000000001 r11=00007f9c54f0fcd0 r12=0000000000000000 r13=00000000015bd6d0
00:06:14.020552 r14=0000000000000003 r15=00007ffe2590fd20
00:06:14.020553 rip=00007f9c54ed88a4 rsp=00007ffe2590fd18 rbp=0000000000010000 iopl=0      rf nv up ei pl zr na pe nc
00:06:14.020556 cs=0033 ss=002b ds=0000 es=0000 fs=0000 gs=0000 tr=0040      eflags=00010202
00:06:14.020560 cr0=80050033 cr2=7f9c54eed1f1 cr3=77453001 cr4=000606f0 gdtr=ffff88007fc0c000:007f ldtr=0000
00:06:14.021148 
00:06:14.021149 CPUM0: 0033:00007f9c54ed88a4 f2 0f f0 46 a0          lddqu xmm0, oword [rsi-060h]
00:06:14.021151 
00:06:14.021175 VCPU[0] hardware virtualization state:
00:06:14.021189 No/inactive hwvirt state
Regards,
Rich
Attachments
VBox.log.zip
(56.91 KiB) Downloaded 26 times
Last edited by socratis on 24. Sep 2018, 18:48, edited 1 time in total.
Reason: Added ticket related information.
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: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by socratis »

00:00:01.444808 Host RAM: 8192MB (8.0GB) total, 1695MB available
00:00:01.573267   RamSize           <integer> = 0x0000000080000000 (2 147 483 648, 2 048 MB)
00:00:01.573668   VRamSize         <integer> = 0x0000000000c00000 (12 582 912, 12 MB)
You are assigning memory to your guest, that you do not have available. Close some applications on the host, or reduce the amount of RAM assigned to the guest. At the same time, your VRAM is way too low, you should increase it to 32 or 64 MB at least.

What was the guest doing at the time of the crash? And more importantly, is it repeatable?
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.
rmansfield
Posts: 12
Joined: 18. Sep 2018, 11:40

Re: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by rmansfield »

Thank you for your quick reply.

Yes, the issue is reproducible even after rebooting my Mac. I have reduced RamSize to 512MB and increased the VRamSize to 64MB as you suggest. The problem still persists.

Code: Select all

00:00:01.319530 Host RAM: 8192MB (8.0GB) total, 2718MB (2.6GB) available
00:00:01.592927   RamSize           <integer> = 0x0000000020000000 (536 870 912, 512 MB)
00:00:01.593395   VRamSize         <integer> = 0x0000000004000000 (67 108 864, 64 MB)
Attachments
VBox.2.log.zip
(57.07 KiB) Downloaded 20 times
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: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by socratis »

You didn't answer a very important question: what was the guest doing at the time of the crash? Can I try it here?

Because I do have a MBP and a CentOS 7.5 VM ready to test...
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.
rmansfield
Posts: 12
Joined: 18. Sep 2018, 11:40

Re: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by rmansfield »

Apologies for missing your question. The guest O/S was booting to either multiuser mode or into recovery mode. The crash occurred just before the login prompt. See attached screenshot.
Attachments
Screen Shot 2018-09-18 at 13.30.32.png
Screen Shot 2018-09-18 at 13.30.32.png (100.52 KiB) Viewed 4704 times
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: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by socratis »

It doesn't make too much sense, honestly. You can't have built this VM yourself, because you ... wouldn't be able to build it, you wouldn't be able to boot from the CD! Where did you get this "es400" VM from?
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.
rmansfield
Posts: 12
Joined: 18. Sep 2018, 11:40

Re: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by rmansfield »

That's correct. es400 is a distribution based on CentOS 7.4 running kernel 3.10.0-693.21.1 Unfortunately it is not available for general release.

However, I upgraded the O/S to CentOS 7.5 (kernel 3.10.0-862.11.6) and the crash happened again when enabling nested paging.
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: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by socratis »

So, wait a minute... If you have nested paging disabled you do not get the crash?
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.
rmansfield
Posts: 12
Joined: 18. Sep 2018, 11:40

Re: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by rmansfield »

Correct. If I have nested paging disabled I do not get the crash
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: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by socratis »

Hmm... I don't know how the VM was created, actually I don't know the options chosen for CentOS. What I do know is that a standard CentOS installation works with and without Nested Paging. Maybe you have the "Alternative Architecture Special Interest Group (AltArch SIG)"?
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.
rmansfield
Posts: 12
Joined: 18. Sep 2018, 11:40

Re: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by rmansfield »

The VM was created using VirtualBox defaults (with nested paging enabled) and O/S installed from an ISO with a modified kickstart file (not the RHEL7 supplied version).
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: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by socratis »

rmansfield wrote:with a modified kickstart file (not the RHEL7 supplied version)
What's that? And is this thing something that you could divulge information about? If not to me, then to the developers?
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.
rmansfield
Posts: 12
Joined: 18. Sep 2018, 11:40

Re: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by rmansfield »

The kickstart is relative simple but basically install some specific package and kernel modules, enables/disables some services, configures custom partitions sizes and recompiles the kernel.

i'm happy to share the ISO with one of your developers.
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: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by socratis »

OK, in that case you should head to the bug tracker and open a ticket. Even sharing it with me wouldn't help you, because the only thing I can do is to verify the crash or not.
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.
rmansfield
Posts: 12
Joined: 18. Sep 2018, 11:40

Re: VERR_IEM_INSTR_NOT_IMPLEMENTED in 5.2.18

Post by rmansfield »

I can make this ISO available to you directly.
Post Reply