kldload ibcore.ko fails in snapshot: FreeBSD-12.0-CURRENT-amd64-20180329-r331740-disc1
Hans Petter Selasky
hps at selasky.org
Wed Apr 25 14:50:55 UTC 2018
On 04/25/18 16:12, Julian Elischer wrote:
> On 24/4/18 3:15 pm, Hans Petter Selasky wrote:
>> On 04/24/18 01:33, Somayajulu, David wrote:
>>> Hi All,
>>> kldload ibcore.ko
>>> fails in the above snapshot with the following error.
>>>
>>> # kldload -v /usr/obj/usr/src/amd64.amd64/sys/modules/ibcore/ibcore.ko
>>> kldload: an error occurred while loading module
>>> /usr/obj/usr/src/amd64.amd64/sys/modules/ibcore/ibcore.ko. Please
>>> check dmesg(8) for more details.
>>>
>>> /var/log/messages indicates the following.
>>>
>>> Apr 23 16:28:07 bsd25_12 kernel: link_elf_obj: symbol if_index undefined
>>> Apr 23 16:28:07 bsd25_12 kernel: linker_load_file:
>>> /usr/obj/usr/src/amd64.amd64/sys/modules/ibcore/ibcore.ko -
>>> unsupported file type
>>>
>>> What am I missing?
>>>
>>
>> Hi,
>>
>> It looks like ibcore.ko was built w/o DEBUG_FLAGS="-DVIMAGE=1"
>
> that shouldn't be in debug flags.. Not sure WHERE it should be, but I
> think that isn't it.
> (may work though)
>
If you build outside the "buildkernel WITH_OFED=YES" target these flags
must be specified manually in my experience.
--HPS
More information about the freebsd-net
mailing list