On Dec 8, 2020, at 10:10 AM, Alban Hertroys <haram...@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.
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to