From: Kieran Mansley Subject: Re: blkif_map error starting fourth guest domain Date: Fri, 08 Jun 2007 11:19:27 +0100 Message-ID: <1181297967.4108.29.camel@moonstone.uk.level5networks.com> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: 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: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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