From owner-freebsd-current@freebsd.org Mon May 25 08:51:09 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 300722F8A70 for ; Mon, 25 May 2020 08:51:09 +0000 (UTC) (envelope-from marco+freebsd-current@lordsith.net) Received: from lb3-smtp-cloud8.xs4all.net (lb3-smtp-cloud8.xs4all.net [194.109.24.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.xs4all.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49VrRJ2bKdz4c9x for ; Mon, 25 May 2020 08:51:07 +0000 (UTC) (envelope-from marco+freebsd-current@lordsith.net) Received: from lordsith.net ([IPv6:2001:980:93d7:1:30df:f5ff:fee9:10df]) by smtp-cloud8.xs4all.net with ESMTP id d8p5j75KrdPgTd8p8jYjiw; Mon, 25 May 2020 10:51:06 +0200 Date: Mon, 25 May 2020 08:51:03 +0000 From: marco To: freebsd-current Subject: ZFS BE not booting Message-ID: <20200525085103.GA51695@lordsith.net> Reply-To: marco Mail-Followup-To: marco , freebsd-current MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline Organization: lordsith.net X-Operating-System: SunOS 5.11 joyent_20200212T230824Z X-Unix: Use Unix or die X-GPG-Fingerprint: A025 D8AA AC1B D2FC 380D 4FC1 8EA0 0BA8 8580 E6CB X-GPG-Key: https://lordsith.net/marco.gpg X-Uptime: 07:23am up 81 days 17:53, 1 user, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.22 (2013-10-16) X-CMAE-Envelope: MS4wfKli5xFU88j6tSUD4zVkYPFKUIiEkdtabiONcJM3AX2hL/p2ppDG4AO2tXk3tEDKs9HcUa66YtrN0Zbx79t1ynQaurgMJYmsryVIGCWxnYytTVtUyKLh nSxGQqFFoK1hrps37VF8X5rXiXJdlSULEtlTKAD/R5k33+Nb2r8qD26Jwm+iZx1wBDxRuh2OQMP2z8bm+Hk/4af4yDH8hav8LAn8l1y9U5hQWG3qmY3wlpAp f545+BOJYBV7NtfRHumcJQ== X-Rspamd-Queue-Id: 49VrRJ2bKdz4c9x X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 194.109.24.29 is neither permitted nor denied by domain of marco@lordsith.net) smtp.mailfrom=marco@lordsith.net X-Spamd-Result: default: False [-0.30 / 15.00]; HAS_REPLYTO(0.00)[marco+freebsd-current@lordsith.net]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[194.109.24.29:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.50)[-0.501]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[lordsith.net]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[194.109.24.29:from]; TO_DN_ALL(0.00)[]; NEURAL_SPAM_MEDIUM(0.43)[0.433]; NEURAL_SPAM_SHORT(0.07)[0.071]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; TAGGED_FROM(0.00)[freebsd-current]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 25 May 2020 08:51:09 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable returning FreeBSD user here, using bectl for the 1st time on a thinkpad x23= 0 with 16GB of RAM. bectl list -aDs BE/Dataset/Snapshot Active Mountpoint Space Created r359556 zroot/ROOT/r359556 NR / 12.2G 2020-0= 4-03 20:05 r359556@2020-05-22-22:20:00-0 - - 61.1M 2020-0= 5-22 22:20 r360723 zroot/ROOT/r360723 - - 6.25G 2020-0= 5-22 22:20 zroot/ROOT/r359556@2020-05-22-22:20:00-0 - - 61.1M 2020-0= 5-22 22:20 I created r360723 using bectl whilst being on r359556 and am still using ba= se ZFS. I'm running GENERIC-NODEBUG on this thinkpad x230. [~] uname -v FreeBSD 13.0-CURRENT #2 r359556: Mon Apr 13 13:35:31 UTC 2020 root@harb= inger:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG I activate and boot into the newly created BE, run svn up -r 360723 from /u= sr/src and doing the upgrade steps (same steps were used in previous upgrad= es leading to r359556 without the use of BEs). make -DMALLOC_PRODUCTION -j4 buildworld make -DMALLOC_PRODUCTION -j4 buildkernel KERNCONF=3DGENERIC-NODEBUG make -DMALLOC_PRODUCTION -j4 installkernel KERNCONF=3DGENERIC-NODEBUG Then I reboot but the boot process drops me into the debugger (unfort. I do= n't have the capture of the reason). I've tried upgrading to both r360723 and r361307 (I pick those revisions fr= om the released snapshots, no other reason) but both produce the same resul= t. Loading kernel.old from the r360723 BE works fine. Is there something I'm perhaps missing regarding loader.conf and/or rc.conf= ? It could just be these 2 specific revisions and will try another revision b= ut perhaps I need to do something setting the zfs bootcode again using gpar= t ? cheers --=20 Marco van Lienen -- Unix SysAdmin -- https://lordsith.net/ https://keybase.io/scarcry , GnuPG id: 8580E6CB "The Tuck Pendleton machine...zero defects." --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEAREKAAYFAl7LhvcACgkQjqALqIWA5suluQCcCUys6haQmn1fLrpIzwGnuotP u8QAoK0fXzFuswoLyahvfm8WK2ldWaw5 =svxQ -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--