Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 2020 13:55:05 +0100
From:      Mark Murray <markm@FreeBSD.org>
To:        Eric McCorkle <eric@metricspace.net>
Cc:        freebsd-hackers@freebsd.org, freebsd-current <freebsd-current@FreeBSD.org>
Subject:   Re: Problem with zfs.ko: lockstat_enabled symbol
Message-ID:  <C0FB67C6-0712-4285-806C-C51B614F96B5@FreeBSD.org>
In-Reply-To: <4140b983-3d61-e1a4-dd7f-90bce61c45cf@metricspace.net>
References:  <4140b983-3d61-e1a4-dd7f-90bce61c45cf@metricspace.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_437A4B1A-D24C-432D-8916-77DB8E063BEE
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On 12 Sep 2020, at 12:18, Eric McCorkle <eric@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
--


--Apple-Mail=_437A4B1A-D24C-432D-8916-77DB8E063BEE
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2
Comment: GPGTools - http://gpgtools.org

iQEzBAEBCgAdFiEEyzPHvybPbOpU9MCxQlsJDh9CUqAFAl9cxSkACgkQQlsJDh9C
UqBWtggAq/ANx0rzt1myKHGT9lyDtoosa/P33BsbtN4IioKUIJjx7BUzuHQ6f9Ny
vc1fpFW2TeUFG2E9C41iux8aYpzQ67itlf8B7jgglzkNJu25bmjeMUXZj2ldUC/P
fjt75/GN9EJiL3HODKNyugDq9/utGf5nV7dGUN3YhzdOzA30ZD0G5WFSOWvhtgra
Gzk0C2uBPi4HEkzKld8r8O8RD5LrCKKR93fu2Pl5vANFcBSbZyrVDcXPsYEjWzuk
PmUmRnSk/h6z0I6ukSHELj+d/GIZZ686s15kQanQjHDITxJEDVfApey7kWGLaTJC
uDyfB7E9yoanBzQGPJGZRP/J9mCo3g==
=epPY
-----END PGP SIGNATURE-----

--Apple-Mail=_437A4B1A-D24C-432D-8916-77DB8E063BEE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C0FB67C6-0712-4285-806C-C51B614F96B5>