XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Windows 10 VM crashes (N5105)

    Scheduled Pinned Locked Moved Compute
    12 Posts 2 Posters 2.4k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • GoogleSitemapsG Offline
      GoogleSitemaps
      last edited by

      A migrated VM is crashing my new hardware. If I do a clean install and run certain progammes (BlueIris) it crashes the VM. I think it is happening when software on the OS is probing for certain capabilities.

      This issue from a few years back looks similar to the one I'm facing :
      https://xcp-ng.org/forum/topic/3517/windows-10-vm-reboots-when-starting-software/18

      which makes me think it is perhaps specific to my more recent CPU / hardware.
      I'm using an N5105 processor.

      (XEN) [526158.312732] d11v1 Unknown Host LBR MSRs
      (XEN) [526158.312738] domain_crash called from arch/x86/hvm/vmx/vmx.c#vmx_msr_write_intercept+0x4c2/0x510
      (XEN) [526158.312740] Domain 11 (vcpu#1) crashed on cpu#0:
      (XEN) [526158.312745] ----[ Xen-4.13.4-9.24.1  x86_64  debug=n   Tainted: M    ]----
      (XEN) [526158.312746] CPU:    0
      (XEN) [526158.312748] RIP:    0010:[<fffff80631bf8ad2>]
      (XEN) [526158.312749] RFLAGS: 0000000000040002   CONTEXT: hvm guest (d11v1)
      (XEN) [526158.312752] rax: 0000000000000001   rbx: 0000000000000000   rcx: 00000000000001d9
      (XEN) [526158.312753] rdx: 0000000000000000   rsi: 0000000000000000   rdi: 0000000000000280
      (XEN) [526158.312755] rbp: ffffd5854226fc80   rsp: ffffd5854226fbf8   r8:  0000000000000001
      (XEN) [526158.312757] r9:  ffffd5854226f358   r10: 0000000000000000   r11: ffff958afc6b1080
      (XEN) [526158.312758] r12: 00000000018cb4e0   r13: 00007ffd01d34960   r14: 0000000000000280
      (XEN) [526158.312760] r15: 0000000000000000   cr0: 0000000080050033   cr4: 0000000000350ef8
      (XEN) [526158.312761] cr3: 000000002eefc000   cr2: 00000000003d125a
      (XEN) [526158.312762] fsb: 0000000000000000   gsb: ffffa901f09d2000   gss: 00000000003c6000
      (XEN) [526158.312764] ds: 002b   es: 002b   fs: 0053   gs: 002b   ss: 0018   cs: 0010
      

      any thoughts?

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by olivierlambert

        Hi,

        Without more information, it's hard to assist… What XCP-ng version are you using? Is it fully up to date? Are you using nested mode?

        GoogleSitemapsG 1 Reply Last reply Reply Quote 0
        • GoogleSitemapsG Offline
          GoogleSitemaps @olivierlambert
          last edited by

          @olivierlambert xo-server 5.102.0 patched. Not nested.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            XCP-ng, not Xen Orchestra 😉

            GoogleSitemapsG 1 Reply Last reply Reply Quote 0
            • GoogleSitemapsG Offline
              GoogleSitemaps @olivierlambert
              last edited by

              @olivierlambert XCP-ng Host 8.2.1

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                Do you have BIOS access? I would double check you have various options enabled (I don't remember exactly which ones, also this bug rings a bell but I can't find exactly what 🤔 )

                GoogleSitemapsG 1 Reply Last reply Reply Quote 0
                • GoogleSitemapsG Offline
                  GoogleSitemaps @olivierlambert
                  last edited by

                  @olivierlambert I'll have a run through the bios shortly. I recall enabling all the virtualization settings etc. everything else seems to be running smoothly.

                  my hunch is it is graphics related and BlueIris is probing for graphic accelerator hardware. I cant find a way to disable this behavior to test my theory though.

                  Something similar was reported on proxmox, the solution was to set the following option, but I don't see an equivalent. For XCP-NG.

                  echo "options kvm ignore_msrs=1" > /etc/modprobe.d/kvm.conf

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    It's weird since we patched those recents CPUs for this bug: https://github.com/xcp-ng/xcp/issues/434

                    Could it be something else? 🤔

                    olivierlambert created this issue in xcp-ng/xcp

                    closed Backport Xen patch to support Ice Lake and Comet Lake CPUs #434

                    GoogleSitemapsG 1 Reply Last reply Reply Quote 0
                    • GoogleSitemapsG Offline
                      GoogleSitemaps @olivierlambert
                      last edited by

                      @olivierlambert okay, I just remembered, I had trouble installing too ..... The install was black screening after relinquish VGA.

                      After some reading around I happened upon :

                      "Custom XCP-ng 8.2.1 install ISO with Xen 64bit VGA Dom0 kernel fix (NUC11) and new ethernet drivers (NUC10/NUC11):" from here :

                      https://users.ntplx.net/~andrew/xcp/

                      This is how I got up and running.

                      I'm way out of my depth here, but this feels like it might be the crux of the matter.

                      1 Reply Last reply Reply Quote 0
                      • olivierlambertO Offline
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        Can you create an issue on https://github.com/xcp-ng/xcp?

                        GoogleSitemapsG 1 Reply Last reply Reply Quote 0
                        • GoogleSitemapsG Offline
                          GoogleSitemaps @olivierlambert
                          last edited by

                          @olivierlambert sure , will give it a go.

                          GoogleSitemapsG 1 Reply Last reply Reply Quote 1
                          • GoogleSitemapsG Offline
                            GoogleSitemaps @GoogleSitemaps
                            last edited by

                            @GoogleSitemaps

                            https://github.com/xcp-ng/xcp/issues/565

                            danielbayley80 created this issue in xcp-ng/xcp

                            open Domain 11 (vcpu#1) crashed on cpu#0: (N5105) #565

                            1 Reply Last reply Reply Quote 1

                            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
                            • First post
                              Last post