Re: efi boot failures due to PTI with 32 bit builds and Intel CPUs

From: Dave Hansen
Date: Wed Aug 29 2018 - 16:28:22 EST


On 08/29/2018 01:16 PM, Guenter Roeck wrote:
>
> I see boot failures on mainline when trying to boot x86 images with an efi
> bios on Intel CPUs in qemu. Behavior is quite unusual: qemu dies silently
> after the kernel displays "Run /sbin/init as init process". With debugging
> enabled, qemu reports a CR3 update followed by a triple fault.

My first thought would be that the EFI pgd is broken somehow.

Is 0e39b000 in your kernel binary, or was it dynamically allocated?

What was CR2 when things went bad? Could you just share a full register
dump?