Imported VM Starts but Does Not Initialize the Display
-
@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.
-
@stormi thank you for the update. and @anthonyper for taking a look.
-
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,
-
@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?
-
@Mefosheez Does your host not have large HAP size?
Please show the output from
xl dmesg | grep HAP
on your XCP host. -
[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, 1GBThis is not something I have ever adjusted or set prior.
-
@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.
-
@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. -
-
@anthonyper so your fix is working
Going in a next train of updates then
-
@olivierlambert Awesome! Can't wait.