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] IOMMU and AMD 890fx

To: Jens Krehbiel-Gräther <xen@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] IOMMU and AMD 890fx
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Thu, 17 Jun 2010 09:14:30 -0400
Cc: "Przywara, Andre" <Andre.Przywara@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Leonardo Prosperi <leo.prosperi@xxxxxxxxx>, Joerg Roedel <joro@xxxxxxxxxx>, "Huang2, Wei" <Wei.Huang2@xxxxxxx>, Eikelenboom <linux@xxxxxxxxxxxxxx>, Joop Boonen <joop_boonen@xxxxxx>, Andrew Oakley <andrew@xxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 17 Jun 2010 06:16:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C194B9B.10500@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/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>
References: <20100603112649.GG11162@xxxxxxxxxx> <4C079729.8030502@xxxxxxx> <20100610194947.17e0f6ad@ado-gentoo> <4C113911.9030005@xxxxxxx> <20100610201527.61351484@ado-gentoo> <4C160DBF.8030701@xxxxxxxxxxxxxxxxxx> <4C163371.7090809@xxxxxxx> <4C17F2B4.7040208@xxxxxx> <3399D2269986104B959D31B7E919313C3D10B465@xxxxxxxxxxxxxxxxxxx> <4C194B9B.10500@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-12-10)
On Thu, Jun 17, 2010 at 12:09:31AM +0200, Jens Krehbiel-Gräther wrote:
> Hi!
> 
> 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:
> 
> (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 
modify it a bit to see what was the 'ret' value and why
'intel_iommu_assign_device' function failed.

> 
> 
> 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=all iommu=verbose'.

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

<Prev in Thread] Current Thread [Next in Thread>