public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* Error message when trying to use Infiniband virtual functions in virtual machine
@ 2013-01-23 15:29 Mathis GAVILLON
       [not found] ` <CAOoYFkGrsWKGaFcNAQQnkks2Ku6O8xkPk=8BGQfRR74QhRU=VA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Mathis GAVILLON @ 2013-01-23 15:29 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Hi,

I'm working on a project in which I try to virtualize Infiniband. I
use ConnectX3 Infiniband cards with FW 2.9.1200.
I've installed a Fedora 18 OS with 3.8.0rc2 recompiled kernel. I use
KVM 1.2 to run virtual machines.

For my tests, I've created one virtual machine on which I've installed
RHEL6.3 with 3.8.0rc2 recompiled kernel.
On the host, I've loaded mlx4_core with num_vfs=2. Two virtual
functions are normaly available.
I've linked one virtual function with the VM. The return of lspci on
the VM is normal :

[root@welling0 ~]# lspci -s 00:08.0
00:08.0 Network controller: Mellanox Technologies MT27500 Family
[ConnectX-3 Virtual Function]

All sould work fine. But when I try to load mlx4_core driver on my VM,
this error message appears :

mlx4_core 0000:00:08.0: failed execution of VHCR_POST commandopcode 0x31

Here is the result of dmesg command :

[root@welling0 ~]# dmesg
mlx4_core: Mellanox ConnectX core driver v1.1 (Dec, 2011)
mlx4_core: Initializing 0000:00:08.0
mlx4_core 0000:00:08.0: Detected virtual function - running in slave mode
mlx4_core 0000:00:08.0: Sending reset
mlx4_core 0000:00:08.0: Sending vhcr0
mlx4_core 0000:00:08.0: 64B EQEs/CQEs supported by the device but not enabled
mlx4_core 0000:00:08.0: HCA minimum page size:512
mlx4_core 0000:00:08.0: irq 48 for MSI/MSI-X
mlx4_core 0000:00:08.0: irq 49 for MSI/MSI-X
mlx4_core 0000:00:08.0: failed execution of VHCR_POST commandopcode 0x31
mlx4_core 0000:00:08.0: NOP command failed to generate MSI-X interrupt IRQ 49).
mlx4_core 0000:00:08.0: Trying again without MSI-X.
mlx4_core: probe of 0000:00:08.0 failed with error -16


Have you got any idea about this error ?

Thank's for your help !!

Mathis
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-02-05 11:45 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23 15:29 Error message when trying to use Infiniband virtual functions in virtual machine Mathis GAVILLON
     [not found] ` <CAOoYFkGrsWKGaFcNAQQnkks2Ku6O8xkPk=8BGQfRR74QhRU=VA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-24 14:41   ` Or Gerlitz
     [not found]     ` <CAOoYFkFQOyWbrZtufpk=82ButMxPjsue1Psih40h=F1=U7ng6g@mail.gmail.com>
     [not found]       ` <CAOoYFkGe=kKDDKvhOdRVCXQbGfV52q38dz6cYTpQXmFGOsBwsg@mail.gmail.com>
     [not found]         ` <CAOoYFkGe=kKDDKvhOdRVCXQbGfV52q38dz6cYTpQXmFGOsBwsg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-28  8:29           ` Fwd: " Mathis GAVILLON
     [not found]             ` <CAOoYFkFVvK+1YNJ_N6r0N_3ZMF6P9Q+0dbsDg4v8=3JfDPVOOA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-28 16:35               ` Jack Morgenstein
     [not found]                 ` <201301281835.18533.jackm-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2013-01-29 13:15                   ` Mathis GAVILLON
     [not found]                     ` <CAOoYFkE6YNfEJGJqGmpQTdSxR2Y_9pzkdcnHf_7jjqq57B_Nsw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-29 13:20                       ` Mathis GAVILLON
2013-01-29 14:33                       ` Jack Morgenstein
2013-01-29 14:44                       ` Jack Morgenstein
     [not found]                         ` <201301291644.35771.jackm-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2013-01-29 15:18                           ` Mathis GAVILLON
     [not found]                             ` <CAOoYFkErXNxSBrQC_spMwcEiVmOpkzqQwuTQPOwO70bigsgYkQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-29 18:36                               ` Jack Morgenstein
     [not found]                             ` <201302031040.20906.jackm@dev.mellanox.co.il>
     [not found]                               ` <CAOoYFkHnrty9Nh294y94bWx2PEXHxk8_cVbYbPJ+=jLgf4m+0A@mail.gmail.com>
     [not found]                                 ` <CAOoYFkHnrty9Nh294y94bWx2PEXHxk8_cVbYbPJ+=jLgf4m+0A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-02-04 11:23                                   ` Or Gerlitz
     [not found]                                     ` <B855DA7245737D4B83EDD9C0B7698E655952F564-LSMZvP3E4uyuSA5JZHE7gA@public.gmane.org>
2013-02-04 15:24                                       ` Alex Williamson
     [not found]                                         ` <1359991471.11144.396.camel-xdHQ/5r00wBBDLzU/O5InQ@public.gmane.org>
2013-02-05  9:51                                           ` Or Gerlitz
2013-02-05 10:32                                           ` Mathis GAVILLON
     [not found]                                             ` <CAOoYFkEnzYwPDjka+GGXeXt2xkGhX7qwAptGUvUJChgDEjRBGw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-02-05 11:00                                               ` Or Gerlitz
     [not found]                                                 ` <5110E64F.7080106-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-02-05 11:45                                                   ` Mathis GAVILLON

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox