From nobody Fri May 28 18:37:14 2021 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8E58AC7DA7B for ; Fri, 28 May 2021 18:37:22 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FsD1t3ZPvz4V0c; Fri, 28 May 2021 18:37:22 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from mail.j.mat.cc (owncloud.cube.mat.cc [IPv6:2a01:678:4:1::228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.mat.cc", Issuer "R3" (verified OK)) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 40B4CEE1A; Fri, 28 May 2021 18:37:22 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from aching.in.mat.cc (unknown [IPv6:2a01:678:42:0:e702:3e94:a946:45ec]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mat@mat.cc) by mail.j.mat.cc (Postfix) with ESMTPSA id F20A9942D80; Fri, 28 May 2021 18:37:16 +0000 (UTC) Date: Fri, 28 May 2021 20:37:14 +0200 From: Mathieu Arnold To: Michael Gmelin Cc: Kurt Jaeger , current@freebsd.org Subject: Re: zpool upgrade and bootcode on 13-RELEASE Message-ID: <20210528183714.7xbmuouxlxxy3n6j@aching.in.mat.cc> References: <20210519153757.4e00e96f@bsd64.grem.de> <20210519193243.3fd82d19@bsd64.grem.de> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kmywjhzvlsiowhzh" Content-Disposition: inline In-Reply-To: <20210519193243.3fd82d19@bsd64.grem.de> X-ThisMailContainsUnwantedMimeParts: N --kmywjhzvlsiowhzh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 19, 2021 at 07:32:43PM +0200, Michael Gmelin wrote: >=20 >=20 > On Wed, 19 May 2021 19:09:06 +0200 > Kurt Jaeger wrote: >=20 > > Hi! > >=20 > > > Does this mean, re-installing the bootcode isn't necessary anymore > > > - or has the warning been removed by accident/as a side effect of > > > merging with OpenZFS? =20 > >=20 > > On the contrary, because of the switch from FreeBSD ZFS to > > OpenZFS, the bootcodes needs to be updated! It's unfortunate > > that no message is displayed 8-( > >=20 >=20 > That's too bad - maybe it would make sense to mention this in the > release errata? >=20 > > The problem is, finding out which bootcode needs to go where etc. >=20 > For the machines in question it was a straightforward legacy layout, so > that was easy enough (they came back up just fine - *phew*). >=20 > Do you think there is any chance to get the warning back in there? > Maybe in a more generic way, like: >=20 > In case you're booting from , please make sure to update > the bootcode according to your partition layout. See `man zfsboot' > for details. >=20 > Fun fact: That man page already exists (I had no idea), but could use > some love - e.g., add the EFI examples you gave. I have had a look at that man page, it gives ten different commands, without saying which you need to use, if they are all needed, or not, or when you actually have to used them. Fun fact is that I absolutely never ever used any of them. All I ever did was run: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1 because `zpool upgrade` told me to. It would probably be great to have that command in that man page. --=20 Mathieu Arnold --kmywjhzvlsiowhzh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEVhwchfRfuV0unqO5KesJApEdfgIFAmCxOFVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU2 MUMxQzg1RjQ1RkI5NUQyRTlFQTNCOTI5RUIwOTAyOTExRDdFMDIACgkQKesJApEd fgLd8A/8CsRXLRnwFYSceOrQBPLIHrhFmGRc3ox96t5/+lnWkBnKVJZGLEOMGzJ8 YNiwHPDI6VLCpyGtsEx8X4qcWOb6Kk4Rh6iEWcIorneDhWUk/gW11vbHN8cvvlgi Gz1WRgyMRHx2i16do0LCzY840HaryOoA4KvRRYNwlWNBZT9LRovMD4SfPYb3oX0Z gsxxFJAkQrvvCqNHEN3nptDd4mA5Kghb/+QoEEaa6iWltfJ5lLiuXqhh1LIxrXrJ CXyp4rOmUZXH0QNwW6jl0bJ0yD6tJ2ng257nfRAskNwWqyUITkKPFwYWFmeFo2O3 KNRyBfa5xRJWsfycAh7ir1WOxnbJ0iAPpMAJNJq6a0ZW39yAzVxJjf2oAKVWNMwq OP9srsJM535RjVnnbg3JYHEFX+XNkePzwpQT9rJBk+bOL2EbQ8LzX9RkKOznUoJ1 2oJ7lfHdRIEPSqtzbUJbJI67aROsMiuf3ssvKgnHso5TXGvqLIxz/2temYkk/Z7L yVRkqyjR1i0IMvZcEmDwuIKyG9z1C8LGfOxdVY/MQ0mYWswT28BhNeSn6iJJ3KsS Mqb9EL9WzdSzJW2OR8oRhFVtyVoij1KRikY3lL6UPjMK7pd1+qybThtqhu49pTYA QXETXip9XPMV2WXtx7uURwZ1o2FEDIbUPJECBkc0y4K+537mlTk= =sSoy -----END PGP SIGNATURE----- --kmywjhzvlsiowhzh--