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] x86_64 eth0 e1000_clean_tx_irq tx hang

To: Chris Wright <chrisw@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] x86_64 eth0 e1000_clean_tx_irq tx hang
From: Guillaume Thouvenin <guillaume.thouvenin@xxxxxxx>
Date: Thu, 16 Feb 2006 14:10:19 +0100
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 16 Feb 2006 13:53:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060216030715.GK3490@xxxxxxxxxxxxxxxxxx>
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>
Organization: Bull S.A.
References: <E305A4AFB7947540BC487567B5449BA8096F525E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20060216030715.GK3490@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 15 Feb 2006 19:07:15 -0800
Chris Wright <chrisw@xxxxxxxxxxxx> 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

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