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] ATI Radeon 9600SE and intel-agp, again

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] ATI Radeon 9600SE and intel-agp, again
From: Jacob Gorm Hansen <jacobg@xxxxxxx>
Date: Sat, 05 Feb 2005 23:31:21 -0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 06 Feb 2005 07:34:21 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D123729@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D123729@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20050116)
Ian Pratt wrote:
intel-agp refuses to load because the call to MMU_SET_FOREIGNDOM (trying to give the I/O pages to dom_io) fails, because the pages are owned by dom0 instead of by dom_io. If I remove the ownership check in


get_page() (in Xen) I can load the module, but dom0 will crash when X tries to map AGP memory.


Have you tried since the following checkin:
48 hours        kaf24   1.1711  Fix ioremap() for local RAM pages

Yes, this is this is in the latest code from bkbits xeno-unstable.

arch/xen/i386/ioremap.c tries to call direct_remap_area_pages like this (the printk is mine)

printk("trying to remap addr %p phys %p size %d to DOM_IO\n",addr, phys_addr, size);

    if (direct_remap_area_pages(&init_mm, (unsigned long) addr, phys_addr,
                    size, __pgprot(_PAGE_PRESENT | _PAGE_RW |
                           _PAGE_DIRTY | _PAGE_ACCESSED
                           | flags), DOMID_IO)) {

the printk says:
"trying to remap addr d0900000 phys 3ff00000 size 262144 to DOM_IO"

And the call fails in Xen who claims that dom0 and not dom_io owns these pages.

Jacob


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel