From: Jabe <jabe.chapman-9AbUPqfR1/2XDw4h08c5KA@public.gmane.org>
To: Jason Gunthorpe
<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc: linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: What is OFED? (vs in-kernel drivers)
Date: Thu, 06 Jan 2011 02:34:50 +0100 [thread overview]
Message-ID: <4D251C3A.8040701@shiftmail.org> (raw)
In-Reply-To: <20110105191847.GB1211-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
On 01/05/2011 08:18 PM, Jason Gunthorpe wrote:
>
> They are related but separate. OFED started as a way to deliver IB
>
> CUT
>
> old. I generally build from git for my Ubuntu machines. I've attached
> a script that does the job, quick and easy:
>
> $ apt-get install gcc flex bison automake libtool autoconf
> $ mkdir /opt/ofa
> $ cd /opt/ofa
> $ ofabuild clone
> $ ofabuild build -V ofa-1.5.1 -p /opt/ofa-1.5.1
>
> But the install goes into /opt, not /usr/lib so you have to use
> something like
>
> LD_LIBRARY_PATH=/opt/ofa-1.5.1/lib/
> CPPFLAGS=-I/opt/ofa-1.5.1/include LDFLAGS="-L/opt/ofa-1.5.1/lib/ -Wl,-rpath=/opt/ofa-1.5.1/lib/"
> PATH=$PATH:/opt/ofa-1.5.1/bin:/opt/ofa-1.5.1/sbin
>
>
How wonderful!!
I would never have hoped in such a reply, you even gave me the scripts
to compile OFED under Ubuntu automatically!!
THANKS A LOT !!!
Only one more question: did I understand correctly that you suggest me
to use the in-kernel modules on Ubuntu or vanilla kernels, even if I
compiled OFED for userspace?
Otherwise, how should load those from OFED? I think modprobe does not
find them unless they are in /lib/modules/mykernel, and your script does
not put them there, it seems to me.
Thanks again!
--
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:[~2011-01-06 1:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-05 12:24 What is OFED? (vs in-kernel drivers) Jabe
[not found] ` <4D246301.40006-9AbUPqfR1/2XDw4h08c5KA@public.gmane.org>
2011-01-05 19:18 ` Jason Gunthorpe
[not found] ` <20110105191847.GB1211-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2011-01-06 1:34 ` Jabe [this message]
[not found] ` <4D251C3A.8040701-9AbUPqfR1/2XDw4h08c5KA@public.gmane.org>
2011-01-06 1:47 ` Jason Gunthorpe
2011-01-05 19:49 ` Bart Van Assche
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=4D251C3A.8040701@shiftmail.org \
--to=jabe.chapman-9abupqfr1/2xdw4h08c5ka@public.gmane.org \
--cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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