WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] ioremap failing in linux guest

To: Anish Bhatt <anish@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] ioremap failing in linux guest
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 08 Oct 2008 08:15:26 +0100
Cc:
Delivery-date: Wed, 08 Oct 2008 00:15:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48EBEF7E.40108@xxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckpFaLZ4ZPJqpUIEd2TKQAWy6hiGQ==
Thread-topic: [Xen-devel] ioremap failing in linux guest
User-agent: Microsoft-Entourage/11.4.0.080122
On 8/10/08 00:23, "Anish Bhatt" <anish@xxxxxxxxxxxxx> wrote:

> I'm trying to map some memory reserved with the mem= & memap =
> parameters (in guest) in a module in the guest. ioremap keeps failing
> with xend dmesg displaying this error :
> / mm.c:710:d2 Error getting mfn 20000 (pfn 2584e) from L1 entry
> 0000000020000263 for dom3275/
> 
> Anyone know why this is happening, or what I'm doing wrong ?
> -Anish

ioremap() takes machine addresses when running on Xen; not pseudophysical
addresses.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel