From nobody Wed Aug 17 00:19:52 2022 X-Original-To: freebsd-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 4M6pYm6mcMz4ZrLM for ; Wed, 17 Aug 2022 00:19:56 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from mailtransmit05.runbox.com (mailtransmit05.runbox.com [IPv6:2a0c:5a00:149::26]) (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) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4M6pYm0d2nz43jj for ; Wed, 17 Aug 2022 00:19:56 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1oO6mn-00DjxX-5y; Wed, 17 Aug 2022 02:19:53 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iherebuywisely.com; s=selector2; h=Message-Id:In-Reply-To:Date:Subject:CC: To:From:MIME-Version:Content-Transfer-Encoding:Content-Type; bh=SURiXmbA5zZxoFArnoT3pQRj//V4JKa3Dq0zCYcWrpA=; b=VBFsSZP1U3cSL61mLxG3sqNH5r hs7Jl/r3aVdq8AGou0oauPN41ccHpqY2GwtkODjDM+E5zXQmRE/z7z1zlkFQvllvhLw/LC6Kelr0u RrOQIbc7CuvWQKbanNbv7OUuI4pS4yAsZNmBkQUjjUbiNIafv1uJtaxmQhTdOlwPltNgNsoWH8rf8 wt2g73uZ7lenaaHJgE2NZfksZLlj0F0v8Xh68ggSf9UUo5y2DWfbDa39CnRrWio+QYHgOzanD+BkP mA11iCCb1FiDXQQA0cJ1HuwqY+xMa85vZixlSiJs4M2ecwVaxlrYSI9VYcz1wQi5blpnLTrjRHw2S RLYRhyqQ==; Received: from [10.9.9.128] (helo=rmmprod06.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1oO6mm-0007dP-3P; Wed, 17 Aug 2022 02:19:52 +0200 Received: from mail by rmmprod06.runbox with local (Exim 4.86_2) (envelope-from ) id 1oO6mm-0000HZ-2P; Wed, 17 Aug 2022 02:19:52 +0200 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 Received: from [Authenticated alias (650894)] by runbox.com with http (RMM6); Wed, 17 Aug 2022 00:19:52 GMT From: "Jeffrey Bouquet" To: "Tomoaki AOKI" CC: "Warner Losh" , "Yasuhiro Kimura" , "FreeBSD Current" Subject: Re: Updating EFI boot loader results in boot hangup Date: Tue, 16 Aug 2022 17:19:52 -0700 (PDT) X-RMM-Aliasid: 650894 X-Mailer: RMM6 In-Reply-To: <20220817075532.56e144f2857ed45b298a6b1c@dec.sakura.ne.jp> Message-Id: X-Rspamd-Queue-Id: 4M6pYm0d2nz43jj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=iherebuywisely.com header.s=selector2 header.b=VBFsSZP1; dmarc=none; spf=pass (mx1.freebsd.org: domain of jbtakk@iherebuywisely.com designates 2a0c:5a00:149::26 as permitted sender) smtp.mailfrom=jbtakk@iherebuywisely.com X-Spamd-Result: default: False [-3.38 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.98)[-0.977]; R_SPF_ALLOW(-0.20)[+ip6:2a0c:5a00:149::26]; RCVD_IN_DNSWL_LOW(-0.10)[2a0c:5a00:149::26:from]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_PERMFAIL(0.00)[iherebuywisely.com:s=selector2]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[iherebuywisely.com:~]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:50304, ipnet:2a0c:5a00::/29, country:NO]; RCVD_COUNT_FIVE(0.00)[5]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[iherebuywisely.com]; RCPT_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, 17 Aug 2022 07:55:32 +0900, Tomoaki AOKI wrote: > On Mon, 15 Aug 2022 21:35:52 -0600 > Warner Losh wrote: >=20 > > On Mon, Aug 15, 2022, 9:04 PM Yasuhiro Kimura wrote: > >=20 > > > From: Yasuhiro Kimura > > > Subject: Re: Updating EFI boot loader results in boot hangup > > > Date: Sun, 14 Aug 2022 06:34:40 +0900 (JST) > > > > > > > From: Yasuhiro Kimura > > > > Subject: Updating EFI boot loader results in boot hangup > > > > Date: Sat, 13 Aug 2022 01:54:26 +0900 (JST) > > > > > > > >> I made regular update of my 14-CURRENT amd64 system from > > > >> main-n257134-a69c0964625 to main-n257316-9d16275c65b. I also updat= ed > > > >> EFI boot loader (/boot/efi/efi/freebsd/loader.efi) but it results = in > > > >> boot hangup as following. > > > >> > > > >> > > > https://people.freebsd.org/~yasu/FreeBSD-14-CURRENT-amd64-20220813-bo= ot-hangup.png > > > >> > > > >> If I restore previous loader file (that is, loader.efi of > > > >> main-n257134-a69c0964625 and kernel of main-n257316-9d16275c65b), = then > > > >> system boots successfully. > > > > > > > > I submitted the problem to FreeBSD Bugzilla. > > > > > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265825 > > > > > > > > Best Regards. > > > > > > d98de744050 is committed. So I tested it with following steps. > > > > > > 1. Check out the commit. > > > 2. cd /usr/src/stand > > > 3. make > > > 4. make install > > > 5. install -m 755 -p /boot/loader.efi /boot/efi/efi/freebsd > > > 6. shutdown -r now > > > > > > And system boots successfully. But while efi loader is workding a lot > > > of messages are displayed as following. > > > > > > > > > https://people.freebsd.org/~yasu/FreeBSD-14-CURRENT-amd64.20220816.ef= i-loader-message.png > >=20 > >=20 > > Would you be able to share camcontrol devlist output? Privately if need= be. > > And have any of these disks ever held ufs filesystems?? > >=20 > > Warner > >=20 > >=20 > > > --- > > > Yasuhiro Kimura >=20 > Just a "me too" info. I have (usually not mounted for test) UFS on ada0. > (Now the UFS contains outdated [SVN era] root partition of main.) >=20 > % camcontrol devlist > at scbus0 target 0 lun 0 (pass0,ada0) > at scbus1 target 0 lun 0 (ses0,pass1) > at scbus2 target 0 lun 1 > (pass2,nda0) >=20 > % gpart show nda0 > =3D> 40 3907029088 nda0 GPT (1.8T) > 40 2008 - free - (1.0M) > 2048 1126400 1 efi (550M) > 1128448 2048 2 freebsd-boot (1.0M) > 1130496 3770679296 3 freebsd-zfs (1.8T) > 3771809792 135219200 4 freebsd-swap (64G) > 3907028992 136 - free - (68K) >=20 >=20 > % gpart show ada0 > =3D> 40 3907029088 ada0 GPT (1.8T) > 40 2008 - free - (1.0M) > 2048 1126400 1 efi (550M) > 1128448 2048 2 freebsd-boot (1.0M) > 1130496 3749707776 3 freebsd-zfs (1.7T) > 3750838272 20971520 4 freebsd-ufs (10G) > 3771809792 135219200 5 freebsd-swap (64G) > 3907028992 136 - free - (68K) >=20 >=20 > --=20 > Tomoaki AOKI Not following the thread closely, but should the CLI above be put in UPDATI= NG for those, for example, upgrading in-place from v13 to v14, with an explanation of why or what for?= =20=