Windows 2022 guest restarts unexpectedly
Windows 2022 guest restarts unexpectedly
Host: Arch Linux
VirtualBox: 6.1.34 r150636
Guest: Windows Server 2022 Standard, 21H2
The guest restarts unexpectedly repeatedly. First got the issue with 6.1.32 although it had been running fine for several weeks.
I upgraded to 6.1.34 and still get the restarts.
Windows EventLog calls it kernel-power EventId 41: "The system has rebooted without cleanly shutting down first.
The error could be caused if the system stopped responding, crashed or lost power unexpectedly."
The EventLog told me the issue started 3 days ago.
- 3 times two days before yesterday
- 4 times the day before yesterday
- 12 times yesterday
- 9 times this morning
I restored the entire VM from a 4 day backup ago but immediately it also restarted unexpectedly.
Any ideas?
VirtualBox: 6.1.34 r150636
Guest: Windows Server 2022 Standard, 21H2
The guest restarts unexpectedly repeatedly. First got the issue with 6.1.32 although it had been running fine for several weeks.
I upgraded to 6.1.34 and still get the restarts.
Windows EventLog calls it kernel-power EventId 41: "The system has rebooted without cleanly shutting down first.
The error could be caused if the system stopped responding, crashed or lost power unexpectedly."
The EventLog told me the issue started 3 days ago.
- 3 times two days before yesterday
- 4 times the day before yesterday
- 12 times yesterday
- 9 times this morning
I restored the entire VM from a 4 day backup ago but immediately it also restarted unexpectedly.
Any ideas?
- Attachments
-
- VBox.log.tar.bz2
- VBox.log
- (38.8 KiB) Downloaded 8 times
-
- Site Moderator
- Posts: 39156
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Windows 2022 guest restarts unexpectedly
The VM seems fine, it looks like you have a guest problem.
I note that Windows 2022 is not yet listed as a supported guest OS, though I have no idea if that is the issue here.
I don't like that you have given 8 cores to the guest OS. That is not a fair division of host resources (12 cores total). Most people find that 2 cores is plenty for a VM. More just makes it run slower (because each core has a maintenance overhead which is not repaid if idle).
https://docs.microsoft.com/en-us/window ... -exception00:03:22.602438 GIM: HyperV: Guest indicates a fatal condition! P0=0x3b P1=0xc0000005 P2=0xfffff8063ca3f8de P3=0xffffe40e37fef350 P4=0x0
I note that Windows 2022 is not yet listed as a supported guest OS, though I have no idea if that is the issue here.
I don't like that you have given 8 cores to the guest OS. That is not a fair division of host resources (12 cores total). Most people find that 2 cores is plenty for a VM. More just makes it run slower (because each core has a maintenance overhead which is not repaid if idle).
-
- Site Moderator
- Posts: 20965
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Windows 2022 guest restarts unexpectedly
In addition to Mpack's thoughts, the log was taken while a VM window was still open, so some diagnostic info is missing. But a possible problem is here:
Please start a new VM, set to 'Windows 11'. I'd also suggest using only 2 processors as a first test, to see if you can get a stable VM. Ramp up as more parallel-processing software gets installed later.
Finally, Windows 11 and likely 2022 aren't compatible with 6.1-series Virtualbox, and they require the internet-publicized 'incompatible-computer' tweaks and hacks to get 11 to run in older PCs. 7.0-series Virtualbox will be compatible with 11 when released.
Windows 2022 is the server version of Windows 11. 11 is probably not likely to run in a 7-style VM. There is a 'Windows 11' template that should work better, and maybe the 'Windows 2019' template might work, too.00:00:00.100761 Guest OS type: 'Windows7_64'
00:01:24.283597 VMMDev: Guest Log: 09:38:25.895334 main OS Product: Windows 2022
Please start a new VM, set to 'Windows 11'. I'd also suggest using only 2 processors as a first test, to see if you can get a stable VM. Ramp up as more parallel-processing software gets installed later.
Finally, Windows 11 and likely 2022 aren't compatible with 6.1-series Virtualbox, and they require the internet-publicized 'incompatible-computer' tweaks and hacks to get 11 to run in older PCs. 7.0-series Virtualbox will be compatible with 11 when released.
-
- Site Moderator
- Posts: 39156
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Windows 2022 guest restarts unexpectedly
Good spot. Win8.1 or better is certainly not expected to run using a Win7 template.scottgus1 wrote: Windows 2022 is the server version of Windows 11. 11 is probably not likely to run in a 7-style VM.
Re: Windows 2022 guest restarts unexpectedly
Thanks for the help!
Small improvement but the issue remains. And the VM is slower and slower.
Moved the VM to another workstation and it works fine so I concluded it is hardware related.
The host is almost 9 years old and maybe this was too much for it to handle.
A new one is on route.
Small improvement but the issue remains. And the VM is slower and slower.
Moved the VM to another workstation and it works fine so I concluded it is hardware related.
The host is almost 9 years old and maybe this was too much for it to handle.
A new one is on route.
-
- 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: Windows 2022 guest restarts unexpectedly
The actual problem is that VirtualBox 6.1.34 does not support Linux kernel 5.15.44+ on the host and will produce random crashes in the guest (pun intended ). See 20914 and Windows 10 Guest on Linux host dies seconds after boot for details.
-
- 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: Windows 2022 guest restarts unexpectedly
The VirtualBox test builds 6.1.35r151864 (and newer) are supposed to support Linux kernels 5.18, 5.17.12+, 5.15.44+, 5.10.119+ and more on the host and in the guest. Please report back if it solves the problem.
Re: Windows 2022 guest restarts unexpectedly
For the record.
Windows Server 2022 is based on Windows 10 and not Windows 11.
There is almost no difference between Windows Server 2019 and 2022, both are based on Windows 10, only different builds.
The best template for Windows Server 2022 is Windows Server 2019.
Windows Server 2022 is based on Windows 10 and not Windows 11.
There is almost no difference between Windows Server 2019 and 2022, both are based on Windows 10, only different builds.
The best template for Windows Server 2022 is Windows Server 2019.
-
- Site Moderator
- Posts: 20965
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Windows 2022 guest restarts unexpectedly
Could very well be right there! Websearching "Windows Server 2022 related to 10 or 11" led me to https://betawiki.net/wiki/Windows_Server_2022, which says 2022 is based on "Iron", which is the 21H1 release of what looks like 10.mikest82 wrote:Windows Server 2022 is based on Windows 10 and not Windows 11.
-
- Site Moderator
- Posts: 39156
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Windows 2022 guest restarts unexpectedly
In this other topic, the OP has Windows 2022 as host:
viewtopic.php?f=6&t=106209
The log from that host shows a Windows release as follows.
viewtopic.php?f=6&t=106209
The log from that host shows a Windows release as follows.
We normally associate 2xxxx kernel builds with Windows 11. Despite what the Internet says.00:00:17.545896 OS Product: Windows 2022
00:00:17.545897 OS Release: 10.0.20348
-
- 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: Windows 2022 guest restarts unexpectedly
That doesn't make it correct, though. Windows 11 uses build numbers 22xxx, Windows 10 uses 10xxx to 19xxx. Windows Server 2022 uses 20xxx and is officially based on Windows Server 2019.mpack wrote:We normally associate 2xxxx kernel builds with Windows 11.
-
- Volunteer
- Posts: 5102
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: Windows 2022 guest restarts unexpectedly
Server 2022 certainly uses 20xxx build numbers and the GUI version screen is definitely Windows 10/Server2019 style, not Windows 11 style. As noted above, it works fine with the Server2019 template.
Bill