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] dma_alloc_coherent issue with tg3 in x86_64 build

To: Chris Wright <chrisw@xxxxxxxx>
Subject: Re: [Xen-devel] dma_alloc_coherent issue with tg3 in x86_64 build
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 29 Jul 2005 11:03:05 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 29 Jul 2005 09:57:13 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050728193619.GX9157@xxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20050728193619.GX9157@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 28 Jul 2005, at 20:36, Chris Wright wrote:

During boot of dom0, I get the following.  Box is remote, so I'm
now waiting for proxy power button pusher ;-)  tg3 init fails doing
dma_alloc_coherent (I assume this is from tg3_init_one -> tg3_test_dma ->
pci_alloc_consistent -> dma_alloc_coherent).  Looks like an issue with
the amount of memory in dom0.  Is this known?

Allocate less memory to dom0 -- just a few mb less should make the allocation succeed. The failure path in alloc_coherent should invoke the balloon driver rather than barfing immediately.

 -- Keir


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