From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: IOMMU and AMD 890fx Date: Thu, 17 Jun 2010 09:14:30 -0400 Message-ID: <20100617131430.GB3474@phenom.dumpdata.com> References: <20100603112649.GG11162@8bytes.org> <4C079729.8030502@amd.com> <20100610194947.17e0f6ad@ado-gentoo> <4C113911.9030005@amd.com> <20100610201527.61351484@ado-gentoo> <4C160DBF.8030701@jkg-it-services.de> <4C163371.7090809@amd.com> <4C17F2B4.7040208@web.de> <3399D2269986104B959D31B7E919313C3D10B465@SAUSEXMBP01.amd.com> <4C194B9B.10500@jkg-it-services.de> 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: <4C194B9B.10500@jkg-it-services.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jens =?iso-8859-1?Q?Krehbiel-Gr=E4ther?= Cc: "Przywara, Andre" , "xen-devel@lists.xensource.com" , Leonardo Prosperi , Joerg Roedel , "Huang2, Wei" , Eikelenboom , Joop Boonen , Andrew Oakley List-Id: xen-devel@lists.xenproject.org On Thu, Jun 17, 2010 at 12:09:31AM +0200, Jens Krehbiel-Gr=E4ther wrote: > Hi! >=20 > I now have a Asus Crosshair IV for testing and this board (as I > postet earlier) supports iommu. Now I have installed Debian lenny > (5.0) and compiled xen 4.0.0. > Xen is running now and I have installed a hvm debian lenny to which > I would like to bind a pci device but that doesn't work. > Perhaps I am doing something wrong and you could help me? Is that the _only_ PCI device you have tried to assign? Did you try to assign other PCI devices which have the function number being zero? > and xm dmesg this: >=20 > (XEN) domctl.c:853:d0 XEN_DOMCTL_assign_device: assign device > (0:14.2) failed That is not very useful. Wish it gave you the return code at least. If you are comfortable with adding printks in the Xen hypervisor I would=20 modify it a bit to see what was the 'ret' value and why 'intel_iommu_assign_device' function failed. >=20 >=20 > So can anyone tell me what I am doing wrong?? Please also attach the full serial long, including the Xen one - and run it with 'loglvl=3Dall iommu=3Dverbose'.