kldxref: ...: Bad address.
Tomoaki AOKI
junchoon at dec.sakura.ne.jp
Fri Jan 26 14:17:55 UTC 2018
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 <sgk at troutmask.apl.washington.edu> 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>
--
Tomoaki AOKI <junchoon at dec.sakura.ne.jp>
More information about the freebsd-current
mailing list