From owner-freebsd-current@freebsd.org Sat Aug 22 23:39:50 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 EF5653A88DE for ; Sat, 22 Aug 2020 23:39:50 +0000 (UTC) (envelope-from freebsd-current@lordsith.net) Received: from outbound.soverin.net (outbound.soverin.net [116.202.65.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 4BYvxd6l8Pz3yQ5 for ; Sat, 22 Aug 2020 23:39:49 +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 0122F60293 for ; Sat, 22 Aug 2020 23:39:48 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [116.202.65.211]) by soverin.net Date: Sat, 22 Aug 2020 23:39:45 +0000 From: marco To: freebsd-current@freebsd.org Subject: Re: 13-CURRENT won't boot after switch to sysutils/openzfs Message-ID: <20200822233945.GA2522@freedom.nl> Reply-To: marco Mail-Followup-To: marco , freebsd-current@freebsd.org References: <20200822114934.GB40844@lordsith.net> <20200822162743.GA64297@freedom.nl> <20200822164848.GA71156@freedom.nl> <20200822221014.GA1744@freedom.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: <20200822221014.GA1744@freedom.nl> 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: 11:22PM up 34 mins, 1 user, load averages: 0.19, 0.17, 0.18 X-Rspamd-Queue-Id: 4BYvxd6l8Pz3yQ5 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.40 / 15.00]; HAS_REPLYTO(0.00)[freebsd-current@lordsith.net]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[116.202.65.215:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:116.202.65.208/28]; 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.90)[-0.896]; 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:116.202.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_IN_DNSWL_LOW(-0.10)[116.202.65.215:from] 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 23:39:51 -0000 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 22, 2020 at 10:10:14PM +0000, you (marco) sent the following to= [freebsd-current] : > On Sat, Aug 22, 2020 at 04:48:48PM +0000, you (marco) sent the following = to [freebsd-current] : > > On Sat, Aug 22, 2020 at 12:31:24PM -0400, you (Ryan Moeller) sent the f= ollowing to [freebsd-current] : > > > > > So besides not being able to boot= from the openzfs 2020080800 package install, I can't figure out why I can'= t upgrade the openzfs pkg to 2020081800 (which is the latest one in ports s= o I presume a package also exists of that same version) > >=20 > > If that won't work either I'll see if I can build sysutils/openzfs from= ports but I'd rather not mix packages and ports. >=20 > building and installing the GENERIC kernel did not do anything. > I can confirm BE r364030-OpenZFS booted with GENERIC but I got dropped > into the mountroot prompt again. > Before I got there I saw: >=20 > Trying to mount root from zfs:zroot/ROOT/r364030-OpenZFS failed with > error 2: unknown file system. >=20 > Guess I'll try to install sysutils/openzfs from ports next. Not happy with having to install the port but that worked. I removed openzfs and openzfs-kmod via pkg remove. Then did a 'make install clean' from sysutils/openzfs (2020081800) with r3= 64030 BE active. Once I confirmed the port installed a newer /boot/modules/openzfs.ko I destroyed r364030-OpenZFS and created it again so it would be in sync with r364030 and it would have the latest openzfs.ko. When I imported my backup pool (single drive, 1 vdev) /etc/zfs/zpool.cache was automatically created. So now I have 2 zpool cache files [~] ls -l /boot/zfs/zpool.cache /etc/zfs/zpool.cache -rw-r--r-- 1 root wheel 1456 Aug 22 22:04 /boot/zfs/zpool.cache -rw-r--r-- 1 root wheel 3088 Aug 22 22:54 /etc/zfs/zpool.cache [~] zpool get cachefile zroot backup NAME PROPERTY VALUE SOURCE backup cachefile - default zroot cachefile - default So the port does work even with running the GENERIC-NODEBUG kernel. Is it even possible to build a port only into a new BE and not the current one given how /usr is not mounted? Now I had to polute the active BE which could get me into trouble. I was hoping using BEs I could experiment by installing a port straight int= o the mounted BE. If that is possible I wouldn't mind getting some pointers on how to make th= at work. --=20 Marco van Lienen -- FreeBSD enthusiast https://keybase.io/scarcry , GnuPG id: 8580E6CB "The Tuck Pendleton machine...zero defects." --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EAREKAB0WIQSgJdiqrBvS/DgNT8GOoAuohYDmywUCX0GsvgAKCRCOoAuohYDm y4WzAJwOCdiSWEDgywQ3OJo1YxWUN6CzLQCfTHqubd2hDoemyyEBh92swhKoZRM= =KpED -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8--