[oi-dev] open-fabrics pkg on OpenIndiana 151a
Syoyo Fujita
syoyofujita at gmail.com
Mon Feb 6 08:25:44 UTC 2012
Hello Alasdair,
I've wrote some patches for open-fabrics component to work with
OI151a(+Illumos)
https://github.com/syoyo/oi-build/tree/ofed-1.5.4.1
As a bonus, I've updated OFED version from 1.5.3 to recent 1.5.4.1(RC2).
I've confirmed it can compile and can create IPS package, but not
confirmed yet it works well on many OpenIndiana/Illumos environment.
I'm happy if you or someone InfiniBand + OpenIndiana people contribute
to testing my components.
Thanks in advance.
On Mon, Nov 28, 2011 at 7:50 PM, Syoyo Fujita <syoyofujita at gmail.com> wrote:
> Hello Alasdair,
>
> Thank you for quick response.
>
> As reported https://www.illumos.org/issues/378,
> I got same problem in building open-fabrics, and I resolve it by
> replacing /usr/include/sys/ib/adaptors/* header files provided by
> Oracle Solaris 11.
> Current tavor and hermon header files shipped with OI seems old, even
> though I don't know it is ok to just replace header files with new
> one.
>
> Also, I have to add AF_INET_SDP 33 definition to /usr/include/sys/socket.h
> (This is also added in Solaris 11's header file).
>
> With this, most components of open-fabrics compile OK.
> But could not run rdma_bw command for example. I got seg fault.
>
> $ ./rdma_bw
> 27677: | port=18515 | ib_port=1 | size=65536 | tx_depth=100 | sl=0 |
> iters=1000 | duplex=0 | cma=0 |
> Segmentation Fault (core dumped)
>
> So, finally, it seems that open-fabrics source&patch will work with
> Solaris 11 kernel/modules/system header.
>
> Does OI provide Solaris 11-compatible kernel and modules? Grabbing a
> dev tree of Illumos?
> If so, I'd like to use it to test the build of open-fabrics.
>
> --
> Syoyo
>
> On Sat, Nov 26, 2011 at 7:32 AM, Alasdair Lumsden <alasdairrr at gmail.com> wrote:
>> Hi Syoyo,
>>
>> On 25 Nov 2011, at 12:06, Syoyo Fujita wrote:
>>
>>> I'd like to build open-fabrics pkg(SUNWofusr) from source on OpwnIndiana 151a, to use InfiniBand verbs on OpenIndiana.
>>
>> Check out:
>>
>> http://hg.openindiana.org/oi-build/file/5a82dc248330/components/open-fabrics
>>
>> This has some documentation:
>>
>> http://wiki.openindiana.org/oi/Building+with+oi-build
>>
>> oi-build originates from the userland-gate project at Oracle for Solaris 11. Unfortunately open-fabrics doesn't build on OI (although most of userland-gate does), so you might need to do some work to get it to build. But it should be a good start, and certainly much easier to build it from oi-build than from the old sfw-gate.
>>
>> Cheers,
>>
>> Alasdair
>> _______________________________________________
>> oi-dev mailing list
>> oi-dev at openindiana.org
>> http://openindiana.org/mailman/listinfo/oi-dev
>>
More information about the oi-dev
mailing list