Windows 11 Pro 24H2 VM Random Freezes on XCP-NG 8.3
-
@DevilDan Yeah, you cant change the static min in xoa, it has to be done through the cli
xe vm-memory-limits-set static-min=8GiB static-max=8GiB dynamic-min=8GiB dynamic-max=8GiB uuid=xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx
This is what i did, but like you said, the documentation says i makes no difference.
-
Thanks! I changed this parameter yesterday, and everything is set to the exact same value down to the byte.
No bugs so far, but I did notice some CPU usage differences between Windows 10, Windows 11 23H2, and Windows 11 24H2. Only Windows 11 24H2 constantly consumes more CPU, staying between 6-10%, while the other versions peak between 0-3%. 24H2 is really bad...
That being said, the freezes don’t seem related to this. Let’s see if changing the static min RAM makes a difference. Would be great if it does! We’ll adjust accordingly.
-
@DevilDan No bugs for the moment, PS : I choose the "other-media-install" template with all VM, maybe the static min memory is impacted finally ?
EDIT : 20 MARCH 2025 20H45 : always NO PROBLEM
-
Console is... Frozen again..... I Think it's UEFI problem, Win 10 BIOS MODE no problem....
-
@DevilDan Could you confirm that it's UEFI mode that's causing the problem?
-
@dinhngtu I had freeze on Win 10 UEFI mode, not in BIOS mode, I have only this example
24H2 UEFI Bug, 23H2 UEFI Bug, Win 10 Uefi Bug, Windows 10 BIOS OK
-
@DevilDan I noticed that in your earlier freezes, the CPU went to 0% but in these recent freezes the CPU is pegged to 100% instead. Does your guest still behave the same way during the freeze (no RDP/XOA console but still responding to ping)? It's an advanced process, but you can try attaching a kernel debugger and see what's happening. https://docs.xcp-ng.org/troubleshooting/windows-pv-tools/#connecting-to-guests-using-serial-console
-
@dinhngtu You're right, in the first freezes, the CPU would drop to 0%. Now, in recent cases, one freeze spikes the CPU to 100% and then it drops, while another stays at 100%...
The VM still responds to ping for a while, but it eventually stops sometimes hours later. The console screen remains frozen on the Windows lock screen.
I'll look into your procedure and see if I can try it.
-
@DevilDan I see, we have to disable secure boot, but it is mandatory for Win 11 NO ?
-
@DevilDan It's only mandatory for the installation. Once it's installed you can disable secure boot and enable debugging.
-
-
-
@DevilDan it boot after re-enabled secure boot, i set 2 cpu not 4 like before
-
@DevilDan Windows 11 never fails to surprise... Can you try with Server 2025?
There's a specific timing needed to attach the debugger, refer to this thread: https://xcp-ng.org/forum/topic/10284/vm-failing-to-reboot
-
@dinhngtu Hi everyone,
Thank you all so much for your help and suggestions. After several tests, I’ve decided to stop troubleshooting and stick with Windows 10 in BIOS mode. UEFI doesn’t work properly for me, whether with Windows 10 or 11, but everything runs fine in BIOS mode.
I really appreciate the time and support from this great community!