Xen by default is not build with PAE capabilities. The Xen README gives details on how to build Xen to support PAE for machines with >4GiB of memory.
I don't have a PAE-ised >4gb system; if you can supply a tested patch for the ebuild I'll add it.
We should also force the xen-sources dom0 and guest kernels to compile with PAE. Dom0 and xen must match, and I don't think that xen yet supports non-PAE kernels in PAE xen. It doesn't work for me.
Created attachment 80957 [details, diff] xen-3.0.1-r1.patch
Created attachment 80958 [details, diff] gentoo-make.patch
"pae" should probably be a global USE flag, since it affects both of the xen packages, huh?
I've added pae support. The pae flag is only on xen - a warning is shown that it will only boot pae kernels. There's really no way to force the user to build a pae kernel, we just assume that they know what they're doing. Also global use flags only get added when at least 5 packages are already using them. I dropped your patch - maintaining a patch is more hassle than the 2 lines of the ebuild it saves. Thanks for your contribution!
Unless their Makefile changed (I haven't synched with portage yet), your changes won't work. I modified the Makefile because XEN_TARGET_X86_PAE=y is actually refenced in the root Makefile, not the ones in the subdirectories. It sets the variable pae=y, and the other Makefiles use that.
Ok, it should be fixed now.
Looks like the ebuild for p9029 got goofed up for PAE.
I don't see any changes that would affect PAE?
I had to change the opts XEN_blah=y back to pae=y.
(In reply to comment #11) > I had to change the opts XEN_blah=y back to pae=y. Could you explain more? The only difference between the 9029-r2.ebuild and the 3.0.1_p9029.ebuild wrt pae is that the former used if use pae; then myopt="${myopt} XEN_TARGET_X86_PAE=y" fi and the latter uses use pae && myopt="${myopt} XEN_TARGET_X86_PAE=y" These should be functionally equivalent, so what's the issue again?
The main Makefile isn't used. It sets pae=y based on XEN_TARGET_X86_PAE. Without pae=y during the compile, it can't link successfully. See me post at 2006-03-02 09:34 PST.
Should be fixed in 3.0.2. I just set pae=y in the ebuild... it seems to compile okay and it's using the PAE flags, so hopefully nothing else changed.