[Bug 266163] Errors in loading openzfs kernel module

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 01 Sep 2022 21:50:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266163

            Bug ID: 266163
           Summary: Errors in loading openzfs kernel module
           Product: Base System
           Version: 13.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: ggulchin@icloud.com

Greetings! 

Trying to recover my OpenZFS pools by installing a fresh FreeBSD 13.1 and
trying to import another pool (storage pool) 

=====
root@fear-2:/usr/src # /usr/local/sbin/zpool import -f storage
This pool uses the following feature(s) not supported by this system:
        com.delphix:head_errlog (Support for per-dataset on-disk error logs.)
        org.openzfs:zilsaxattr (Support for xattr=sa extended attribute logging
in ZIL.)
cannot import 'storage': unsupported version or feature
=====

once trying to load openzfs.ko module, I get 
---
link_elf_obj: symbol __rw_assert undefined
KLD file openzfs.ko - could not finalize loading
---

error. Preventing me from using newer version of openzfs


Some more info:

root@fear-2:/usr/src # uname -a
FreeBSD fear-2 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 GENERIC amd64
root@fear-2:/usr/src #

root@fear-2:/usr/src # zfs --version
zfs-2.1.4-FreeBSD_g52bad4f23
zfs-kmod-2.1.4-FreeBSD_g52bad4f23


root@fear-2:/usr/src # /usr/local/sbin/zfs --version
zfs-2.1.99-1
zfs-kmod-2.1.4-FreeBSD_g52bad4f23

-- 
You are receiving this mail because:
You are the assignee for the bug.