Problem with zfs.ko: lockstat_enabled symbol

Mark Murray markm at FreeBSD.org
Sat Sep 12 12:55:17 UTC 2020


On 12 Sep 2020, at 12:18, Eric McCorkle <eric at metricspace.net> wrote:
> 
> I recently updated my other laptop, and now I'm getting a problem
> loading zfs.ko at boot, relating to the lockstat_enabled symbol not
> being defined (this happens during kernel boot and prevents mounting
> root, so I can't get an exact trace)
> 
> Looking at the new kernel, it seems that only zfs.ko contains the symbol
> lockstat_enabled (notably, kernel does not).  In my old kernel, zfs.ko
> does not contain a reference to that symbol.
> 
> Has anyone else seen this?  Is there a workaround, or was this a one-off
> bug?

I had this, and I fixed it by adding

options	ZFS

... to my kernel config.

I found this in a nearby NOTES file; perhaps it should be in GENERIC?

M
--

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 556 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20200912/35063b36/attachment.sig>


More information about the freebsd-current mailing list