From nobody Sat Aug 20 02:56:14 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 4M8jtx57bbz4Z0Cx for ; Sat, 20 Aug 2022 02:56:25 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 4M8jtw0q6Tz3Pxw; Sat, 20 Aug 2022 02:56:23 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (123-1-85-147.area1b.commufa.jp [123.1.85.147]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 27K2uFZv048109; Sat, 20 Aug 2022 11:56:16 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Sat, 20 Aug 2022 11:56:14 +0900 From: Tomoaki AOKI To: Warner Losh Cc: Yasuhiro Kimura , FreeBSD Current Subject: Re: Updating EFI boot loader results in boot hangup Message-Id: <20220820115614.e3e7a344e017c8531c3850e7@dec.sakura.ne.jp> In-Reply-To: <20220817075532.56e144f2857ed45b298a6b1c@dec.sakura.ne.jp> References: <20220813.015426.809710797578801280.yasu@FreeBSD.org> <20220814.063440.1883565953618972371.yasu@FreeBSD.org> <20220816.120142.317069615425604393.yasu@FreeBSD.org> <20220817075532.56e144f2857ed45b298a6b1c@dec.sakura.ne.jp> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) 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: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4M8jtw0q6Tz3Pxw X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp X-Spamd-Result: default: False [-1.60 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[sakura.ne.jp]; RCPT_COUNT_THREE(0.00)[3]; HAS_ORG_HEADER(0.00)[]; MID_RHS_MATCH_FROM(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: > > > On Mon, Aug 15, 2022, 9:04 PM Yasuhiro Kimura wrote: > > > > > 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 updated > > > >> 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-boot-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=265825 > > > > > > > > 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.efi-loader-message.png > > > > > > Would you be able to share camcontrol devlist output? Privately if need be. > > And have any of these disks ever held ufs filesystems?? > > > > Warner > > > > > > > --- > > > Yasuhiro Kimura > > 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.) > > % 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) > > % gpart show nda0 > => 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) > > > % gpart show ada0 > => 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) > > > -- > Tomoaki AOKI > Confirmed fixed at commit 6d645da0d49decc0352f27b8b5ff1983c611659d. Thanks! Sorry for the late report. I had been facing another, unrelated problem, fixed at commit 545db925c3d5408e71e21432895770cd49fd2cf3. -- Tomoaki AOKI