Page 1 of 1

XP Guest keeps crashing

Posted: 18. Oct 2014, 11:05
by Paul876
I have a Windows XP VM that keeps crashing. I have attached some log files. Can anyone take a look and suggest what might be wrong.

Thanks.

Re: XP Guest keeps crashing

Posted: 18. Oct 2014, 12:11
by mpack
The actual error is :-
VBox.log wrote: 01:30:01.331376 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
01:30:01.331378 !!
01:30:01.331379 !! Guru Meditation -2403 (VERR_TRPM_DONT_PANIC)
01:30:01.331406 !!
01:30:01.331447 !! TRAP=0e ERRCD=0000000000000000 CR2=00000000a0049a98 EIP=f6c7f73a Type=0 cbInstr=ff
01:30:01.331471 !! EIP in VBoxDDGC.gc (f6c79000) at rva 673a near symbols:
01:30:01.331474 !! f6c7ecb0 rva 00005cb0 off 00000a8a kbdIOPortCommandWrite
01:30:01.331475 !! f6c7f7d0 rva 000067d0 off -00000096 acpiPMTmrRead
01:30:01.331519 !! fff8:f6c7f73a 8b 4a 08 mov ecx, dword [edx+008h]
01:30:01.331525 !!
01:30:01.331525 !!
I also saw the following :-
VBox.log wrote: 00:00:01.893918 Console: VM runtime error: fatal=false, errorID=HostAudioNotResponding message="Some audio devices (PCM_in, PCM_mic) could not be opened. Guest applications generating audio output or depending on audio input may hang. Make sure your host audio device is working properly. Check the logfile for error messages of the audio subsystem"
A final thing I noticed is that VT-x is enabled in the VM settings, but the following appears in the log :-
VBox.log wrote: 00:00:01.483424 VM: fHMEnabled=true (configured) fRecompileUser=false fRecompileSupervisor=false
00:00:01.483426 VM: fRawRing1Enabled=false CSAM=true PATM=true
00:00:01.483528 HMR3Init: Falling back to raw-mode: VT-x is disabled in the BIOS.
Past occurrences of this error have been bypassed by enabling VT-x fully.

Re: XP Guest keeps crashing

Posted: 21. Oct 2014, 18:06
by frank
Problem covered by ticket 13521. Bug will be fixed in the next 4.3.x maintenance release.

Re: XP Guest keeps crashing

Posted: 19. Nov 2014, 13:09
by Vitorio
Having same symptoms here.
Using a non VT-x server with Ubuntu 12.04 LTS 64bit host and Windows 2003 32bit guest. Until 4.3.16 the setup was fine. With 4.3.18 the server started to randomly crash with the Guru Meditation popup. I saw a 4.3.19 test build in the ticket #13521 but as my server is in production, I preferred to roll back for the moment to 4.3.16 and wait for a stable release.
Can you confirm that it's the same case reading the log symptoms?
Thanks for your hard work, Virtualbox rules!

Re: XP Guest keeps crashing

Posted: 19. Nov 2014, 15:39
by mpack
You should also be able to bypass the problem by disabling VT-x in the VM settings. If the GUI won't let you then make sure the VM is fully shut down (not suspended) and use the command :-

Code: Select all

VBoxManage modifyvm <vmname> --hwvirtex off

Re: XP Guest keeps crashing

Posted: 19. Nov 2014, 16:02
by Vitorio
Hmmmm, thanks for the tip!
I was almost sure that the option VT-x acceleration was off, as unavailable in this computer. My VM is running so I can't go in the acceleration tab, but I can see in the summary: "Acceleration: PAE/NX" what is correct.
But in the Windows 2003.vbox XML file I see indeed <HardwareVirtEx enabled="true" />
It may be a good feature request to better sync the GUI with the CLI for situations like this bug.

Re: XP Guest keeps crashing

Posted: 19. Nov 2014, 16:38
by mpack
No, the log shows you have VT-x enabled. In fact, that's the only time this crash ever appears: VT-x enabled on a system where VT-x isn't available for any reason.

PAE/NX is not the same feature.

Re: XP Guest keeps crashing

Posted: 19. Nov 2014, 17:12
by Vitorio
Yes, I know PAE/NX is not involved. I cited it because it's the only acceleration the GUI says I have. So it doesn't see the VT-x enabled.
This VM was built in this computer, that doesn't have VT-x. So if my memory is exact, the VT-x option was always greyed in the GUI as it's not available.
IMHO, the origin of this bug resides in this point. How does those VM have VT-x pseudo-enabled if the GUI detected that the acceleration was not present and don't offer the option to tick it?
 Edit:  I just did a test. Created a fresh new config in this computer (without VT-x) with VirtualBox 4.3.16. Just as I remembered, the acceleration tab is greyed out. Until here everything is logical. But, BUT, looking at the Test.vbox XML, the VT-x IS ENABLED!!! So, of course, using this config will bu unstable as the features are inconsistent. This should be patched. On systems without hardware acceleration, it should be disabled in the config by virtualbox. Or at least ignored as it was until 4.3.16. 

Re: XP Guest keeps crashing

Posted: 19. Nov 2014, 19:59
by mpack
Vitorio wrote:So it doesn't see the VT-x enabled.
That can't be true. It may be disabled, but it will be shown as selected.