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

    Windows PV Drivers - I have one Win 11 VM with a problem

    Scheduled Pinned Locked Moved XCP-ng
    9 Posts 3 Posters 61 Views 3 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.
    • M Offline
      mlcrane
      last edited by mlcrane

      Hi,

      In the middle of an "all hands" P2V project, so far everything has been working just fine - P2V a machine, boot it under XCP-ng, install the Win PV drivers, reboot. All good.

      But one machine I did over the weekend is flat out refusing to install any Win PV drivers whatsoever - "XCP-ng 8.2.2.200", "XCP-ng 9.0.9136.44" or even "XenServer Guest Tools" latest version downloaded a couple hours ago to test.

      "XCP-ng 9.0.9136.44" installs for a while, gets to what I must assume is the drivers (the dialog lists XenBus etc.), then it starts rolling back. Final dialog just tells me it "ended prematurely".

      32bbf89d-07d1-4c37-9dc1-92444e548f06-image.png

      "XCP-ng 8.2.2.200" and "XenServer Guest Tools" do similar, but at least they are giving me "an error" of sorts. Install progresses until it attempts to install the "Installation and Update Agent" service, said service refuses to start ("5: access is denied" if I go into Services and try manually starting it, regardless of user I tell the service to use, up to and including the Domain Administrator account) and then I am left with no choice but to cancel/rollback. Same "InstallAgent" fails to start under XenServer Guset Tools, they just name it slightly differently.

      f9002ed2-6c43-457a-8645-a9a530e99e58-image.png

      I have the physical machine nearby, so I tried doing the same on the actual hardware that made the VM, and it's doing exactly the same thing, so clearly, whatever is wrong is "buried deep within the Windows install". Doesn't what user account I use for the install, it always behaves the same way.

      Anyone have any suggestions on things I can do to get the drivers installed at the very least? Win 11 performs "dire" without them.

      M D 2 Replies Last reply Reply Quote 0
      • M Offline
        mlcrane @mlcrane
        last edited by

        Oh, and in hopes of "covering bases" - Yes, I've run XenClean, multiple times, no difference.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mlcrane @mlcrane
          last edited by

          Ooh flippin' heck. So, I've had the VM "logged in" since midday (UK) just doing nothing at all (in hopes...). I tried the install (8.2.2) again, same result as every other time, EXCEPT...

          This time, after closing the installer, a new dialog popped up telling me about the install.log.

          b3a955f3-a130-4720-855e-4c5b0dc5b7db-image.png

          I don't really see anything "new" in the log (same 1920 error on the service start), so I'm just going to blank it, run the install again to failure, then grab it for here (diagnosis).

          Install.log.txt

          J 1 Reply Last reply Reply Quote 0
          • D Offline
            dinhngtu Vates 🪐 XCP-ng Team @mlcrane
            last edited by

            @mlcrane Could you try reinstalling the 9.0.9137 tools with the following troubleshooting intructions:

            For installing:
            msiexec.exe /i XenDrivers-x64.msi /log install.log
            
            For uninstalling:
            msiexec.exe /x XenDrivers-x64.msi /log uninstall.log
            

            Please include this log along with the file C:\Windows\INF\setupapi.dev.log in your bug report. These files will help us troubleshoot any installation issues.

            M 1 Reply Last reply Reply Quote 0
            • J Offline
              john.c @mlcrane
              last edited by

              @mlcrane said in Windows PV Drivers - I have one Win 11 VM with a problem:

              Ooh flippin' heck. So, I've had the VM "logged in" since midday (UK) just doing nothing at all (in hopes...). I tried the install (8.2.2) again, same result as every other time, EXCEPT...

              This time, after closing the installer, a new dialog popped up telling me about the install.log.

              b3a955f3-a130-4720-855e-4c5b0dc5b7db-image.png

              I don't really see anything "new" in the log (same 1920 error on the service start), so I'm just going to blank it, run the install again to failure, then grab it for here (diagnosis).

              Install.log.txt

              If you haven’t blanked the VM yet, can you check its Event Log - the main Windows logging system? There may be more details about the service that failed to start.

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                mlcrane @john.c
                last edited by mlcrane

                @john.c Did that, so many times. The event log tells me nothing that the installer isn't. And it's the same as when attempting to start the service in either services or on the Command Line.

                Oh, and for clarity, "blank it" was referring to the install log not the VM (or more specifically I guess, the VHD), which I did and the log is attached under that line in the post. The VHD's being kept whether this gets resolved or not. At worst, I'm going to offer the user whose machine this is a brand new install of Win 11 tomorrow, which I know full well will fix this particular issue, and he can have the "old C:" attached temporarily to copy over anything he needs to copy over.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mlcrane @dinhngtu
                  last edited by

                  @dinhngtu said in Windows PV Drivers - I have one Win 11 VM with a problem:

                  @mlcrane Could you try reinstalling the 9.0.9137 tools with the following troubleshooting intructions:

                  For installing:
                  msiexec.exe /i XenDrivers-x64.msi /log install.log
                  
                  For uninstalling:
                  msiexec.exe /x XenDrivers-x64.msi /log uninstall.log
                  

                  Please include this log along with the file C:\Windows\INF\setupapi.dev.log in your bug report. These files will help us troubleshoot any installation issues.

                  Well, bother (because)... That "just worked". No errors, no failures, no rollbacks. 9.0.9137 (using the command you provided) appears to have installed.

                  I'm including the requested log files, since more knowledgeable folks might see something, but I now need to restart the VM and check everything is correctly "detected" on the other side. Assuming "yes", many, many thanks; I can let the user have "their machine" back in the morning.

                  setupapi.dev.log.txt
                  install.log.txt

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    mlcrane @mlcrane
                    last edited by

                    @mlcrane said in Windows PV Drivers - I have one Win 11 VM with a problem:

                    ... everything is correctly "detected" on the other side. Assuming "yes", many, many thanks; I can let the user have "their machine" back in the morning.

                    Bloody, bloody Microsoft ruining everything they touch. Yup, that's all working following a reboot. Again, @dinhngtu a thousand, million thanks. I was at my wits end on this and as mentioned to @john.c, I was getting ready to give this user a fresh install of Win 11.

                    6fc75d9b-3538-4871-a3b0-fea544e44f5a-image.png

                    Management Agent is a little upsetting, but I took the screenshot straight after the VM booted, so it may be that logging in/waiting a bit after that will get the Agent correctly detected. At the end of the day and in the short term, the Agent is less important to me than the I/O drivers.

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      dinhngtu Vates 🪐 XCP-ng Team @mlcrane
                      last edited by

                      @mlcrane You're welcome! If everything started correctly, you should see this in Xen Orchestra along with VM IP:

                      9df72e83-29ba-4166-b4bd-50d75f90cc87-image.png

                      The previous error you had "Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider" didn't quite make sense to me since the driver package was signed by Microsoft, perhaps you were missing an important update at the time, or your VM clock was out of sync?

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post