VirtualBox

Opened 8 years ago

Closed 4 years ago

#15685 closed defect (wontfix)

GuruMeditation -2301 (VERR_REM_VIRTUAL_CPU_ERROR) after 5.1.x update (Raw Mode)

Reported by: boxer01 Owned by:
Component: other Version: VirtualBox 5.1.2
Keywords: VERR_REM_VIRTUAL_CPU_ERROR GuruMeditation Cc:
Guest type: Windows Host type: Windows

Description

I have a computer with Windows 8.1 x64 as a host and Windows 7 x86 as a guest. After updating from 5.0.24 to 5.1 I see guru meditation message early during the boot process of the guest. If I start guest Windows in safe mode, there is no such problem. So I could update guest additions to the current version. Same problem appears with 5.1.1, 5.1.2 and 5.1.3. Going back to the 5.0.24 or currently to the 5.0.26 solves the problem.

I have equal computer with Vista x86 host and XP x86 as a guest. I see the same issues after update to the 5.1.x here. On the other computers (Windows 10 x64 guest and host on the first one and Windows 8.1 x64 guest and host on the second one) everything works fine.

There are two differences between the working and not working combinations. First and probably the most important one: the computer with issues has no hardware virtualization, because processor has no virtualization support. So we can only use software layer here. The other one: we emulate different OS as a host OS and in one case even different bit case (x64 host with x86 guest.) I attach all the images and logs, which was created by Vbox. I hope it would help to find the case of the problem.

Attachments (18)

VBox.png (31.8 KB ) - added by boxer01 8 years ago.
screenshot win8.1x64 host, win7 x32 guest
VBox_5_10_log.zip (170.3 KB ) - added by boxer01 8 years ago.
logs win8.1x64 host, win7 x32 guest
Vbox_5_12_log.zip (222.8 KB ) - added by boxer01 8 years ago.
logs win8.1x64 host, win7 x32 guest with 5.1.2
Vbox_512_xp.zip (82.9 KB ) - added by boxer01 8 years ago.
logs and pictures vista x86 host, win XP x86 guest with 5.1.2
Vbox_513_xp.zip (83.0 KB ) - added by boxer01 8 years ago.
logs and pictures vista x86 host, win XP x86 guest with 5.1.3
2016-07-25-15-15-21.002-VirtualBox.exe-4652.log (91.5 KB ) - added by boxer01 8 years ago.
crash log vista x86 host, win XP x86 guest with 5.1.2
2016-07-25-16-31-09.097-VirtualBox.exe-4752.log (91.6 KB ) - added by boxer01 8 years ago.
crash log vista x86 host, win XP x86 guest with 5.1.3
2016-07-25-16-41-23.028-VirtualBox.exe-5144.log (91.6 KB ) - added by boxer01 8 years ago.
crash log vista x86 host, win XP x86 guest with 5.1.3
Vbox_5_0_26.zip (66.4 KB ) - added by boxer01 8 years ago.
logs win8.1x64 host, win7 x32 guest on 5.0.26
HostXenialGuestWindows7.zip (106.3 KB ) - added by R_mano 8 years ago.
Here it is: last log, and next-to-last with .png (I do not have a PNG for the last, don't know why).
VBox.log.gz (54.4 KB ) - added by R_mano 7 years ago.
5.1.14 crash
Vbox_5_1_18_Win10_Win7.zip (220.9 KB ) - added by boxer01 7 years ago.
logs win8.1x64 host, win7 x86 guest with 5.1.18
Vbox_5_1_18_Win10_Win7_PIIX3.zip (218.7 KB ) - added by boxer01 7 years ago.
Logs win8.1x64 host, win7 x86 guest with 5.1.18 & PIIX3 chipset
Vbox5_1_20.zip (212.2 KB ) - added by boxer01 7 years ago.
Here is a log from 5.1.20. Strange thing happened: I think after guest restart from the safe mode I got no guru exception, but simply exception so Vbox with manager was away after pressing OK button. Go figure!
Vbox5_1_22.zip (172.0 KB ) - added by boxer01 7 years ago.
Here is a log from 5.1.22.
VBox_5_1_24.zip (54.2 KB ) - added by ariafan 7 years ago.
WinXP_under_W8x64.zip (132.9 KB ) - added by boxer01 6 years ago.
Logs from the VM with guru meditation
WinXP_under_W8x64_ExtraCrashLogs.zip (213.8 KB ) - added by boxer01 6 years ago.
Logs from home folder after guru meditation

Change History (40)

by boxer01, 8 years ago

Attachment: VBox.png added

screenshot win8.1x64 host, win7 x32 guest

by boxer01, 8 years ago

Attachment: VBox_5_10_log.zip added

logs win8.1x64 host, win7 x32 guest

by boxer01, 8 years ago

Attachment: Vbox_5_12_log.zip added

logs win8.1x64 host, win7 x32 guest with 5.1.2

by boxer01, 8 years ago

Attachment: Vbox_512_xp.zip added

logs and pictures vista x86 host, win XP x86 guest with 5.1.2

by boxer01, 8 years ago

Attachment: Vbox_513_xp.zip added

logs and pictures vista x86 host, win XP x86 guest with 5.1.3

by boxer01, 8 years ago

crash log vista x86 host, win XP x86 guest with 5.1.2

by boxer01, 8 years ago

crash log vista x86 host, win XP x86 guest with 5.1.3

by boxer01, 8 years ago

crash log vista x86 host, win XP x86 guest with 5.1.3

comment:1 by boxer01, 8 years ago

The #15669 looks like the same issue for me.

comment:2 by Frank Mehnert, 8 years ago

Summary: GuruMeditation -2301 (VERR_REM_VIRTUAL_CPU_ERROR) after 5.1.x updateGuruMeditation -2301 (VERR_REM_VIRTUAL_CPU_ERROR) after 5.1.x update (Raw Mode)

Please could you attach VBox.log files from VBox 5.0.24 as well?

in reply to:  2 comment:3 by boxer01, 8 years ago

Replying to frank:

Please could you attach VBox.log files from VBox 5.0.24 as well?

OK, I already updated from 5.0.24 to 5.0.26 and this version works. But I think you just need some logs from working version, so it isn’t important if it 24 or 26. The logs are from the same host guest combination (W 8.1 / W 7).

BTW, the #15694 is connected to this issue, I think so. If I save the state with 5.0.26, update and start with 5.1.2, then the state restores without any problem. But after that I nearly immediately get a BSOD from guest Windows.

by boxer01, 8 years ago

Attachment: Vbox_5_0_26.zip added

logs win8.1x64 host, win7 x32 guest on 5.0.26

comment:4 by R_mano, 8 years ago

I have the same problem with host Linux 16.04 (xenial), VirtualBox 5.1.6, and windows 7 guest (32 bit). I'll attach the logs from the failed boot asap.

by R_mano, 8 years ago

Attachment: HostXenialGuestWindows7.zip added

Here it is: last log, and next-to-last with .png (I do not have a PNG for the last, don't know why).

comment:5 by boxer01, 7 years ago

Ticket #16165 has the same issues

comment:6 by R_mano, 7 years ago

Still here, 5.1.14. Should be a hw-related thing, because at home 5.1.14 works ok.

Info available on request, the machine is a HP Compaq Elite 8100.

Attaching new log.

by R_mano, 7 years ago

Attachment: VBox.log.gz added

5.1.14 crash

comment:7 by R_mano, 7 years ago

Notice that my processor is an i-5 on both machines; I went through the HP Bios (horrible) on the one faulting, and found no mention of VT-x.

Is there any workaround available?

comment:8 by Frank Mehnert, 7 years ago

Could you retry with VBox 5.1.16? There were a couple of fixes which could be related to your problem.

comment:9 by boxer01, 7 years ago

I tested this with current 5.1.18 and this guru meditation is still here. I attached the fresh logs from the VM. There are no problems with 5.0.36. If it’s important: the BSOD because of ICH9 bug in 5.1.16 happened before the guru meditation. So one have had to change the setting to the PIIX3 to get guru meditation.

I saw some changes in Git because of some register problems between 5.1.14 and 5.1.16, but this wasn’t an issue we are dealing with here. My host is Windows 8.1 x64, guest is Windows 7 x86. Hope this could help.

by boxer01, 7 years ago

Attachment: Vbox_5_1_18_Win10_Win7.zip added

logs win8.1x64 host, win7 x86 guest with 5.1.18

comment:10 by Frank Mehnert, 7 years ago

boxer01, thanks for the additional logs. You say that you can also reproduce this Guru with VBox 5.1.18 if you are using the PIIX3 chipset, is that correct? Could you attach a VBox.log file of such a VM session as well? Thank you!

comment:11 by boxer01, 7 years ago

I’ve done the test you asked me to do and attached the logs. I don‘t know if you understood my explanations from previous comment correctly, so I do it once again with a little bit more detail. So after installing 5.1.16 and starting the VM I got a BSOD in the guest. I thought that guru meditation was fixed, but later I could see that I was wrong.

After BSOD in the guest guest OS restarts automatically and tries to go into recovery, there are two choices here, normal start and the recovery mode. But recovery also fails because of the BSOD. It loads everything till CLASSPNP.SYS, tries to start and fails here once again. So now the VM is in the infinity loop of the recovery mode until one downgrade to the working version. Lucky for me somebody else already got some problems with a new version and this ticket (#16541) suggested the change of the chipset as a temporary solution for the problem.

If you take a look at the changelog, you will see, that there are some changes in the 5.1.16 because of some problems in the ICH9 code. And there are more changes in the 5.1.18 code to solve the problems caused by previous changes. So after I change the chipset, the BSOD was away, but now I could get through to the old good guru meditation. Looks like it was here all the time, we just simply got one more issue earlier with chipset with x86 guests in the 5.1.16. I hope now is everything clear.

One more interesting thing. After changing the chipset and starting VM I got a guru as usual on 5.1.18. So I boot the guest in the safe mode, which was always possible. This time OS saw the hardware changes and asked me to reboot the system to apply the driver changes. This time the VM was simply blown away with exception, so I only saw the manager on the screen. Next boot in the safe mode went without any problems.

by boxer01, 7 years ago

Logs win8.1x64 host, win7 x86 guest with 5.1.18 & PIIX3 chipset

comment:12 by Frank Mehnert, 7 years ago

I completely understood that you got a BSOD with 5.1.16 and that this BSOD went away with 5.1.18 (there was an appropriate fix for the ICH9 chipset in 5.1.16, only raw mode affected) but now you get a Guru Meditation with 5.1.18.

Regarding the BSOD: It's a good idea to disable the Windows automatic reboot feature (Settings / Control Panel / System and Security / System / Advanced System Settings / Startup and Recovery). Of course this works only once you are able to fully boot your guest.

From your above description I also understood that this Guru is a 5.1.x regression as you don't have any problems with 5.0.36. Thanks for the additional logs.

comment:13 by boxer01, 7 years ago

I’m glad that you understood me completely from the very beginning, I just wanted to avoid any misunderstandings and also to be clear. I red in the change log, that only the x86 raw mode clients were affected. In spite of the fact that my virtual HDD is a normal file and not a raw mode device, the 5.1.18 ICH9 bug fix also helped in my case.

I know about the control panel setting. One can also do this by pressing F8 at the very beginning of the boot process and selecting the item with disabling reboot in case of error. But same thing here – one needs a VM, which didn’t crash previously.

As already mentioned I can start a guest OS in safe mode without any problems. So the triggered instruction must be in some driver or service which is only loaded in the normal start scenario.

At the end I like to mention, that this guru meditation is here from 5.1.0, not just 5.1.18. As long as 5.0 is also supported, it isn’t a big problem for me. But I don’t know how long the 5.0 branch will be supported and I don’t like the idea of having to choose between the unsupported version and a movement to another product, if this meditation will be still here after the end of the 5.0 support.

comment:14 by R_mano, 7 years ago

Just a comment --- I still have the guru meditation with 5.1.22 on my Dell machine (not on others). I tried to change the chipset.

I have to revert to 5.0.

Just as a reminder, host is Ubuntu 16.04, client is a Win7 32bit.

The symptoms are exactly the same as the ones reported above by myself, but if any developer want me to run some test, I am available.

Last edited 7 years ago by R_mano (previous) (diff)

comment:15 by Frank Mehnert, 7 years ago

R_mano, I would like to see a VBox.log file of such a VM session. I assume that VT-x is not available on your host for some reason.

comment:16 by Frank Mehnert, 7 years ago

To state it clear: All VBox.log files I saw in this ticket have VT-x disabled. Enable VT-x in your BIOS or disable Hyper-V if you are on Windows.

comment:17 by boxer01, 7 years ago

Sorry, but I have to correct you. In my own case, I simply can‘t turn the VT-x on, because my processor has none (T3400), it was simply castrated by Intel for some marketing reasons. So I can’t turn anything in my BIOS, because it also has no such option. My only choice in Vbox was and is a raw mode, which is still broken in the 5.1 version. Right now I only can use 5.0 version, but it looks like that the support of this one would be probably dropped soon.

The other person here has more modern processor (i7-3xxx), but something is wrong with the HP BIOS, so he can’t turn the VT-x on, even if his processor has this feature for sure. So he has to use the raw mode either.

One of the tickets, which I referenced here, and which is closed as a duplicate of my ticket, has this problem because of an old Atom processor, which also has no VT-x at all.

At the end we all only can hope, that this bug in raw mode would be corrected soon. Of course, I can’t make any pressure here, only humbly hope for the patch. But anyway I would like to know, if this has any priority, or should we already loose any hopes?

by boxer01, 7 years ago

Attachment: Vbox5_1_20.zip added

Here is a log from 5.1.20. Strange thing happened: I think after guest restart from the safe mode I got no guru exception, but simply exception so Vbox with manager was away after pressing OK button. Go figure!

by boxer01, 7 years ago

Attachment: Vbox5_1_22.zip added

Here is a log from 5.1.22.

comment:18 by boxer01, 7 years ago

I just have tested the new 5.1.24 and it finally works! Thank you very much everybody who made it happens. I‘m so happy, after the year of waiting it works with new version. I don’t know which changeset corrected this situation, probably it were the SSE2 changes, but now I can start my VM in the raw mode. So this ticket and every ticket which is referenced here can be closed for good. I don’t know what is about the tickets with guru meditation after the antivirus program installation, hopefully this works too now.

by ariafan, 7 years ago

Attachment: VBox_5_1_24.zip added

comment:19 by ariafan, 7 years ago

My problem (#16165) is not solved.

comment:20 by boxer01, 6 years ago

Today I needed some testing under Windows XP, so I took my old XP VM and immediately got this guru issue. The current 5.2.3 beta (19405) was replaced by 5.2.2, then 5.1.30 and then with last 5.0.40. With the last one the guru meditation disappeared. So the issue gone in my Windows 7 VM, but still present in the XP guest under Windows 8 x 64 host.

Remembering, that somebody filed the ticket about antivirus software causing guru meditation I used the current situation and made some tests. And in my case this was really the culprit! As soon as I uninstall my AV in the guest (ESET NOD32, there was an old 8 version there, but update to the current 10.1 make no difference), the problem with 5.1 and 5.2 disappears and I could use my XP VM with them. As soon as one install AV once again, directly in the moment where installer tries to start the AV, I got the guru mediation. This also explains, why I can start the VM in safe mode: there are no AV drivers in this case, which probably cause the guru on the boot of VM.

Hope this would be helpful for other people with same problems. I know that this is somehow a problem to use VM without a decent AV, but at least you would know the cause of the guru meditation.

by boxer01, 6 years ago

Attachment: WinXP_under_W8x64.zip added

Logs from the VM with guru meditation

by boxer01, 6 years ago

Logs from home folder after guru meditation

comment:21 by boxer01, 5 years ago

Looks like the raw mode would be removed completely in the version 6.1 by the end of the year 2019. So everybody with the issues like this would leave with them forever, just because their hardware is somehow old and doesn’t support some hardware virtualization.

comment:22 by aeichner, 4 years ago

Resolution: wontfix
Status: newclosed

Correct, raw got dropped and we won't do any non critical fixes to the last supported version, closing this ticket.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use