From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gorm Hansen Subject: Re: Failure to get memory for GATT table, again Date: Wed, 02 Feb 2005 13:28:05 -0800 Message-ID: <420145E5.9000301@diku.dk> References: <20050202005555.GD15851@diku.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <20050202005555.GD15851@diku.dk> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Jacob Gorm Hansen Cc: Ian Pratt Ian Pratt , xen-devel List-Id: xen-devel@lists.xenproject.org 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