From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: xenpaging crashes xen in is_iomem_page() Date: Tue, 10 Aug 2010 17:06:05 +0200 Message-ID: <20100810150605.GA30103@aepfle.de> References: <20100726115837.GA5643@aepfle.de> <20100727152045.GA20188@aepfle.de> <20100806111620.GA457@aepfle.de> <20100809173934.GA12523@aepfle.de> <20100810141915.GA28346@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Patrick Colp Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Aug 10, Patrick Colp wrote: > On 10 August 2010 10:19, Olaf Hering 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. Olaf