Kernel modules

Jason Bacon bacon4000 at gmail.com
Mon Mar 18 13:56:50 UTC 2019


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 at 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.



More information about the freebsd-infiniband mailing list