Bug#799480: XEN domU crash when PV grub chainloads 32-bit domU grub

Sergio Gelato Sergio.Gelato at astro.su.se
Tue Feb 7 07:57:46 UTC 2017


control: forwarded -1 https://savannah.gnu.org/bugs/?46014

I think I've found a solution. If I change Xen ELF note 9 (PAE_MODEL) from the
current "yes" to "no", the resulting image boots successfully all the way into
Linux (i686-pae).

The attached patch should take care of this problem, and also of #50237 as a
side effect.

Disclaimer 1: I haven't compiled it yet; for my testing I found it faster to
patch the binary image with a hex editor.

Disclaimer 2: my testing has only limited coverage, and I'm not 100% confident
that pvboot-i386.elf will not need PAE_MODEL=yes under any circumstances.
Maybe one will need to add PAE support to grub-core/kern/i386/xen/startup.S
after all.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Xen-i386-PV-guest-bootloader-does-NOT-support-PAE.patch
Type: text/x-diff
Size: 1699 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20170207/590907d1/attachment.patch>


More information about the Pkg-grub-devel mailing list