From owner-freebsd-current@freebsd.org Fri Jan 26 14:17:55 2018 Return-Path: Delivered-To: freebsd-current@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 740E2ED8E69 for ; Fri, 26 Jan 2018 14:17:55 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from dec.sakura.ne.jp (dec.sakura.ne.jp [210.188.226.8]) (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 D7A7C74C7B for ; Fri, 26 Jan 2018 14:17:54 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from fortune.joker.local (124-18-70-98.dz.commufa.jp [124.18.70.98]) (authenticated bits=0) by dec.sakura.ne.jp (8.15.2/8.15.2/[SAKURA-WEB]/20080708) with ESMTPA id w0QDSEum077296; Fri, 26 Jan 2018 22:28:14 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Fri, 26 Jan 2018 22:28:13 +0900 From: Tomoaki AOKI To: freebsd-current@freebsd.org Cc: sgk@troutmask.apl.washington.edu Subject: Re: kldxref: ...: Bad address. Message-Id: <20180126222813.a7f446eb253e8b4fc14c3b81@dec.sakura.ne.jp> In-Reply-To: <20180126010411.GA59487@troutmask.apl.washington.edu> References: <20180126010411.GA59487@troutmask.apl.washington.edu> Organization: Junchoon corps X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd11.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2018 14:17:55 -0000 Hi. Try `make install` in /usr/src/usr.sbin/kldxref BEFORE `make installkernel`. (Backup kldxref for safety.) I had kldxref problem a while ago and it helped. Possibly running /usr/obj/usr/src/usr.sbin/kldxref/(amd64.amd64/)kldxref /boot/kernel after installkernel can do the last job correctly. *Maybe old (currently installed) kldxref was used and it cannot handle new kernel and modules. *Some point AFTER r328071 broke installkernel but not bi-sected. Last non-style update for kldxref was r328052 ATM, but I've built world at r328071 with -DNO_CLEAN at the rev, so not shure kldxref was on the safe state. The finally-successful build was at r328163, with kldxref installed before installkernel. If it also helps for you, kldxref should be considered as toolchain (kernel-toolchain?) and forcibly used for installkernel. *If (kernel-)toolchains are used for build* only, new target would be needed. On Thu, 25 Jan 2018 17:04:11 -0800 Steve Kargl wrote: > This can't be good. > > make buildworld > make buildkernel > make installkernel > ... > ===> zlib (install) > install -T release -o root -g wheel -m 555 zlib.ko /boot/kernel/ > install -T debug -o root -g wheel -m 555 zlib.ko.debug /usr/lib/debug/boot/kernel/ > kldxref /boot/kernel > kldxref: error while reading /boot/kernel/accf_data.ko: Bad address > kldxref: error while reading /boot/kernel/amr_linux.ko: Bad address > kldxref: error while reading /boot/kernel/chacha20.ko: Bad address > kldxref: error while reading /boot/kernel/cxgb_t3fw.ko: Bad address > kldxref: error while reading /boot/kernel/if_cc.ko: Bad address > kldxref: error while reading /boot/kernel/if_ccv.ko: Bad address > kldxref: error while reading /boot/kernel/if_cxl.ko: Bad address > kldxref: error while reading /boot/kernel/if_cxlv.ko: Bad address > kldxref: error while reading /boot/kernel/ipmi_linux.ko: Bad address > kldxref: error while reading /boot/kernel/nfslock.ko: Bad address > kldxref: error while reading /boot/kernel/nfssvc.ko: Bad address > kldxref: error while reading /boot/kernel/ng_nat.ko: Bad address > kldxref: error while reading /boot/kernel/pflog.ko: Bad address > kldxref: error while reading /boot/kernel/plip.ko: Bad address > kldxref: error while reading /boot/kernel/pty.ko: Bad address > kldxref: error while reading /boot/kernel/rc4.ko: Bad address > kldxref: error while reading /boot/kernel/rdrand_rng.ko: Bad address > kldxref: error while reading /boot/kernel/udf_iconv.ko: Bad address > > -- > Steve > 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4 > 20161221 https://www.youtube.com/watch?v=IbCHE-hONow > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Tomoaki AOKI