Guest Win10 restarting always after about 5 minutes of use

Discussions related to using VirtualBox on Linux hosts.
Post Reply
borgesrsb
Posts: 3
Joined: 5. May 2021, 13:05

Guest Win10 restarting always after about 5 minutes of use

Post by borgesrsb »

Hi,
can someone help me, please!

I'm using an Ubuntu 20.04 (5.8.0-50-generic #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux) host machine with a guest Windows 10.
I tried to use Virtual Box via apt-get and it installed the version 6.1.16, but always after about 5 to 8 minutes running, Windows restarts. I tried several VirtualBox versions like 6.0.24, 6.1.20 and, finally 6.1.22 (6.1.22 r144080 (Qt5.6.1)) installing via DEB download and with this script VirtualBox-6.1.22-144080-Linux_amd64.txt.

I had some kmode_exception_not_handled blue screen and it seems that with paravirtualization setted to "none" and hardware virtualization setted I have a little more stability, i.e. it restarts but rarelly show a blue screen although windows events logs KMODE exception.
I tried to disable network, usb and all the hardwares that is not mandatory because it seems to me that it is a driver failure. No success.

I'm uploading VB logs, Win minidump and a screenshot of blue screen software.

cheers
Attachments
VM-error.tar.gz
(238.83 KiB) Downloaded 19 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Guest Win10 restarting always after about 5 minutes of use

Post by mpack »

The Ubuntu forks of the open sources are not supported here, so I will only look at the 6.1.22 log.

In that log you seem to be very close to over committing host RAM.
00:00:00.651007 Host RAM: 7689MB (7.5GB) total, 4834MB (4.7GB) available
...
00:00:00.691461 RamSize <integer> = 0x0000000113800000 (4 622 123 008, 4 408 MB, 4.3 GB)
4.3GB is a strange number to choose, so I suspect you are guilty of tuning the VM to use as much host RAM as possible, which of course is always going to leave it on the edge of not working. I would reduce the VM RAM to 3072MB or even 2048MB.

As for the reset, that appears in the log
00:02:33.277435 VMMDev: vmmDevHeartbeatFlatlinedTimer: Guest seems to be unresponsive. Last heartbeat received 4 seconds ago
00:02:42.423944 VMMDev: Guest Log: VBoxGuest: BugCheck! P0=0x1e P1=0xffffffff80000002 P2=0xfffff8041810ac3f P3=0x0 P4=0xfffff8041546eac0
00:02:42.424371 ACPI: Reset initiated by ACPI
That looks like a bluescreen/blackscreen event to me (KMODE_EXCEPTION_NOT_HANDLED), which Windows addressed by automatic reset. You should disable automatic resets in the guest if you want to see the BSOD error message. E.g. in a Win10 guest go to Settings|About|Advanced system settings. Then click the "Start-up and recovery" Settings button and untick the "Automatically restart" checkbox.

I would certainly try updating the Guest Additions to 6.1.22, since they are currently on 6.1.16 - which is several versions old by now.
borgesrsb
Posts: 3
Joined: 5. May 2021, 13:05

Re: Guest Win10 restarting always after about 5 minutes of use

Post by borgesrsb »

Thanks for the reply.
I changed the amount of memory to 3,072 MB and updated the guest additions, but I was unsuccessful.

Cheers
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Guest Win10 restarting always after about 5 minutes of use

Post by mpack »

In that case you'll need to find out what causes the BSOD, because we seem to have eliminated the potential VirtualBox causes. Since it reliably kicks in after 5 minutes of runtime I would start by checking the power saving settings: they should all be disabled, since virtual power is not really a useful thing to save.
borgesrsb
Posts: 3
Joined: 5. May 2021, 13:05

Re: Guest Win10 restarting always after about 5 minutes of use

Post by borgesrsb »

Yes, I started to change everything and test.
When I changed the chipset from "PIIX3" to 'ICH9', Windows 10 became stable.
I've been running Win 10 for 30 minutes and it seems to be fine.

Thanks for the help.
Cheers
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Guest Win10 restarting always after about 5 minutes of use

Post by mpack »

Hmm. Windows 10 does not require ICH9 (my own Win10 is running quite happily with PIIX3), so there is still something missing from the story. ICH9 is required by MacOS guests, no one else needs it.

That said, if you have it working then who am I to argue. Good result.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Guest Win10 restarting always after about 5 minutes of use

Post by fth0 »

You're encountering a known, yet unsolved issue, see 20180 and viewtopic.php?f=7&t=101667 for details.
borgesrsb wrote:When I changed the chipset from "PIIX3" to 'ICH9', Windows 10 became stable.
That's a very interesting find, thanks for sharing. I'll let some of the other affected users check if it qualifies as a general workaround for the time being ...
Last edited by fth0 on 10. May 2021, 18:57, edited 1 time in total.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Guest Win10 restarting always after about 5 minutes of use

Post by fth0 »

Can you please provide a zipped VBox.log file from the working setup?
LievenV
Posts: 1
Joined: 11. May 2021, 23:13
Primary OS: openSUSE
VBox Version: PUEL
Guest OSses: Windows 10
Location: Belgium

Re: Guest Win10 restarting always after about 5 minutes of use

Post by LievenV »

Same problem after a kernel upgrade from 5.3 to 5.12 on openSUSE 15.2.
I have tried different VirtualBox versions (currently 6.1.22) and different 5.12.x kernel versions but the problem of Windows 10 crashes continues (also after changing the chipset to ICH9).
  • 00:11:42.070853 GIM: HyperV: Guest indicates a fatal condition! P0=0x1e P1=0xffffffff80000002 P2=0xfffff80551360493
    P3=0xffffd303dbd020fa P4=0x7010008004002001
    00:11:42.070919 GIMHv: BugCheck 1e {ffffffff80000002, fffff80551360493, ffffd303dbd020fa, 7010008004002001}
    00:11:42.070920 KMODE_EXCEPTION_NOT_HANDLED
    00:11:42.070920 P1: ffffffff80000002 - exception code - STATUS_DATATYPE_MISALIGNMENT
    00:11:42.070920 P2: fffff80551360493 - EIP/RIP
    00:11:42.070920 P3: ffffd303dbd020fa - Xcpt param #0
    00:11:42.070920 P4: 7010008004002001 - Xcpt param #1
jeromba6
Posts: 1
Joined: 15. Jun 2021, 15:15

Re: Guest Win10 restarting always after about 5 minutes of use

Post by jeromba6 »

F10-2021-2021-06-15-14-28-53.zip
zipped_log
(34.73 KiB) Downloaded 10 times
It seems I have a similar problem. My windows Guest crashes after a random time :roll:

Host: Ubuntu 21.04 (Fresh install)
Guest: Win 10 (copied from an other host which did work)

Install of a fresh Window 10 guest is also crashing
Install of a Linux guest seems to be stable.

Problem seems to occur here:

00:19:14.627091 VMMDev: Guest Log: VBOXNP: DLL loaded.
00:19:37.149736 GIM: HyperV: Guest indicates a fatal condition! P0=0x1e P1=0xffffffff80000002 P2=0xfffff80305960493 P3=0xffffd28a1937507b P4=0x7010008004002001
00:19:37.150130 GIMHv: BugCheck 1e {ffffffff80000002, fffff80305960493, ffffd28a1937507b, 7010008004002001}
00:19:37.150136 KMODE_EXCEPTION_NOT_HANDLED
00:19:37.150138 P1: ffffffff80000002 - exception code - STATUS_DATATYPE_MISALIGNMENT
00:19:37.150140 P2: fffff80305960493 - EIP/RIP
00:19:37.150141 P3: ffffd28a1937507b - Xcpt param #0
00:19:37.150143 P4: 7010008004002001 - Xcpt param #1
00:19:40.575969 VMMDev: vmmDevHeartbeatFlatlinedTimer: Guest seems to be unresponsive. Last heartbeat received 4 seconds ago

Full log is attached
Last edited by jeromba6 on 15. Jun 2021, 15:24, edited 1 time in total.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Guest Win10 restarting always after about 5 minutes of use

Post by fth0 »

You're encountering a known, yet unsolved issue, see 20180#comment:1 and 20180#comment:8 for details.
Post Reply