Page 1 of 1

VM crash - Assertion Failed on 4.1.10 and 4.0.16

Posted: 31. Mar 2012, 09:41
by zdinu
Hello,

We got stability issues with both 4.1.10 and 4.0.16 versions running Windows 64 bit guest VM on a OpenIndiana oi_151a base OS.

Here is the kernel dmesg output:
Mar 30 16:10:39 host-0652 !!Assertion Failed!!^M
Mar 30 16:10:39 host-0652 Expression: <null string>^M
Mar 30 16:10:39 host-0652 Location : /home/vbox/tinderbox/4.1-sol-rel/src/VBox/VMM/VMMAll/PGMAllPool.cpp(2980) void pgmPoolTrackFreeUser(PGMPOOL*, PGMPOOLPAGE*, uint16_t, uint32_t)^M
Mar 30 16:10:39 host-0652 genunix: [ID 702911 kern.notice] Didn't find the user entry! iUser=615 iUserTable=0x200 GCPhys=00000000a6053000
Mar 30 16:11:00 host-0652 vboxdrv: [ID 277664 kern.notice] RTC: stopped the periodic timer
Mar 30 21:38:13 host-0652 vboxdrv: [ID 619275 kern.notice] int pgmR0BthAMD64AMD64Trap0eHandler(VMCPU*, RTGCUINT, CPUMCTXCORE*, RTGCPTR, bool*): returns rc=0 pvFault=00000000767e145d uErr=15 cs:rip=0023:767e145d

Mar 31 01:31:39 host-0652 !!Assertion Failed!!^M
Mar 31 01:31:39 host-0652 Expression: <null string>^M
Mar 31 01:31:39 host-0652 Location : /home/vbox/tinderbox/4.1-sol-rel/src/VBox/VMM/VMMAll/PGMAllPool.cpp(2980) void pgmPoolTrackFreeUser(PGMPOOL*, PGMPOOLPAGE*, uint16_t, uint32_t)^M
Mar 31 01:31:39 host-0652 genunix: [ID 702911 kern.notice] Didn't find the user entry! iUser=405 iUserTable=0x200 GCPhys=00000000d9378000
Mar 31 01:32:05 host-0652 vboxdrv: [ID 277664 kern.notice] RTC: stopped the periodic timer

It happens very frequently. We are running a mix of Linux 64 bit and Windows 64 bit VMs. It seems that only Windows VMs are in question. Here is a part of VM.log section:

08:18:25.550 !!R0-Assertion Failed!!
08:18:25.550 Expression: <NULL>
08:18:25.550 Location : /home/vbox/tinderbox/4.1-sol-rel/src/VBox/VMM/VMMAll/PGMAllPool.cpp(2980) void pgmPoolTrackFreeUser(PGMPOOL*, PGMPOOLPAGE*, uint16_t, uint32_t)
08:18:25.550 Didn't find the user entry! iUser=405 iUserTable=0x200 GCPhys=00000000d9378000
08:18:25.550 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
08:18:25.550 !!
08:18:25.550 !! Guru Meditation -2701 (VERR_VMM_RING0_ASSERTION)
08:18:25.550 !!
08:18:25.550 !!R0-Assertion Failed!!

Here is part of showvminfo output:
Memory size: 4096MB
Page Fusion: off
VRAM size: 48MB
CPU exec cap: 100%
HPET: off
Chipset: piix3
Firmware: BIOS
Number of CPUs: 2
Synthetic Cpu: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: on
PAE: off
Time offset: 0 ms
RTC: local time
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging: off
Large Pages: on
VT-x VPID: on
State: guru meditation (since 2012-03-31T06:31:40.205000000)
Monitor count: 1


Please let me know what VirtualBox version is the most stable on Solaris hosts. I'm not sure I found one yet.

Thank you!
Dinu

Re: VM crash - Assertion Failed on 4.1.10 and 4.0.16

Posted: 31. Mar 2012, 14:52
by Ramshankar
This guru seems familiar but I'll have to check if it's already been addressed. Guru meditations are mostly VMM internal errors that are usually host independent, so Solaris hosts is probably not the problem here at all. It might manifest more on certain hosts due to timing etc., but I digress, could you please upload the full VBox.log?

Re: VM crash - Assertion Failed on 4.1.10 and 4.0.16

Posted: 31. Mar 2012, 16:02
by zdinu
Hello,

I have attached the log file. In the meantime I have disabled largepages and ran increased the HyperHeap with:

VBoxManage setextradata <VMNAME> "VBoxInternal/MM/cbHyperHeap" "3145728"

Refferences:
viewtopic.php?f=11&t=46974
https://www.virtualbox.org/ticket/8631

I will let you know if the crash occurs again after these changes made but please try find what's going on.

I really appreciate if we can fix the stability issue !

Thank you,
Dinu

Re: VM crash - Assertion Failed on 4.1.10 and 4.0.16

Posted: 2. Apr 2012, 13:43
by Ramshankar
This shouldn't be related to large pages, so you shouldn't need to disable them. Could you please try with large pages enabled with just the increased hyper heap size?

Re: VM crash - Assertion Failed on 4.1.10 and 4.0.16

Posted: 2. Apr 2012, 14:34
by zdinu
Hi,

Yes, I can enable the large pages again. It has been stable so far with the heap increased, or at least it didn't had a chance to crash.

I will keep you posted.

Thank you !