Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upVery misleading error message when booting PVH with incompatible kernel #3474
Comments
marmarek
added
bug
C: core
P: minor
labels
Jan 18, 2018
marmarek
added this to the Release 4.0 milestone
Jan 18, 2018
marmarek
added
the
C: xen
label
Jan 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
HW42
Jan 18, 2018
For the Xen part of this problem I think this is the upstream fix. At the first look it seems trivial to backport. And yes libxl error via qubesd would be really nice.
HW42
commented
Jan 18, 2018
|
For the Xen part of this problem I think this is the upstream fix. At the first look it seems trivial to backport. And yes libxl error via qubesd would be really nice. |
added a commit
to HW42/qubes-vmm-xen
that referenced
this issue
Jan 18, 2018
HW42
referenced this issue
in QubesOS/qubes-vmm-xen
Jan 18, 2018
Merged
Backport elfloader fix to detect non PVH capable kernels #25
qubesos-bot
referenced this issue
in QubesOS/updates-status
Jan 25, 2018
Closed
vmm-xen v4.8.2-12 (r4.0) #385
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
lunarthegrey
commented
Feb 12, 2018
|
I assume this one can be closed? Looks like upstream patch was merged. |
marmarek
closed this
Feb 12, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
marmarek commentedJan 18, 2018
Qubes OS version:
R4.0
Steps to reproduce the behavior:
Expected behavior:
Some message saying PVH require 4.11 or newer kernel.
Actual behavior:
Start failed: internal error: libxenlight failed to create new domain 'testvm', see /var/log/libvirt/libxl/libxl-driver.log for detailsThen in
/var/log/libvirt/libxl/libxl-driver.log:This is really misleading, because the actual cause have nothing to do with "Out of memory" or "Permission denied".
I don't know how easy would it be to improve it upstream (in libxenctrl and/or libxl), but we can also workaround it at core-admin side: extract vmlinux from vmlinuz and check for appropriate PVH entry note.
General note:
It would be also nice to have actual libxl error reported through libvirt (or elsewhere) to core-admin (qubesd). Having actual error instead of "look to this file" would greatly ease troubleshooting. And would also allow qubesd to provide more helpful advice what to do.
cc @HW42