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] xen kernel 2.6.18 bug with a d-link DFE 580TX - pci hide

To: Michael Kapp <tquarkk@xxxxxxxxxx>
Subject: Re: [Xen-devel] xen kernel 2.6.18 bug with a d-link DFE 580TX - pci hide
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sun, 26 Oct 2008 09:15:31 +0000
Cc: xen-dev <xen-devel@xxxxxxxxxxxxxxxxxxx>, Frank Mundinger <f.mundinger@xxxxxxx>
Delivery-date: Sun, 26 Oct 2008 02:15:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4904311F.3060108@xxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ack3S2TMoxuN+6M+Ed2swwAWy6hiGQ==
Thread-topic: [Xen-devel] xen kernel 2.6.18 bug with a d-link DFE 580TX - pci hide
User-agent: Microsoft-Entourage/11.4.0.080122
On 26/10/08 08:58, "Michael Kapp" <tquarkk@xxxxxxxxxx> wrote:

>> Add swiotlb=force to your domain's kernel command line.
> 
> I set swiotlb=force in the domU conf, that doesn't fix it - also with
> noirqdebug.

That should be impossible since the line you are bugging on will not be
executed if the swiotlb has been successfully enabled. Do you get a line in
dmesg stating "Software IO TLB enabled"? If not then is CONFIG_SWIOTLB
enabled in your kernel config (should happen by default). The file
lib/swiotlb-xen.c should be getting built and you'll see there is code near
the top of that file to parse swiotlb=force which sets swiotlb_force and
should cause swiotlb_init() to do the right thing (which should get called
via the path mem_init->pci_iommu_alloc->pci_swiotlb_init->swiotlb_init.

 -- Keir



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