From nobody Sun Jun 19 06:25:20 2022 X-Original-To: freebsd-hackers@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 2836F85F7AD for ; Sun, 19 Jun 2022 06:25:31 +0000 (UTC) (envelope-from agh@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (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 (2048 bits) client-digest SHA256) (Client CN "mx1.riseup.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LQjSn4HGbz4t6J for ; Sun, 19 Jun 2022 06:25:29 +0000 (UTC) (envelope-from agh@riseup.net) Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4LQjSd5w5rzDqDx; Sun, 19 Jun 2022 06:25:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1655619921; bh=6pPanYQdSd/WFExZt1cME3aDg7gklLWhGusw5YvEwro=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pW6C6jxHjbTDvGG600KDoXLPx2k7IVOfpevLS+aQbCP8jRpBXYCDsdWitgalYtaYO zMAvMDlxDTgWTqXAqH1Y/6/S4GDHCSWRQg8IwX3njNusRBLKnxUYkfrgv76/3X8rAH n+A+lj8gw7Jp7OkQJpXLxAJVzxWGssGnP9dPYVTQ= X-Riseup-User-ID: 21D619EB10992FD1A0A7DF1C6BC071BE7ADA9B81A1E7CF737A1037DD5B4176D2 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4LQjSd440Kz1yXB; Sun, 19 Jun 2022 06:25:20 +0000 (UTC) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Date: Sun, 19 Jun 2022 06:25:20 +0000 From: Alastair Hogge To: "David E. Cross" Cc: freebsd-hackers@freebsd.org Subject: Re: Weird loader.efi issue on fresh 13.1 upgrade In-Reply-To: <40d5a14d-0166-ed3b-911e-dedb945eea7e@crossfamilyweb.com> References: <40d5a14d-0166-ed3b-911e-dedb945eea7e@crossfamilyweb.com> Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4LQjSn4HGbz4t6J X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=pW6C6jxH; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of agh@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=agh@riseup.net X-Spamd-Result: default: False [-4.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[riseup.net:dkim]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[riseup.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-hackers]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from] X-ThisMailContainsUnwantedMimeParts: N On 2022-06-19 13:02, David E. Cross wrote: > So I just hit a weird issue with loader.efi on a fresh upgrade from > 13.0 to 13.1.  The system comes up, asks me for my GELI password, > accepts it, displays an error about Boot19 having only one DP, then > iterates through all of the partitions on the disk... and then > displays an error message about not being able to find a boot > partition and displays a reboot counter. > > > If I then interrupt the countdown at this point, get to a loader > prompt and set rootdev and curdev to disk0p3: (the right value, and > actually one of the values that it looped through!) I can then load > /boot/kernel/kernel and boot everything successfully (including having > the root disk unencrypted). > > > This worked before the 13.0 upgrade.  This worked with the 13.1 kernel > running against 13.0 loader.  It only stopped working with 13.1 loader > with 13.1 kernel. > > > Getting an *EXACT* copy of the error messages is a bit of a challenge > given where this is in the boot sequence. > > > I think I am about to start code diving about what makes loader give > up on a partition. Some investigation has already been explored at: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264282