Date: Tue, 8 Dec 2020 13:03:19 -0800 From: Bakul Shah <bakul@iitbombay.org> To: Alban Hertroys <haramrae@gmail.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: KLD zfs.ko: depends on kernel - not available or version mismatch Message-ID: <A7686883-343E-4F4C-B6CE-6F64385B727C@iitbombay.org> In-Reply-To: <2B044A92-500F-4121-85DB-D486865C75B5@gmail.com> References: <42AC7323-5AD6-401D-9A7D-F1D962EE5717@gmail.com> <X8%2BebiETBdNpbRXt@phouka1.phouka.net> <2B044A92-500F-4121-85DB-D486865C75B5@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 8, 2020, at 10:10 AM, Alban Hertroys <haramrae@gmail.com> wrote: > > So I tried again to move to HEAD: > > cd /usr/src > svn up > make buildworld -j12 > make buildkernel -j12 > make installkernel > shutdown -r now > <single user mode> > mount -u / > zpool import -Nf system (my /usr FS) > > KLD zfs.ko: depends on kernel - not available or version mismatch > linker_load_file: /boot/kernel/zfs.ko - unsupported file type > cd /usr/obj/usr/src/amd64.amd64/sys/GENERIC ls -l kernel /boot/kernel/kernel ls -l modules/usr/src/sys/modules/zfs/zfs.ko /boot/kernel/zfs.ko cmp modules/usr/src/sys/modules/zfs/zfs.ko /boot/kernel/zfs.ko The kernel should be *older* than zfs.ko and both instances of zfs.ko should be identical. One other thought is to manually do kldload opensolaris.ko zfs.ko In single user mode before using zpool. I have opensolaris_load="YES" zfs_load="YES" in /boot/loader.conf but you may not want to add those until you know zfs works.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A7686883-343E-4F4C-B6CE-6F64385B727C>