From nobody Wed Aug 17 11:48:33 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 4M75rd2jnkz4ZF00 for ; Wed, 17 Aug 2022 11:48:49 +0000 (UTC) (envelope-from vidwer@gmail.com) Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M75rc09h8z43jk; Wed, 17 Aug 2022 11:48:48 +0000 (UTC) (envelope-from vidwer@gmail.com) Received: by mail-ej1-x62d.google.com with SMTP id i14so24040172ejg.6; Wed, 17 Aug 2022 04:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=ygCEEux3h0ftIRNZ1gBceiCAhkUXg39LsquGLmJy/FM=; b=ABEUe+Id8ZvglR4T4tRXv482ye4RwUjjU03vzupADNBa8SmJc8KSyNU2EmYbayefw+ j6soIQPkrj3PQFUtQTD2Pw+Gm8uc0Xduc4CDLKuPwxpQgzBKSiBWf3+0Bfc2Tb144dnM NacUk2pQ0uteqbhNsRCyBrkBoR4qQoe4jPLxy6q05gHTO2kCCdBbgLBM4O/3wL2K5P+a Ij3rOeyDJ49HPev6FJ/F7UuIjT9LJH260Y2UsjwGH1le47VdjTNa3FfphQzYq+9bW6O1 Vw2BfTkXSmhZu7GDvTTEmIPnJjck5v9TsgjZzP6DBfR5WX1MKu2fyLL6GyJsaw/c7Y75 +stg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=ygCEEux3h0ftIRNZ1gBceiCAhkUXg39LsquGLmJy/FM=; b=NFerele4XMyAbT/ioxmYs5tIkZ3Ii6dRB6kqoyeq3HGSEdGginoQCrCPYQpFSU+SDc D0hPxR9ZhdIk/aYQDQ20Y/Hko8X1dFaNEApaVn6dpWvsIRCgEJEfLHJS3iioBQrmfIN1 z+7gP4jzJpVcxnsamMh+DtOYaTKl+QPwCksfsIE3stJuqetDHAaY2lDnXmPsQoAhnAAO c3eH2SrAmdfX6pp8dij8FMoqe+lu/+HrgEtAWtyAvU8dfW2FSuiXk5ehdQUaZUtoZBEA 8aOvE4LoCZeYwYfbiZwLKpVZY+P1SyJT7gKsXV1ja+NPzeqUdpURW1b5/h5ExWC5dd1Z dlpQ== X-Gm-Message-State: ACgBeo0g9Aw873feYHcq6PK4JbHtpqFxYCdaRB/Deu06slqJwKC3h4Vs iJb8fmbBGQBxvFiNHL49dDGoUrNFlXTGMET0HuD1rY2PQ/Teug== X-Google-Smtp-Source: AA6agR4otYhQWKUjwBQGHwCgugrsnbdG9bHpUH8yfl+nwA98rkUH6J8N5NPNo4/Oo02nynG9TCFPjAkoMZfSbXu4m/Y= X-Received: by 2002:a17:906:6a0f:b0:730:df34:6ec4 with SMTP id qw15-20020a1709066a0f00b00730df346ec4mr17155533ejc.659.1660736927049; Wed, 17 Aug 2022 04:48:47 -0700 (PDT) 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 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> In-Reply-To: <20220817075532.56e144f2857ed45b298a6b1c@dec.sakura.ne.jp> From: Idwer Vollering Date: Wed, 17 Aug 2022 13:48:33 +0200 Message-ID: Subject: Re: Updating EFI boot loader results in boot hangup To: Tomoaki AOKI Cc: Warner Losh , Yasuhiro Kimura , FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4M75rc09h8z43jk X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=ABEUe+Id; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vidwer@gmail.com designates 2a00:1450:4864:20::62d as permitted sender) smtp.mailfrom=vidwer@gmail.com X-Spamd-Result: default: False [-3.76 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.97)[-0.974]; NEURAL_HAM_MEDIUM(-0.79)[-0.790]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62d:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_THREE(0.00)[4]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N $ sudo camcontrol devlist at scbus0 target 0 lun 0 (pass0,ada0) at scbus1 target 0 lun 0 (pass1,ada1) $ gpart show ada0 ada1 => 40 1953525088 ada0 GPT (932G) 40 1024 1 freebsd-boot (512K) 1064 984 - free - (492K) 2048 4194304 2 freebsd-swap (2.0G) 4196352 1949327360 3 freebsd-zfs (930G) 1953523712 1416 - free - (708K) => 40 1953525088 ada1 GPT (932G) 40 1024 1 freebsd-boot (512K) 1064 984 - free - (492K) 2048 4194304 2 freebsd-swap (2.0G) 4196352 1949327360 3 freebsd-zfs (930G) 1953523712 1416 - free - (708K) Op wo 17 aug. 2022 om 00:56 schreef Tomoaki AOKI : > > 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 >