From owner-freebsd-net@freebsd.org Tue Apr 24 07:15:52 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 779EEFBE6F7 for ; Tue, 24 Apr 2018 07:15:52 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 183D26FFBB for ; Tue, 24 Apr 2018 07:15:51 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id DE9FA2603DA; Tue, 24 Apr 2018 09:15:49 +0200 (CEST) Subject: Re: kldload ibcore.ko fails in snapshot: FreeBSD-12.0-CURRENT-amd64-20180329-r331740-disc1 To: "Somayajulu, David" , "freebsd-net@freebsd.org" References: From: Hans Petter Selasky Message-ID: <53cea7bc-c3e5-26c3-30d8-42438e67f19f@selasky.org> Date: Tue, 24 Apr 2018 09:15:43 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2018 07:15:52 -0000 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