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

xen-users

[Top] [All Lists]

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: 2010年4月20日 20:32:49 +0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2010年4月20日 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 ".&checktime(0000,00,00,':').0" > /sys/bus/pci/drivers/mlx4_core/bind
> PCI: Enabling device .&checktime(0000,00,00,':').0 (0000 -> 0002)
> mlx4_core .&checktime(0000,00,00,':').0: Couldn't map HCA reset register, aborting.
> mlx4_core .&checktime(0000,00,00,':').0: Failed to reset HCA, aborting.
> mlx4_core: probe of .&checktime(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>
Previous by Date: [Xen-users] boot MS Windows installed natively in its own partition , Aggelos
Next by Date: Re: [Xen-users] Serial console - Xen 4.0 - debugging pv_ops 2.6.31 dom0 kernel , Pasi Kärkkäinen
Previous by Thread: [Xen-users] Centos5, paravirtualization and infiniband passthrough , Kalle Happonen
Next by Thread: [Xen-users] Fedora 12 and Xen build problem.. , 王俊仁
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /