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] [bug] pv-grub doesn't run on rhel5

To: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Subject: Re: [Xen-devel] [bug] pv-grub doesn't run on rhel5
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Thu, 14 Aug 2008 12:15:20 +0100
Cc: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 14 Aug 2008 04:15:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48A40B17.2090701@xxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, Gerd Hoffmann <kraxel@xxxxxxxxxx>, Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
References: <48A40B17.2090701@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
Gerd Hoffmann, le Thu 14 Aug 2008 12:38:15 +0200, a écrit :
> Trying to boot pv-grub on RHEL-5 makes it fail with
>   [ ... ]
>   gnttab_table mapped at 0x10001000.
>   Initialising scheduler
>   (XEN) mm.c:694:d6 Bad L3 flags 6
>   ERROR: mmu_update failed
>   Do_exit called!

It looks like it's mini-os itself that has troubles very early.

It works in my environment.

> Guess more recent xen versions are less picky here and just silenly
> fixup this?

No, the check is still there, and I wonder how flags 6 could make it to
L3 flags.  Could you send me your mini-os.gz image?

> This is with 32bit pae.

Is it a 64 bit or 32 bit hypervisor?  Which version of the hypervisor?

> Another issue:  As 64bit pv-grub can't boot 32bit kernels, the 64bit xen
> build should create both 32bit and 64bit builds of pv-grub, so you can
> boot 32-on-64 guests with it?

I'm afraid Keir will consider it is too late in the 3.3 release to make
such a change in the build process.

Actually I am currently working on how we could switch a PV domain
between 32 and 64.  That won't ever go into 3.3 either, however.


Xen-devel mailing list