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

    Imported VM Starts but Does Not Initialize the Display

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    51 Posts 8 Posters 3.1k Views 7 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.
    • MefosheezM Offline
      Mefosheez @stormi
      last edited by

      @stormi I marked it as a question about a week ago now. do you suggest making a new post as a question all together?

      stormiS 1 Reply Last reply Reply Quote 0
      • stormiS Offline
        stormi Vates 🪐 XCP-ng Team @Mefosheez
        last edited by

        @Mefosheez Marking a new post as a question will not be necessary. @anthonyper is the one working on what we think is the issue (a regression on the EDK2 package). I haven't heard of a fix yet, but it's in progress.

        MefosheezM 1 Reply Last reply Reply Quote 1
        • MefosheezM Offline
          Mefosheez @stormi
          last edited by

          @stormi thank you for the update. and @anthonyper for taking a look.

          1 Reply Last reply Reply Quote 0
          • anthonyperA Offline
            anthonyper Xen Guru
            last edited by

            Hi @kagbasi-ngc, I believe I've got a fix for your current issue, do you want to give it a try? @Mefosheez it's probably going to work for you as well.

            I've prepared an update, could you install it?

            # Download repo file for XCP-ng 8.3
            wget https://koji.xcp-ng.org/repos/user/8/8.3/xcpng-users.repo -O /etc/yum.repos.d/xcpng-users.repo
            
            # Update edk2
            yum update --enablerepo=xcp-ng-aperard1 edk2
            

            Alternatively, the RPM is there: https://koji.xcp-ng.org/repos/user/8/8.3/aperard1/x86_64/Packages/edk2-20220801-1.7.7.1.0.enomemfix.1.xcpng8.3.x86_64.rpm

            And if you are curious about the change, it's explained in there https://github.com/xcp-ng-rpms/edk2/pull/4

            Cheers,

            tperard opened this pull request in xcp-ng-rpms/edk2

            closed OvmfPkg/XenPlatformPei: Allocate more memory when PEI FV is shadowed #4

            MefosheezM K 2 Replies Last reply Reply Quote 1
            • MefosheezM Offline
              Mefosheez @anthonyper
              last edited by

              @anthonyper said in Imported VM Starts but Does Not Initialize the Display:

              yum update --enablerepo=xcp-ng-aperard1 edk2

              confirmed with ubunutu desktop 24.02 in uefi. i can confirm windows later today but this looks to be the fix. will this be folded into an upcoming release?

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Andrew Top contributor @Mefosheez
                last edited by

                @Mefosheez Does your host not have large HAP size?

                Please show the output from xl dmesg | grep HAP on your XCP host.

                MefosheezM 1 Reply Last reply Reply Quote 0
                • MefosheezM Offline
                  Mefosheez @Andrew
                  last edited by

                  @Andrew

                  [08:30 xcp-r630 ~]# xl dmesg | grep HAP
                  (XEN) [ 2.581645] HVM: Hardware Assisted Paging (HAP) detected
                  (XEN) [ 2.584428] HVM: HAP page sizes: 4kB, 2MB, 1GB

                  This is not something I have ever adjusted or set prior.

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    Andrew Top contributor @Mefosheez
                    last edited by

                    @Mefosheez @anthonyper If it solves the problem, then great!

                    You can't set or change HAP, it's what the CPU chip supports. I was looking at the notes for the change and part of it is related to hosts that have small HAP sizes (ie, 4K, 2M, not 1G). As there are other updates in the same version the issues must have been fixed by a different part of the patch.

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      kagbasi-ngc @anthonyper
                      last edited by kagbasi-ngc

                      @anthonyper said in Imported VM Starts but Does Not Initialize the Display:

                      yum update --enablerepo=xcp-ng-aperard1 edk2

                      YES - you fixed it! Thank you!!!
                      I tried the package and it worked - the VM started and was able to initialize the display and finish booting up. Glad you found the issue and I'm even more glad that it was my report that prompted you to look into this. This is a true testament to the power of this community.

                      1 Reply Last reply Reply Quote 1
                      • K kagbasi-ngc has marked this topic as solved on
                      • olivierlambertO Offline
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        @anthonyper so your fix is working 😄 Going in a next train of updates then 🙂

                        K 1 Reply Last reply Reply Quote 0
                        • K Offline
                          kagbasi-ngc @olivierlambert
                          last edited by

                          @olivierlambert Awesome! Can't wait.

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