From owner-freebsd-current@freebsd.org Sat Aug 22 16:27:48 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 A81703BFDCE for ; Sat, 22 Aug 2020 16:27:48 +0000 (UTC) (envelope-from freebsd-current@lordsith.net) Received: from outbound.soverin.net (outbound.soverin.net [IPv6:2a01:4f8:fff0:2d:8::215]) (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 4BYkM765gwz4pKb for ; Sat, 22 Aug 2020 16:27:47 +0000 (UTC) (envelope-from freebsd-current@lordsith.net) Received: from smtp.freedom.nl (unknown [10.10.3.36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id CB0AE6060F for ; Sat, 22 Aug 2020 16:27:45 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [116.202.65.211]) by soverin.net Date: Sat, 22 Aug 2020 16:27:43 +0000 From: marco To: freebsd-current@freebsd.org Subject: Re: 13-CURRENT won't boot after switch to sysutils/openzfs Message-ID: <20200822162743.GA64297@freedom.nl> Reply-To: marco Mail-Followup-To: marco , freebsd-current@freebsd.org References: <20200822114934.GB40844@lordsith.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: Organization: lordsith.net X-Operating-System: FreeBSD 13.0-CURRENT amd64 X-Unix: Use Unix or die X-GPG-Fingerprint: A025 D8AA AC1B D2FC 380D 4FC1 8EA0 0BA8 8580 E6CB X-Virus-Scanned: clamav-milter 0.102.4 at c03mi01 X-Virus-Status: Clean X-Uptime: 3:48PM up 6 days, 18:56, 1 user, load averages: 0.28, 0.25, 0.33 X-Rspamd-Queue-Id: 4BYkM765gwz4pKb X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.34 / 15.00]; HAS_REPLYTO(0.00)[freebsd-current@lordsith.net]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[lordsith.net]; NEURAL_HAM_SHORT(-0.94)[-0.942]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] 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, 22 Aug 2020 16:27:48 -0000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 22, 2020 at 09:47:49AM -0400, you (Ryan Moeller) sent the follo= wing to [freebsd-current] : >=20 > On 8/22/20 9:29 AM, Ryan Moeller wrote: > >> > >> When switching from base ZFS to sysutils/openzfs 2020080800 the boot= =20 > >> process fails. > > > > The most recent version (2020081800) fixes this. > > > > -Ryan > > > Sorry, pre-coffee. I don't think the issue I had in mind there (OpenZFS= =20 > uses /etc/zfs/zpool.cache instead of /boot/zfs/zpool.cache, we added a=20 > fallback) explains your problem. >=20 > Did you install openzfs from the pkg repo? I installed openzfs from the latest FreeBSD repo (pkg+http://pkg.FreeBSD.org/${ABI}/latest) current BEs [~] bectl list -aDs BE/Dataset/Snapshot Active Mountpoint Space Created r364030 zroot/ROOT/r364030 NR / 15.2G 2020-0= 8-11 08:25 r364030@2020-08-22-15:52:19-0 - - 31.4M 2020-0= 8-22 15:52 r364030-OpenZFS zroot/ROOT/r364030-OpenZFS - /mnt 419M 2020-0= 8-22 15:52 zroot/ROOT/r364030@2020-08-22-15:52:19-0 - - 31.4M 2020-0= 8-22 15:52 Just did a 'pkg update' on my active BE. I don't know what is happening here, can't seem to upgrade openzfs: [~] pkg version | grep openzfs openzfs-2020080800 < openzfs-kmod-2020080800 < So there should be an update for sysutils/openzfs and openzfs-kmod but runn= ing a 'pkg upgrade' doesn't list openzfs for an upgrade. After creating and mounting the new BE I've also tried: [~] d bectl mount r364030-OpenZFS /mnt [~] d pkg -r /mnt update -f [~] d pkg -r /mnt upgrade Openzfs isn't listed for an upgrade. After the pkg upgrade, running pkg version claims : [~] pkg -r /mnt version | grep openzfs openzfs-2020080800 =3D openzfs-kmod-2020080800 =3D [~] d pkg -r /mnt upgrade -f openzfs [~] d pkg -r /mnt upgrade -f openzfs Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): Installed packages to be REINSTALLED: openzfs-2020080800 Number of packages to be reinstalled: 1 2 MiB to be downloaded. Proceed with this action? [y/N]: So besides not being able to boot from the openzfs 2020080800 package insta= ll, I can't figure out why I can't upgrade the openzfs pkg to 2020081800 (w= hich is the latest one in ports so I presume a package also exists of that = same version) --=20 Marco van Lienen -- FreeBSD enthusiast https://keybase.io/scarcry , GnuPG id: 8580E6CB "The Tuck Pendleton machine...zero defects." --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EAREKAB0WIQSgJdiqrBvS/DgNT8GOoAuohYDmywUCX0FHfAAKCRCOoAuohYDm y5e7AJ4zkZNPJxcWq87/zocS39bixPzW5gCgopgVYElymVDqqCywjn1GWzue9MY= =NQ29 -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--