From: Keir Fraser Subject: Re: blkif_map error starting fourth guest domain Date: Fri, 08 Jun 2007 11:23:54 +0100 Message-ID: References: <1181297967.4108.29.camel@moonstone.uk.level5networks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" 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: Kieran Mansley Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 8/6/07 11:19, "Kieran Mansley" wrote: > 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. Thanks. The call to alloc_vm_area() should be ensuring that the pte does exist (as opposed to possibly needing to be allocated by the caller). -- Keir