pvgrub 4.7.0 fails to boot certain guest kernels. In my case, it's a 4.4.21 kernel compiled from the sources at kernel.org. The boot process fails with the following error (output of xl create -c): Booting 'Gentoo' root (hd0) Filesystem type is ext2fs, using whole disk kernel /boot/vmlinuz ro root=/dev/xvda1 rootfstype=ext4 ============= Init TPM Front ================ Tpmfront:Error Unable to read device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT Tpmfront:Info Shutting down tpmfront pin_table(x) returned 28993 Error 9: Unknown boot failure Press any key to continue...
Created attachment 448204 [details, diff] patch that fixes the issue Patch that fixed the issue provided by Juergen Gross on xen-devel
See upstream commit https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=9714f6b87e19b32d3a6663a20df6610265c4bfe5
hi sven & Peter Große, many thanks for reporting this and tracking this down also, sorry for my late response and the fix .. commit 732369cdddba45a22cc9cb6a124bd523f12aa05c Author: Yixun Lan <dlan@gentoo.org> Date: Tue Oct 11 15:42:53 2016 +0800 app-emulation/xen-pvgrub: fix boot certain guest kernel pvgrub: fix crash when booting kernel with p2m list outside kernel mapping https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=9714f6b87e19b32d3a6663a20df6610265c4bfe5 Gentoo-Bug: 595354 Package-Manager: portage-2.3.1 :000000 100644 00000000.. e9c8040... A app-emulation/xen-pvgrub/files/xen-pvgrub-4.7.0-fix-boot-p2m.patch :000000 100644 00000000.. 0f9ab30... A app-emulation/xen-pvgrub/xen-pvgrub-4.7.0-r1.ebuild