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] xenpaging crashes xen in is_iomem_page()

To: Patrick Colp <pjcolp@xxxxxxxxx>
Subject: Re: [Xen-devel] xenpaging crashes xen in is_iomem_page()
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Tue, 10 Aug 2010 17:06:05 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Aug 2010 08:13:38 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1281452766; l=1055; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=OhHVJbicWE6VEUwzrvPPd2kO7/4=; b=Nvzh0aHWikog3rSzlocpkSdq4oflGymQcJBZKueA6I4w3PVgf8np2o5uIzD8flpYFXb PBmjiZAV7y+JWme7XGu7OjMye6oKS+0SV7MFYjW86LrAFy19ILbAAQPMtG1H/UwJVytD9 0b21nUq8z1kXGxts9V//3dPs1cP+PE+rdCI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTin=hi3Y68ymBXG5anbDABmK38t1Sb4UDn-EQKc7@xxxxxxxxxxxxxx>
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>
References: <20100726115837.GA5643@xxxxxxxxx> <AANLkTimCNX9Cnr8cOpvOw=oDgWObNvXYbXP6=9ZxpCDc@xxxxxxxxxxxxxx> <20100727152045.GA20188@xxxxxxxxx> <AANLkTi=Zqwg1F6k3Nq15NnQVSuJRE8xuFsqOeg54ukuP@xxxxxxxxxxxxxx> <20100806111620.GA457@xxxxxxxxx> <AANLkTik9HwPPDkex5XYp4EMm5xiNJwB=pN2=7Mwtbhoa@xxxxxxxxxxxxxx> <20100809173934.GA12523@xxxxxxxxx> <AANLkTinkT9B1YO=CTS0vzoqs6wnRje1RFTwSLRjYbg6o@xxxxxxxxxxxxxx> <20100810141915.GA28346@xxxxxxxxx> <AANLkTin=hi3Y68ymBXG5anbDABmK38t1Sb4UDn-EQKc7@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Tue, Aug 10, Patrick Colp wrote:

> On 10 August 2010 10:19, Olaf Hering <olaf@xxxxxxxxx> wrote:
> > On Mon, Aug 09, Patrick Colp wrote:
> >
> >> > I tried to move the initial evict_victim() calls into the while(1) loop.
> >> > If there is no event from xc_wait_for_event_or_timeout(), fill &victims
> >> > one by one.
> >> >
> >> > My attempt looks basically like shown below.
> >> > Unfortunately, it crashes xen itself in odd ways. I will look at this
> >> > route further tomorrow.
> >>
> >> It's not immediately clear to me why your change wouldn't work.
> >
> > Patrick,
> >
> > there is something weird going on.
> > Today I was able to boot the client sucessfully with my change. Still I
> > got a few 'grant_table.c:583:d0 Iomem mapping not permitted ffffffffff
> > (domain 1)' lines.
> This sounds like it's trying to grant pages which have been paged out
> (since paged out pages change their p2m mapping to MFN_INVALID which
> is 0xffffffff).

ffffffffff is 40 bits, not 32 bits, from ept_entry_t->mfn.


Xen-devel mailing list