XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Windows 10 VM reboots when starting software

    Compute
    4
    18
    762
    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.
    • J
      jstorgaard @olivierlambert last edited by jstorgaard

      @olivierlambert said in Windows 10 VM reboots when starting software:

      Also, please share the BSOD screen if possible

      Unfortunately no BSOD data available. No guest logs or entries in EventLog. There are never any BSOD shown in the client.
      It just plain shuts off or reboots from XCP-ng.

      1 Reply Last reply Reply Quote 0
      • olivierlambert
        olivierlambert Vates ๐Ÿช Co-Founder๐Ÿฆธ CEO ๐Ÿง‘โ€๐Ÿ’ผ last edited by

        You might have a Windows setting to prevent reboot in crash (or also with xe you can set the VM to not restart in case of crash).

        Thanks for the output ๐Ÿ™‚

        J 1 Reply Last reply Reply Quote 1
        • olivierlambert
          olivierlambert Vates ๐Ÿช Co-Founder๐Ÿฆธ CEO ๐Ÿง‘โ€๐Ÿ’ผ last edited by olivierlambert

          Can you do a copy/paste (eg in hastebin.com) the full output of xl dmesg from your dom0?

          J 1 Reply Last reply Reply Quote 0
          • J
            jstorgaard @olivierlambert last edited by

            @olivierlambert said in Windows 10 VM reboots when starting software:

            Can you do a copy/paste (eg in hastebin.com) the full output of xl dmesg from your dom0?

            Here is the complete dmesg:
            https://hastebin.com/ruvuqokiba.sql

            1 Reply Last reply Reply Quote 0
            • J
              jstorgaard @olivierlambert last edited by

              @olivierlambert said in Windows 10 VM reboots when starting software:

              You might have a Windows setting to prevent reboot in crash (or also with xe you can set the VM to not restart in case of crash).

              Thanks for the output ๐Ÿ™‚

              I removed the mark that makes Windows boot in case of a crash, but same result. It just acts like it's a hypervisor crash and not a Windows crash.
              How can I change the setting in xe? Can't seem to find that option in XO.

              1 Reply Last reply Reply Quote 0
              • olivierlambert
                olivierlambert Vates ๐Ÿช Co-Founder๐Ÿฆธ CEO ๐Ÿง‘โ€๐Ÿ’ผ last edited by

                Yeah in xe, it's actions_after_crash that you should set to preserve but in your case, it might be not even relevant.

                Let me take a look at the dmesg (and showing it to some Xen devs)

                1 Reply Last reply Reply Quote 0
                • olivierlambert
                  olivierlambert Vates ๐Ÿช Co-Founder๐Ÿฆธ CEO ๐Ÿง‘โ€๐Ÿ’ผ last edited by olivierlambert

                  Okay @jstorgaard I have a good news. It's likely related to your CPU.

                  Family 6 Model 165 Stepping 3 in your case, is a Comet Lake CPU.

                  And Xen version you have don't have yet the right code for some calls asked by the VM, trigger a crash (Xen doesn't know which MSRs to give it).

                  This was patched in Xen relatively recently (few months ago), ask you can see here: https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=1fe406685cb19e9544681c6243e7d376deb0297e

                  This patch is relatively trivial, so in theory we could backport it and build an updated Xen version. Then put the package in testing repo so you can test it and confirm it solves the issue.

                  I don't know if @r1 can build it for us, but we'll have to wait next week for @stormi to put the package in testing anyway ๐Ÿ™‚

                  edit: issue created: https://github.com/xcp-ng/xcp/issues/434

                  olivierlambert created this issue in xcp-ng/xcp

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

                  J R 2 Replies Last reply Reply Quote 1
                  • J
                    jstorgaard @olivierlambert last edited by

                    @olivierlambert Thanks a lot, that's good news!
                    I'm very much up for testing so I'll keep an eye on the issue you created ๐Ÿ™‚

                    1 Reply Last reply Reply Quote 0
                    • olivierlambert
                      olivierlambert Vates ๐Ÿช Co-Founder๐Ÿฆธ CEO ๐Ÿง‘โ€๐Ÿ’ผ last edited by

                      A big thanks to @andyhhp for his priceless help on this ๐Ÿ‘

                      1 Reply Last reply Reply Quote 0
                      • R
                        r1 XCP-ng Team ๐Ÿš€ @olivierlambert last edited by

                        @olivierlambert said in Windows 10 VM reboots when starting software:

                        I don't know if @r1 can build it for us, but we'll have to wait next week for @stormi to put the package in testing anyway

                        The patch needed a rework for fitment. I'd create a PR for modified patch and then it can go in testing repo.

                        1 Reply Last reply Reply Quote 2
                        • stormi
                          stormi Vates ๐Ÿช XCP-ng Team ๐Ÿš€ last edited by

                          @jstorgaard Updated packages are now available for you to test: https://github.com/xcp-ng/xcp/issues/434#issuecomment-688786905

                          olivierlambert created this issue in xcp-ng/xcp

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

                          1 Reply Last reply Reply Quote 2
                          • Referenced by  GoogleSitemaps GoogleSitemaps 
                          • First post
                            Last post