From: Kieran Mansley Subject: Re: blkif_map error starting fourth guest domain Date: Wed, 01 Aug 2007 16:22:08 +0100 Message-ID: <1185981728.4918.29.camel@moonstone.uk.level5networks.com> References: <1181297967.4108.29.camel@moonstone.uk.level5networks.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1181297967.4108.29.camel@moonstone.uk.level5networks.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, 2007-06-08 at 11:19 +0100, Kieran Mansley wrote: > On Thu, 2007-06-07 at 16:12 +0100, Keir Fraser wrote: > > > > > > On 7/6/07 16:06, "Kieran Mansley" wrote: > > > > > The reason for blkif_map() failing seems to be the map_frontend_page() > > > call failing. > > > > > > xm dmesg prints out: > > > (XEN) mm.c:2610:d0 Could not find L1 PTE for address e1204000 > > > which seems likely to be connected to map_frontend_page() failing. > > > > Yes, this is the problem. You'll need to add some more tracing, find out > > exactly which grant_map operation issued by dom0 is failing, and find out > > why Xen thinks there is no pte mapping the specified virtual address. > > The grant map that's failing is (linux-2.6-xen- > sparse/drivers/xen/blkback/interface.c:62): > > gnttab_set_map_op(&op, (unsigned long)blkif->blk_ring_area->addr, > GNTMAP_host_map, shared_page, blkif->domid); > > if (HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, &op, 1)) > BUG(); > > I'll get some more tracing and info about why this page supplied by the > frontend doesn't have a PTE when I get some spare time. > > Kieran By way of a follow-up, I'm no longer able to reproduce this. It now works fine, and has done for some time. I suspect it may have been due to the bug/fix alluded to in this: http://lists.xensource.com/archives/html/xen-devel/2007-07/msg00402.html It doesn't fit with that perfectly, so it may be the problem is different (and still there) but if it reappears I'll let you know. Kieran