[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Failure to get memory for GATT table, again



Jacob Gorm Hansen wrote:
On Wed, Feb 02, 2005 at 12:01:41AM -0000, Ian Pratt wrote:


dma_alloc_coherent should be calling xen_contig_mem which should turn
the pages into ones that are owned by dom0 and contiguous. Add some
dubugging to xen_contig_mem to see if you're getting there.


xen_contig_mem is called correctly, and page ownerships are set to be dom0.
However, the mmu-update that goes wrong attempts to do a MMUEXT_SET_FOREIGNDOM
to a domain with number 32753, and that fails because the owner is 0. Who is
in domain 32753, and why does dom0 wish to map these pages to a foreign domain?

Just to recap, this seems like a bug in Xen or Xenlinux. MMUEXT_SET_FOREIGNDOM seems to expect the granted pages to be owned by the grantee already, instead of the granter. I've disabled the check in Xen, and fglrx now proceeds to take down the machine when I start X. Perhaps it would be better to spend the time on the open drivers at http://r300.sourceforge.net/ , or wait for ATI to discover Xen.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.