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

[Xen-users] Centos5, paravirtualization and infiniband passthrough

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Centos5, paravirtualization and infiniband passthrough
From: Kalle Happonen <kalle.happonen@xxxxxxx>
Date: Mon, 19 Apr 2010 13:59:25 +0200
Delivery-date: Mon, 19 Apr 2010 05:02:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.24 (X11/20100317)
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?

Cheers,
Kalle Happonen

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

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