From owner-freebsd-current@freebsd.org Sat Aug 22 22:10:22 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 40B4B3C6A76 for ; Sat, 22 Aug 2020 22:10:22 +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 4BYsyP0MBtz3d0R for ; Sat, 22 Aug 2020 22:10:20 +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 1D06260274 for ; Sat, 22 Aug 2020 22:10:18 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [116.202.65.211]) by soverin.net Date: Sat, 22 Aug 2020 22:10:14 +0000 From: marco To: freebsd-current@freebsd.org Subject: Re: 13-CURRENT won't boot after switch to sysutils/openzfs Message-ID: <20200822221014.GA1744@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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <20200822164848.GA71156@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: 10:06PM up 2 mins, 1 user, load averages: 0.12, 0.05, 0.01 X-Rspamd-Queue-Id: 4BYsyP0MBtz3d0R X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.90 / 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_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[lordsith.net]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.50)[-0.504]; RCPT_COUNT_TWO(0.00)[2]; 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 22:10:22 -0000 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 fol= lowing to [freebsd-current] : > > > > > So besides not being able to boot f= rom 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 so = I presume a package also exists of that same version) > >=20 > >=20 > > Ok the pkg repo may not be updated with the new version yet, the latest= =20 > > I see is still 08. I think the problem though is you aren't using the= =20 > > GENERIC kernel, so the module from the pkg repo is failing to load at= =20 > > boot. You should build the module from ports instead, or use the GENERI= C=20 > > kernel. Let me know if that works for you! >=20 > Okay, currently running a buildkernel which I'll install into > r364030-OpenZFS. > I'm running GENERIC-NODEBUG to see if I can squeeze a bit more > performnce out of this ThinkPad X230 > But I'll build and install GENERIC into the new BE to see if that'll make= a difference. >=20 > These will be my steps: >=20 > cd /usr/src (currently at r364030) > make -DMALLOC_PRODUCTION -j4 buildkernel > bectl mount r364030-OpenZFS /mnt > set openzfs_load=3D"YES" in /mnt/boot/loader.conf and comment out zfs_loa= d for Base ZFS > make -DMALLOC_PRODUCTION -j4 installkernel DESTDIR=3D/mnt > mergemaster -Fp -D /mnt /* don't think is needed since I haven't buildwor= ld from updated sources beyond r364030 > mergemaster -Fi -D /mnt /* don't think is needed since I haven't buildwor= ld from updated sources beyond r364030 > make -DBATCH_DELETE_OLD_FILES delete-old DESTDIR=3D/mnt > bectl umount r364030-OpenZFS > bectl activate r364030-OpenZFS > shutdown -r now >=20 > If that won't work either I'll see if I can build sysutils/openzfs from p= orts but I'd rather not mix packages and ports. 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: Trying to mount root from zfs:zroot/ROOT/r364030-OpenZFS failed with error 2: unknown file system. Guess I'll try to install sysutils/openzfs from ports next. --=20 Marco van Lienen -- FreeBSD enthusiast https://keybase.io/scarcry , GnuPG id: 8580E6CB "The Tuck Pendleton machine...zero defects." --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EAREKAB0WIQSgJdiqrBvS/DgNT8GOoAuohYDmywUCX0GXwwAKCRCOoAuohYDm yzMYAJ9OKQYPM+Yk1+isrdZoDtla/3NzPQCfcLhLbebUHhTaOC5QRVv/31o6Cfw= =om85 -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI--