From: Jack Morgenstein <jackm-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Mathis GAVILLON <jbiboche-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: Fwd: Error message when trying to use Infiniband virtual functions in virtual machine
Date: Tue, 29 Jan 2013 16:44:35 +0200 [thread overview]
Message-ID: <201301291644.35771.jackm@dev.mellanox.co.il> (raw)
In-Reply-To: <CAOoYFkE6YNfEJGJqGmpQTdSxR2Y_9pzkdcnHf_7jjqq57B_Nsw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Tuesday 29 January 2013 15:15, Mathis GAVILLON wrote:
> In fact, one boxe wasn't check in IOMMU submenu (Support for Interrupt
> Remapping (EXPERIMENTAL)). I've recompiled the kernel of the host and
> guest (is it necessary for this last one ?). But the error message is
> already present. Just below, new dmeg log from host and guest O/S
> (mlx4_core loaded with options num_vfs=1 probe_vf=1 debug_level=1 on
> host and debug_level=1 on guest) :
>
Please do the following:
1. Check the Support for Interrupt Remapping (EXPERIMENTAL) box and recompile/reinstall.
2. set probe_vf=0, so that no vfs will run on the Hypervisor. That way you will
see if any VF comes up without the "noise" in /var/log/messages in the Hypervisor generated
by having one of the VFs run on the Hypervisor.
3. I noticed that you are enabling only a single VF, and that you are having the
VF come up first on the Hypervisor, then moving it to run on a guest.
It is better not to do things that way. Best to have it come up cleanly once on
the guest. (the FLR event in your log results from this move. The VF gets reset).
If you must have a VF running on the Hypervisor, use "num_vfs=2 probe_vf=1".
You will then see Devices ...xx.0, ...xx.1 and ...xx.2 in lspci. The first VF
(...xx.1) will be initialized on the Hypervisor. Attach ...xx.2 to the VM.
-Jack
--
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
next prev parent reply other threads:[~2013-01-29 14:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
[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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201301291644.35771.jackm@dev.mellanox.co.il \
--to=jackm-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
--cc=jbiboche-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox