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-users

Re: [Xen-users] Centos5, paravirtualization and infiniband passthrough

To: Kalle Happonen <kalle.happonen@xxxxxxx>
Subject: Re: [Xen-users] Centos5, paravirtualization and infiniband passthrough
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Tue, 20 Apr 2010 20:32:49 +0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 20 Apr 2010 10:34:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BCC459D.3030009@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4BCC459D.3030009@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Apr 19, 2010 at 01:59:25PM +0200, Kalle Happonen wrote:
> Hello all,
> I'm trying to get an infiniband device passed through to a domU on  
> Centos5 (standard centos5 xen, both dom0 and domU). The device in  
> question is
> InfiniBand: Mellanox Technologies MT26418 [ConnectX VPI PCIe 2.0 5GT/s -  
> IB DDR / 10GigE] (rev a0)
>
> Now, I hid the device, added it to the domU and all that went well.  
> lspci on the domU sees the device and all, but it seems it can't use it.  
> The domU itself says
>
> -bash-3.2# echo -n  "0000:00:00.0"  > /sys/bus/pci/drivers/mlx4_core/bind
> PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
> mlx4_core 0000:00:00.0: Couldn't map HCA reset register, aborting.
> mlx4_core 0000:00:00.0: Failed to reset HCA, aborting.
> mlx4_core: probe of 0000:00:00.0 failed with error -12
> -bash: echo: write error: Cannot allocate memory
>
> Adn "xm dmesg" says
> (XEN) mm.c:625:d34 Non-privileged (34) attempt to map I/O space 000fdff0
>
> I assume the permissions to access the memory, and I read that putting  
> this in /etc/xen/xend-pci-permissive.sxp should help
>
> (unconstrained_dev_ids
>     ('15b3:6732')
> )
>
> ('15b3:6732' gotten from lspci -n)
>
> This doesn't seem to help. Is there still something I need to do,  
> anything I have missed?
>

I don't know if this will help but here goes anyway:
http://wiki.xensource.com/xenwiki/XenPCIpassthrough

-- Pasi


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

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