From owner-freebsd-current@freebsd.org Sat Sep 12 12:55:17 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6E41D3D771A; Sat, 12 Sep 2020 12:55:17 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (gromit.grondar.org [IPv6:2a01:348:e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BpXfD5P8Rz3gQr; Sat, 12 Sep 2020 12:55:16 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from [2a02:8011:300b:42:2dd6:257a:24b4:89b1] by gromit.grondar.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kH53b-0000hR-7T; Sat, 12 Sep 2020 13:55:07 +0100 Content-Type: multipart/signed; boundary="Apple-Mail=_437A4B1A-D24C-432D-8916-77DB8E063BEE"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: Problem with zfs.ko: lockstat_enabled symbol From: Mark Murray In-Reply-To: <4140b983-3d61-e1a4-dd7f-90bce61c45cf@metricspace.net> Date: Sat, 12 Sep 2020 13:55:05 +0100 Cc: freebsd-hackers@freebsd.org, freebsd-current Message-Id: References: <4140b983-3d61-e1a4-dd7f-90bce61c45cf@metricspace.net> To: Eric McCorkle X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BpXfD5P8Rz3gQr X-Spamd-Bar: / X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:39326, ipnet:2a01:348::/32, country:GB]; local_wl_from(0.00)[FreeBSD.org] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2020 12:55:17 -0000 --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 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--