From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [pvops-2.6.31.12 ]Fatal DMA error! Please use 'swiotlb=force' kernel BUG at drivers/pci/xen-iommu.c:227! invalid opcode: 0000 [#1] SMP Date: Mon, 22 Mar 2010 15:10:55 -0400 Message-ID: <20100322191055.GA31521@phenom.dumpdata.com> References: <1954256379.20100311114453@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1954256379.20100311114453@eikelenboom.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sander Eikelenboom Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Thu, Mar 11, 2010 at 11:44:53AM +0100, Sander Eikelenboom wrote: > Hi Konrad , > > On this machine i'm using > - xen-3.4.2 > - pvops 2.6.31.6 dom0 kernel > - debian stock 2.6.26.2-xen kernels > - All are 64bit, total system mem is 8GB, no hardware iommu present. > > I'm passing through several pci devices with great succes (worked stable for several months) > - Soundcard > - 1 PCI and 1 PCI-e USB 2.0 cards used for videograbbing > > > > Now i have tried to passthrough a third USB card, (PCI-e, USB 3.0 in this case), with a new pvops 2.6.31.12 kernel. > > But although i specified swiotlb=force, something seems to go wrong with DMA mapping, dmesg from the domU shows the error below. > The complete dmesg output is attached. Ugh. There is one more parameter you need to add, that is 'iommu=soft'. That 'use swiotlb=force' nees to be fixed. Thanks for spotting it.