Created attachment 395582 [details] xl and kernel output Installed packages: =app-emulation/xen-4.5.0 =app-emulation/xen-tools-4.5.0 =sys-kernel/hardened-sources-3.17.7-r1 When pvh=1 is set in the domU config, the kernel boots, mounts the rootfs, but cannot execute init. Tried binaries from the local system, and also generic ones from stage3. chrooting to the rootfs works (no invalid instruction). starting the kernel without pvh (as pv) also works. The relevant error message in the kernel dmesg is: traps: init[1] trap invalid opcode ip:6be00f370631 sp:7b786b1464c0 error:0 in ld-2.19.so[6be00f359000+22000] grsec: Illegal instruction occurred at 00006be00f370631 in /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0, parent /[swapper/0:0] uid/euid:0/0 gid/egid:0/0 Processor is an "Intel(R) Xeon(R) CPU X3430 @ 2.40GHz"
Created attachment 395584 [details] dom0 config
Created attachment 395586 [details] domU config
did you try xen-4.4.x, have the same problem?
Did not try with 4.4 yet. PVH support was experimental in that, but I will give it a try as soon as I can then.
can you test with a grsec stuff under the security section of menuconfig disabled?
well, can you clarify, are you booting the guest with the same or similar kernel as the host? It seems implied but I want to know if you're running a host on a std kernel and trying to boot a guest with a hardened kernel which is entirely feasible. This was replicated using xen-4.1 as a host and the guest booted fine