VirtualBox

Opened 10 years ago

Closed 8 years ago

#12805 closed defect (obsolete)

Guru Meditation -4014 (VERR_VMX_INVALID_GUEST_STATE) with 4.3.8

Reported by: Yoda Owned by: Ramshankar Venkataraman
Component: VMM Version: VirtualBox 4.3.8
Keywords: Cc:
Guest type: other Host type: Linux

Description

Host: Fedora 20/64 Guest: eCS Vbox 4.3.8

Never seen a crash like this with any previous Vbox version

Attachments (10)

eCS Server-2014-03-09-05-01-39.zip (116.9 KB ) - added by Yoda 10 years ago.
eComStation_No_SMP.png (112.4 KB ) - added by Ramshankar Venkataraman 10 years ago.
eCS with SMP kernel and ACPI installed, still doesn't bring up 2nd VCPU.
eComStationSMP.png (250.6 KB ) - added by Ramshankar Venkataraman 10 years ago.
SMP working with 4 VCPUs
VBox.zip (119.8 KB ) - added by Yoda 10 years ago.
Vbox2.zip (402.7 KB ) - added by Yoda 10 years ago.
VBox3.zip (122.8 KB ) - added by Yoda 10 years ago.
VBox4.zip (126.4 KB ) - added by Yoda 10 years ago.
VBox5.zip (128.7 KB ) - added by Yoda 10 years ago.
VBox6.zip (133.4 KB ) - added by Yoda 10 years ago.
VBox7.zip (132.6 KB ) - added by Yoda 9 years ago.

Download all attachments as: .zip

Change History (43)

comment:1 by Ramshankar Venkataraman, 10 years ago

For my referernce HM error 0x58 is VMX_IGS_RFLAGS_IF_INVALID.

Thanks for the report, will see if I have the appropriate guest here to try replicate the problem.

comment:2 by Ramshankar Venkataraman, 10 years ago

Please tell me the exact guest OS you are using. Which version of eComStation?

comment:3 by Yoda, 10 years ago

IIRC it is based of eCS 2.0
Kernel is IBM 14.104a_SMP
ACPI driver: 3.22.3
Video: Panorama 1.06

comment:4 by Ramshankar Venkataraman, 10 years ago

I installed eCS 2.0 with the SMP kernel and ACPI. The guest still sees only 1 VCPU.

So I'm not sure what else needs to be done for it to use both the CPUs. Could you give instructions if any on how to enable the other CPU after installing the SMP kernel and ACPI support?

Otherwise, I'm afraid I'll need a copy of your VM to see if I can reproduce the problem here.

comment:5 by Yoda, 10 years ago

If SMP kernel and ACPI driver is installed, it should detect the number of CPU's at boot by itself.

Check config.sys for the line:

PSD=ACPI.PSD

There should not be any other parameters on that line.

comment:6 by Yoda, 10 years ago

BTW, I'm not getting any email notofication about updates in this ticket. Aren't we supposed to get that ?

by Ramshankar Venkataraman, 10 years ago

Attachment: eComStation_No_SMP.png added

eCS with SMP kernel and ACPI installed, still doesn't bring up 2nd VCPU.

comment:7 by Yoda, 10 years ago

Are you sure the SMP kernel is installed ? check with:

bldlevel os2krnl

from a cmd window

or use the ACPI wizzard in 'Local System' -> 'Install/remove'

comment:8 by Yoda, 10 years ago

To figure out, why this didn't work for you, I just made a new install of eCS 2.0 It indeed doesn't work for more than 1 CPU with the ACPI driver that comes with eCS 2.0; but that is also known to be very defective. Thats why I specified the additional drivers, I had updated.

I just added new ACPI and Panorama to this test setup, and it works for 2 cpu's (My I7 has 4+4 cores) but trying 3 or more often crashes at boot - so don't do that (unless you want to fix it ;-) ) )

comment:9 by Ramshankar Venkataraman, 10 years ago

Silly question, never used eCS before, but where/how can I update the ACPI driver to the required version?

comment:10 by Yoda, 10 years ago

Give me your email, and I'll send it

comment:11 by Ramshankar Venkataraman, 10 years ago

Could you please send it as an attachment as a private message through the VirtualBox forums? My username there is "ramshankar".

comment:12 by Yoda, 10 years ago

I couldn't figure out how to attach it, so I sent an URL instead.

comment:13 by Ramshankar Venkataraman, 10 years ago

Managed to install the new ACPI drivers, and now the guest recognizes 2 VCPUs. "Processors Initialized: 2" while boot up. CPU Monitor also shows 2 CPUs now.

I then tried with 3 CPUs and it seemed to work. I didn't notice any crashes on bootup. I'll keep trying a bit more.

by Ramshankar Venkataraman, 10 years ago

Attachment: eComStationSMP.png added

SMP working with 4 VCPUs

comment:14 by Yoda, 10 years ago

Interesting... First, the SMP Monitor app has been defective for a long time - it doesn't show correct CPU utilization. The eCenter at the bottom shows it correctly, and vill show you a graph for each detected cpu too.

Thinking back, I think I did all my SMP tests with 4.1 and 4.2 , and haven't tried more than 2 VCPUs since.

So I just tried it on my eCS server. Just to be rough, I gave it 8 VCPUs. Previously, as I said, more than 2 VCPUs would crash very early - before boot-logo. With 8, it passed that point, and loaded all drivers from config.sys - but froze there. OK, back to 4 VCPU (matching hw). Boot was clearly much slower( than 2VCPUs) - with a long pause after last driver was loaded, but desktop came up. However, it reset the guest just after. It booted up again, just as slow as before - but this time it managed to load all the apps the server runs - and then it completely froze.

Back to 2 VCPUs - boot is fast, and everything is stable again.

Conclusion must be, that the old bug (booting causes an IPE in early boot with more than 2 VCPUs) are gone, but something else is clearly wrong.

To get back to the original topic for this ticket ( :-) ) ... the Guru error has only happened that one time, after the server had run for a few days.

comment:15 by Yoda, 10 years ago

Crash haven't happened for 4.3.10 or 4.3.12 - I guess we can close this ticket

comment:16 by Ramshankar Venkataraman, 10 years ago

Resolution: fixed
Status: newclosed

Closing, reopen if relevant.

comment:17 by Yoda, 10 years ago

Resolution: fixed
Status: closedreopened

I guess I said that too early - it just happened again. Log uploaded

by Yoda, 10 years ago

Attachment: VBox.zip added

comment:18 by Yoda, 10 years ago

...and it happened again - vbox2.zip (logs+png) attached.

by Yoda, 10 years ago

Attachment: Vbox2.zip added

comment:19 by Ramshankar Venkataraman, 10 years ago

Thanks, will look into it. Need to think how this can happen, although I have an idea, will need to double-check if that can really happen.

comment:20 by Ramshankar Venkataraman, 10 years ago

Owner: set to Ramshankar Venkataraman
Status: reopenedaccepted

comment:21 by Ramshankar Venkataraman, 10 years ago

Would you be willing to try a test build to help narrow down the issue?

comment:22 by Yoda, 10 years ago

Sure.

BTW, I noticed from the png's, that the crash usually happens just after 05.00 . At 0500 the newsserver starts expire process - that puts quite a load on CPU and I/O - maybe this has something to do with it.

by Yoda, 10 years ago

Attachment: VBox3.zip added

comment:23 by Yoda, 10 years ago

On my laptop eCS just crashed with:

Guru Meditation 1155 (VINF_EM_TRIPLE_FAULT)

Vbox3 log attached

comment:24 by Ramshankar Venkataraman, 10 years ago

Here is an instrumented build which could help narrow down the problem, feel free to give it a try but remember it's a bleeding-edge build:

https://www.virtualbox.org/download/testcase/VirtualBox-4.3.53-94551-Linux_amd64.run (link expires in ~14 days)

comment:25 by Yoda, 10 years ago

Installed. Lets see if I can make it crash :-)

Do you have a Win7 build too ? My laptop runs Win7 - and that was crash nr 3.

by Yoda, 10 years ago

Attachment: VBox4.zip added

comment:26 by Yoda, 10 years ago

vbox4.zip attached. Guru with new build

comment:27 by Yoda, 10 years ago

Guru Meditation 1155 (VINF_EM_TRIPLE_FAULT) with 4.3.14

Vbox5.zip attached.

by Yoda, 10 years ago

Attachment: VBox5.zip added

comment:28 by Yoda, 10 years ago

OK, these Tripple faults keep happening here. Not exactly same env as org post - this is on my laptop running Win7 host, and eCS 2.1 guest

I've had 10 so far :-/

This lap has been running this env for at least a year without any GURU's - seems to just start with 4.3.14.

comment:29 by Ramshankar Venkataraman, 10 years ago

I've made some fixes to the event injection logic which affects Linux, Solaris hosts (which will be part of the next maintenance version of VirtualBox). I'll try upload a test build for you soon. As for the Windows triple-fault that may or may not be related, can't say yet.

comment:30 by Yoda, 10 years ago

I just managed to reproduce the tripple-fault on Linux, using same VM. If you think this is unrelated to the original problem here, I can open another ticket for this. Vbox6.zip attached.

by Yoda, 10 years ago

Attachment: VBox6.zip added

comment:31 by Yoda, 9 years ago

After having updated to v4.3.20 and giving it a few heavy stress tests, it seems that the bug is finally fixed. Lets close this ticket.

comment:32 by Yoda, 9 years ago

Well, it seems everytime I think it is fixed, it crashes again. Vbox7.zip attached version 4.3.20

by Yoda, 9 years ago

Attachment: VBox7.zip added

comment:33 by Frank Mehnert, 8 years ago

Resolution: obsolete
Status: acceptedclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use