First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 124355
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Chris Bainbridge (RETIRED) <chrb@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christopher G. Stach II <cgs@ldsys.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xen-3.0.1-r1.patch xen-3.0.1-r1.patch patch Christopher G. Stach II 2006-02-28 12:03 0000 1.67 KB Details | Diff
gentoo-make.patch gentoo-make.patch patch Christopher G. Stach II 2006-02-28 12:04 0000 407 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 124355 depends on: Show dependency tree
Bug 124355 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-27 21:49 0000
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.

------- Comment #1 From Chris Bainbridge (RETIRED) 2006-02-28 07:28:32 0000 -------
I don't have a PAE-ised >4gb system; if you can supply a tested patch for the
ebuild I'll add it.

------- Comment #2 From Christopher G. Stach II 2006-02-28 12:01:59 0000 -------
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.

------- Comment #3 From Christopher G. Stach II 2006-02-28 12:03:58 0000 -------
Created an attachment (id=80957) [edit]
xen-3.0.1-r1.patch

------- Comment #4 From Christopher G. Stach II 2006-02-28 12:04:22 0000 -------
Created an attachment (id=80958) [edit]
gentoo-make.patch

------- Comment #5 From Christopher G. Stach II 2006-02-28 12:05:14 0000 -------
"pae" should probably be a global USE flag, since it affects both of the xen
packages, huh?

------- Comment #6 From Chris Bainbridge (RETIRED) 2006-03-02 03:51:45 0000 -------
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!

------- Comment #7 From Christopher G. Stach II 2006-03-02 09:34:54 0000 -------
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.

------- Comment #8 From Chris Bainbridge (RETIRED) 2006-03-03 04:21:43 0000 -------
Ok, it should be fixed now.

------- Comment #9 From Christopher G. Stach II 2006-03-30 19:07:19 0000 -------
Looks like the ebuild for p9029 got goofed up for PAE.

------- Comment #10 From Chris Bainbridge (RETIRED) 2006-03-31 00:55:29 0000 -------
I don't see any changes that would affect PAE?

------- Comment #11 From Christopher G. Stach II 2006-03-31 00:56:49 0000 -------
I had to change the opts XEN_blah=y back to pae=y.

------- Comment #12 From Aron Griffis (RETIRED) 2006-04-01 06:28:53 0000 -------
(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?

------- Comment #13 From Christopher G. Stach II 2006-04-01 10:04:22 0000 -------
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.

------- Comment #14 From Chris Bainbridge (RETIRED) 2006-04-10 06:27:16 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug