On Sat, Mar 27, 2010 at 08:53:02PM -0500, W. Michael Petullo wrote:
I am trying trying to run a research OS named Ethos as a DomU
paravirtualized guest. Ethos does not yet support 64-bit or PAE, so I
need to build a non-PAE Dom0 kernel. I am having trouble doing this. Here
is what I tried:
1. Edit Michael Young's kernel.spec as follows:
# kernel-PAE is only built on i686.
%ifarch i686
%define with_pae 0
%define with_up 1
%else
%define with_pae 0
%endif
2. Build an RPM using "rpmbuild -ba --target i686 --with xen --without
debuginfo kernel.spec."
When try to boot my Dom0 kernel, Xen complains:
(XEN) elf_xen_note_check: ERROR: Will only load images build for the
generic loader or Linux images
Do I need to recompile Xen to go non-PAE?
See also
https://bugzilla.redhat.com/show_bug.cgi?id=543190, unable to
build custom i686 non-pae kernel.
Xen doesn't support non-PAE PV guests anymore.
I think Xen 3.2 was the last release to support non-PAE 32bit Paravirt guests.
Xen 3.4 and 4.0 definitely require 32bit PV guests to be PAE.
Xen HVM guests can be non-PAE.
-- Pasi