On Feb 20, 2024, at 20:37, Warner Losh <i...@bsdimp.com> wrote: >> On Tue, Feb 20, 2024, 9:26 PM Mark Millard <mark...@yahoo.com> wrote: >> devd's devmatch has issues. Here the example is aarch64 (for >> which pkgbase has /boot/dtb/ split out and, so, allows >> multiple kernels to be installed at once). >> >> # grep '^kern.*="kernel' /boot/loader.conf >> kernel="kernel.GENERIC-NODEBUG" >> kern.module_path="kernel.GENERIC-NODEBUG" >> >> # uname -apKU >> FreeBSD aarch64-main-pkgs 15.0-CURRENT FreeBSD 15.0-CURRENT >> main-n268410-445d3d227e68 GENERIC-NODEBUG arm64 aarch64 1500014 1500014 >> >> # ls -Tlodt /boot/kernel*/*.hints /boot/kernel*/kernel | head >> -rw-r--r-- 1 root wheel - 270704 Feb 21 03:52:25 2024 >> /boot/kernel.GENERIC-MMCCAM/linker.hints >> -rw-r--r-- 1 root wheel - 270732 Feb 21 03:48:56 2024 >> /boot/kernel.GENERIC-DEBUG.good/linker.hints >> -rw-r--r-- 1 root wheel - 270732 Feb 21 03:48:35 2024 >> /boot/kernel/linker.hints >> -rw-r--r-- 1 root wheel - 270732 Feb 21 03:48:21 2024 >> /boot/kernel.GENERIC-NODEBUG.good/linker.hints >> -rw-r--r-- 1 root wheel - 270732 Feb 21 03:48:15 2024 >> /boot/kernel.GENERIC-NODEBUG/linker.hints >> -r--r--r-- 1 root wheel - 17932640 Feb 20 12:40:53 2024 >> /boot/kernel.GENERIC-MMCCAM/kernel >> -r--r--r-- 1 root wheel - 18401344 Feb 20 12:40:53 2024 >> /boot/kernel.GENERIC-NODEBUG/kernel >> -r--r--r-- 1 root wheel - 17934504 Feb 20 12:40:53 2024 /boot/kernel/kernel >> -r--r--r-- 1 root wheel - 17934400 Feb 16 22:44:28 2024 >> /boot/kernel.GENERIC-DEBUG.good/kernel >> -r--r--r-- 1 root wheel - 18405496 Feb 16 22:44:28 2024 >> /boot/kernel.GENERIC-NODEBUG.good/kernel >> >> (I used kldxref on each of the various directories to produce >> the lihniker.hints files.) >> >> But booting after that got: >> >> Mounting local filesystems:. >> devmatch: Can't read linker hints file. >> . . . >> Starting devd. >> devmatch: Can't read linker hints file. >> devmatch: Can't read linker hints file. >> devmatch: Can't read linker hints file. >> > Native or cross built?
Operator error: missing /boot/ in the kern.module_path . FYI: pkgbase, however it is built. > Warner >> . . . >> >> Rebooting based on: >> >> # grep '^kern.*="kernel' /boot/loader.conf >> kernel="kernel" >> kern.module_path="kernel" >> >> also got the Can't read linker notices. >> >> I've seen similar on armv7. >> Also operator error: missing /boot/ in the kern.module_path . Also pkgbase, however it is built. === Mark Millard marklmi at yahoo.com