Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2018 09:15:43 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        "Somayajulu, David" <David.Somayajulu@cavium.com>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: kldload ibcore.ko fails in snapshot: FreeBSD-12.0-CURRENT-amd64-20180329-r331740-disc1
Message-ID:  <53cea7bc-c3e5-26c3-30d8-42438e67f19f@selasky.org>
In-Reply-To: <BN6PR07MB3122A34BF6462952F5C53CEFEE890@BN6PR07MB3122.namprd07.prod.outlook.com>
References:  <BN6PR07MB3122A34BF6462952F5C53CEFEE890@BN6PR07MB3122.namprd07.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53cea7bc-c3e5-26c3-30d8-42438e67f19f>