From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Thouvenin Subject: Re: x86_64 eth0 e1000_clean_tx_irq tx hang Date: Thu, 16 Feb 2006 14:10:19 +0100 Message-ID: <20060216141019.593dfa52@localhost.localdomain> References: <20060216030715.GK3490@sorel.sous-sol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060216030715.GK3490@sorel.sous-sol.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Chris Wright Cc: Ian Pratt , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, 15 Feb 2006 19:07:15 -0800 Chris Wright wrote: > > --- linux-2.6.16-rc2/include/asm-x86_64/swiotlb.h 2006-02-15 21:42:24.000000000 -0500 > +++ linux-2.6.16-rc2-xen0/include/asm-x86_64/swiotlb.h 2006-02-15 21:19:15.000000000 -0500 > @@ -38,6 +38,11 @@ > extern void swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sg, > int nents, int direction); > extern int swiotlb_dma_mapping_error(dma_addr_t dma_addr); > +extern dma_addr_t swiotlb_map_page(struct device *hwdev, struct page *page, > + unsigned long offset, size_t size, > + enum dma_data_direction direction); > +extern void swiotlb_unmap_page(struct device *hwdev, dma_addr_t dma_address, > + size_t size, enum dma_data_direction direction); > extern void swiotlb_free_coherent (struct device *hwdev, size_t size, > void *vaddr, dma_addr_t dma_handle); > extern int swiotlb_dma_supported(struct device *hwdev, u64 mask); The patch fixes the problem of the tx hang and it also fixes another problem on my box. With the xen unstable (changeset 8833), I couldn't open a ssh connection on the domain 0 until I ran the xend daemon (I don't know why running the xend daemon allows the connection). With the patch, I can open a ssh connection as soon as the ssh daemon is running on domain0. Just a remark, if I enable PAE, it doesn't solve the problem of the tx hang on my computer which is an Intel Xeon (1 CPU) with hyper-threading enabled. I'm using a debian distribution. thanks, Guillaume