Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2019 08:56:43 -0500
From:      Jason Bacon <bacon4000@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>, "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org>
Subject:   Re: Kernel modules
Message-ID:  <598a58f0-89b8-d00d-5ed7-74dd7005950f@gmail.com>
In-Reply-To: <f3f94452-155f-79f4-72d8-bf65760ae5b0@selasky.org>
References:  <0eba9ec9-692f-7677-2b10-4e67a232821c@gmail.com> <f3f94452-155f-79f4-72d8-bf65760ae5b0@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/18/19 7:55 AM, Hans Petter Selasky wrote:
> On 3/18/19 1:32 PM, Jason Bacon wrote:
>>
>> Anyone using the kernel modules lately?
>>
>> After building per the instructions on the wiki 
>> (https://wiki.freebsd.org/InfiniBand):
>>
>> <<<ROOT@unixdev.ceas>>> /home/bacon 1005 # kldload ibcore
>> kldload: an error occurred while loading module ibcore. Please check 
>> dmesg(8) for more details.
>>
>> dmesg:
>>
>> link_elf_obj: symbol if_index undefined
>> linker_load_file: /boot/modules/ibcore.ko - unsupported file type
>
> Hi,
>
> You built the KMODs out of the kernel? Try adding 
> DEBUG_FLAGS="-DVIMAGE=1" to your out of tree build.
>
> --HPS

I used the script for building kernel modules (which I wrote and posted 
at https://wiki.freebsd.org/InfiniBand a few years ago, based on advice 
from a Mellanox developer at the time).  This will show exactly what I did.

Hoping there's a simple fix for this.

In theory, it should now be possible to enable IB support on a stock 
FreeBSD system in a few minutes, since we should be able to use loadable 
modules instead of doing a buildkernel, and IB support is now included 
in the base, making buildworld unnecessary:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211761

This is a big step toward enabling the use of stock FreeBSD systems in HPC.

I had successfully used the IB stack before by loading the modules and 
doing a buildworld.

Regards,

     JB

-- 
Earth is a beta site.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?598a58f0-89b8-d00d-5ed7-74dd7005950f>