From: Anish Bhatt <anish@cc.gatech.edu>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: ioremap failing in linux guest
Date: Wed, 08 Oct 2008 18:42:42 -0400 [thread overview]
Message-ID: <48ED3762.5060603@cc.gatech.edu> (raw)
In-Reply-To: <C5121C9E.1DFAF%keir.fraser@eu.citrix.com>
Is there an API for converting pseudophysical addresses to machine
addresses or possibly sample code somewhere ?
-Anish
Keir Fraser wrote:
> On 8/10/08 00:23, "Anish Bhatt" <anish@cc.gatech.edu> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
--
As long as the music's loud enough, we won't hear the world falling apart.
next prev parent reply other threads:[~2008-10-08 22:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-07 23:23 ioremap failing in linux guest Anish Bhatt
2008-10-08 7:15 ` Keir Fraser
2008-10-08 22:42 ` Anish Bhatt [this message]
2008-10-08 22:52 ` Jeremy Fitzhardinge
2008-10-09 16:50 ` Anish Bhatt
2008-10-09 17:02 ` Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48ED3762.5060603@cc.gatech.edu \
--to=anish@cc.gatech.edu \
--cc=keir.fraser@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.