Application on VM causing BSOD
-
@tsukraw disable VIRIDIAN in advanced tab of the VM ? and put network card in E1000 (I think this one is taken into account only if PV Tools are not present)
restart VM and relaunch app ?
you could also try to prevent debug registers to happen, in the VM :
bcdedit /enumto check current config
bcdedit /debug off shutdown /r /t 0to disable debug
-
-
@tsukraw if it's working on VMWARE, and same OS/same app, there is some cpu flag that is not presented in xen/xcp to the app that provoke the crash I guess
above my level of competency to know for sure how to mask CPU flags in a VM params
does bcdedit /enum tells auto for hypervisorlaunchtype ?
if yes, try to
bcdedit /set hypervisorlaunchtype off shutdown /r /t 0summoning some pro support guru ... @danp ?
-
After the VM crashes check for output from "xl dmesg" on the hypervisor via ssh. It may provide some information on why the VM crashed.
I ran into an issue with Blue Iris crashing on recent Intel CPUs and the fix was to relax MSR enforcement on the VM by running:
xe vm-param-add uuid=VM_UUID param-name=platform msr-relaxed=true
However this was after determining this was the issue via xl dmesg.
-
I tried bcdedit /set hypervisorlaunchtype off
This did not make any difference.Attached is the output form the "xl dmesg"
Not 100% sure what I would expect to see in here.
One thing i thought was odd and maybe it isnt but the fact is asy VIRIDIAN even though i turned that off under the advanced settings for the VM in question.
xl dmesg.txt -
Hot damn!!
@flakpyro
For kicks and giggles I tried what you had sentxe vm-param-add uuid=VM_UUID param-name=platform msr-relaxed=trueAnd sure enough it worked!!
Not exactly sure the technical details on what setting msr-relaxed=true does but hey if it works it works
-
@tsukraw Another thing i remember from my time troubleshooting blue iris was capturing a crash dump using Xentrace:
xentrace -D -e 0x0008f000 xentrace.dmp
From there i was able to determine the MSR related issue. Not at all saying thats the issue you are having but it may shed some light or be useful for those more knowledgeable with Xen than myself.
-
Hi, it's a known issue on newer CPUs: https://docs.xcp-ng.org/troubleshooting/windows-pv-tools/#bsod-0x3b-system_service_exception-on-newer-intel-cpus
What's your CPU Vendor value shown inxl dmesg?Never mind, I missed your log:
CPU Vendor: Intel, Family 6 (0x6), Model 143 (0x8f), Stepping 8 (raw 000806f8) -
@tsukraw Can you give the output of
xen-cpuid -p(in Dom0) ? -
@tsukraw Glad this helped!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login