Date: Mon, 18 Mar 2019 15:10:49 +0100 From: Hans Petter Selasky <hps@selasky.org> To: Jason Bacon <bacon4000@gmail.com>, "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org> Subject: Re: Kernel modules Message-ID: <73ce0738-4d63-2f25-2ff6-00f0092de136@selasky.org> In-Reply-To: <598a58f0-89b8-d00d-5ed7-74dd7005950f@gmail.com> References: <0eba9ec9-692f-7677-2b10-4e67a232821c@gmail.com> <f3f94452-155f-79f4-72d8-bf65760ae5b0@selasky.org> <598a58f0-89b8-d00d-5ed7-74dd7005950f@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/18/19 2:56 PM, Jason Bacon wrote: > 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. > Can you try: make DEBUG_FLAGS="-DVIMAGE=1" instead of make in the script. In FreeBSD-12 VIMAGE was turned on by default unlike FreeBSD-11. --HPS > 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73ce0738-4d63-2f25-2ff6-00f0092de136>