This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Status of PAE support?

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Status of PAE support?
From: Gerd Knorr <kraxel@xxxxxxx>
Date: 07 Jun 2005 12:16:46 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 07 Jun 2005 10:19:15 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <077c7b5cf0b37c1e90cb87b0c8708583@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: SUSE Labs, Berlin
References: <000f01c56b07$f73d25d0$0201a8c0@hawk> <077c7b5cf0b37c1e90cb87b0c8708583@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> writes:

> > http://www.theshore.net/~caker/xen/PAE-testing/test1/boot.log
> >
> > It boots OK if I disable PAE.  I can proide binaries if needed.
> You need a PAE-enabled domain0 kernel as well, and our tree isn;t yet
> patched to support PAE. So bootstrapping Xen is as far as you'll get
> right now.

http://dl.bytesex.org/patches/ has xenlinux patches for you, havn't
found the time yet to update them for after-initial-pae-merge source
tree, so it likely is a bit tricky to get it going at the moment.

Seems the pae patch chunk for common/elf.c got lost on the merge (by
mistake or intentionally?).  I had added a sanity-check there to catch
the case of attempting to boot a non-pae kernel on pae xen (or
visa-versa), so you'll get a clear error message instead of a kernel
crashing very early.  Hmm, something wrong with that?


Index: xen/common/elf.c
--- xen.orig/common/elf.c       2005-05-30 14:09:15.000000000 +0200
+++ xen/common/elf.c    2005-05-30 14:14:30.000000000 +0200
@@ -82,7 +82,20 @@ int parseelfimage(struct domain_setup_in
             printk("ERROR: Xen will only load images built for Xen v3.0\n");
             return -EINVAL;
+#if defined(__i386__)
+#ifdef CONFIG_X86_PAE
+        int xen_pae = 1;
+        int xen_pae = 0;
+        int guest_pae = strstr(guestinfo, "PAE=yes") ? 1 : 0;
+        if (xen_pae != guest_pae) {
+            printk("ERROR: PAE mode mismatch (xen=%s,guest=%s)\n",
+                   xen_pae   ? "yes" : "no",
+                   guest_pae ? "yes" : "no");
+            return -EINVAL;
+        }
     if ( guestinfo == NULL )

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>