From: Konrad Rzeszutek Wilk Subject: Re: Lenovo T400 problem Date: Mon, 15 Mar 2010 11:39:53 -0400 Message-ID: <20100315153953.GB30388@phenom.dumpdata.com> References: <8686c3cd1003100456g72c20b0ar9d67077d42a5e2ca@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <8686c3cd1003100456g72c20b0ar9d67077d42a5e2ca@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tom Rotenberg Cc: xci-devel@lists.xensource.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Mar 10, 2010 at 02:56:48PM +0200, Tom Rotenberg wrote: > Hi all, > Environment: > I'm trying to run T400 with USB and WLAN assigned to my HVM (Windows > XP). I'm using XEN 3.4 19696 changeset. >=20 > Facts: > Running both of them together stuck my machine in Windows splash > screen with following output: >=20 > (XEN) [VT-D]iommu.c:694: iommu_fault:DMA Read: 0:3.7 addr 6cb6000 What device is under BDF: 0:3.7 ? > REASON 2 iommu->reg =3D ffff828bfff57000 Hmm.. you really need the secret key decoder to figure that one out. I think it is 'Present bit in context entry is clear"' Looking at "http://download.intel.com/technology/computing/vptech/Intel(r= )_VT_for_Direct_IO.pdf " it says: "Present Flag: The present field is used by software to indicate to hardware whether the contextentry is present and initialized. Software may Clear the present field for context entries corresponding to device functions that are not present in the platform. If the present field of a context-entry used to process a DMA request is Clear, the DMA request is blocked, resulting in a translation fault." So from reading that it seems that the device in question: 0:3:7 hasn't been actually authorized for to be used by your guest? > (XEN) print_vtd_entries: iommu =3D ffff83013bdf5f90 bdf =3D 0:3:7 gmfn = =3D 6cb6 > (XEN) =A0 =A0 root_entry =3D ffff83013bdcc000 > (XEN) =A0 =A0 root_entry[0] =3D 137e44001 > (XEN) =A0 =A0 context =3D ffff830137e44000 > (XEN) =A0 =A0 context[1f] =3D 0_0 > (XEN) =A0 =A0 ctxt_entry[1f] not present Sure enought. Not present it there.. Are there any other entries (earlier on) that talk about BDF 0:3:7?