From nobody Mon Feb 14 22:16:06 2022 X-Original-To: freebsd-stable@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 E27C219C092C for ; Mon, 14 Feb 2022 22:16:19 +0000 (UTC) (envelope-from ps.ports@smyrak.com) Received: from ipv6.s149.cyber-folks.pl (ipv6.s149.cyber-folks.pl [IPv6:2a02:1778:113::68:149]) (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 4JyJTZ2KfZz4txK for ; Mon, 14 Feb 2022 22:16:18 +0000 (UTC) (envelope-from ps.ports@smyrak.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smyrak.com; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=VwuKkKlnLL9keM+xEr4VPp7+Ue6KwhZgxS4nlP2vQ/4=; b=qqB7JcUdbP8L1EYGtgDKx6k6CZ XoQT0XrGkGafO7VwUFKyhPY9V3Z6uUKouty4Z79ROo1JEIya1scr7sJdSggR6QxKYfqltfVVsK85U +KBzUF1ygNQDNw9Vx8QuN1Wd5uQA8onVgeiwGzQqsXyKJqmkRouhMMV+H9gMw9P12w5fYN3uwuFQ/ 1A8Y+UebJctfpkF7EphBXLmbEdSjtYyt3G/NPvc2uxNC449+5N+j8XgIHIwVGWEBbhzoHiUT0I0N4 3uuiyWTWubfdgv+0P8eMuGlqRJac49lU5oAoTh05z859tA3d62s4C63uGTKcMcAJjFPRQ4ili3FHi yDsvMoog==; Received: from 93-181-165-201.internetia.net.pl ([93.181.165.201] helo=daleth.home) by s149.cyber-folks.pl with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nJjh3-001hdb-0W for freebsd-stable@freebsd.org; Mon, 14 Feb 2022 23:16:17 +0100 Date: Mon, 14 Feb 2022 23:16:06 +0100 From: Piotr Smyrak To: freebsd-stable@freebsd.org Subject: Re: No loader.lua boot error after upgrade to 13-STABLE Message-ID: <20220214231606.1365a52d@daleth.home> In-Reply-To: <20220209171659.5625c8cf@daleth.home> References: <20220209171659.5625c8cf@daleth.home> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Authenticated-Id: piero@smyrak.com X-Rspamd-Queue-Id: 4JyJTZ2KfZz4txK X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=smyrak.com header.s=x header.b=qqB7JcUd; dmarc=pass (policy=none) header.from=smyrak.com; spf=pass (mx1.freebsd.org: domain of ps.ports@smyrak.com designates 2a02:1778:113::68:149 as permitted sender) smtp.mailfrom=ps.ports@smyrak.com X-Spamd-Result: default: False [-3.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a02:1778:113::/48]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[smyrak.com:~]; DMARC_POLICY_ALLOW(-0.50)[smyrak.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_PERMFAIL(0.00)[smyrak.com:s=x]; MLMMJ_DEST(0.00)[freebsd-stable]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:41079, ipnet:2a02:1778::/32, country:PL]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, 9 Feb 2022 17:16:59 +0100 Piotr Smyrak wrote: > After source upgrading my Thinkpad to 13.0-STABLE at c3915f848b56 it > ends up booting with an error: >=20 > ERROR: cannot open /boot/lua/loader.lua: no such file or directory >=20 > Yet the same source build runs flawlessly on my desktop with full > disk ZFS setup, the laptop is UFS based though. I have read a bunch of > tickets at bugzilla, including: 233098, 238749, 251250 =E2=80=93 and have= not > found a solution. Perhaps to help others that mind end up in this state, here is how one might restore a working state. During the installworld the /boot directory will conveniently get backed up copies of older loaders similarly to the way old kernel is shifted.=20 Removing /boot/loader, and copying /boot/loader_lua.old to /boot/loader_lua got me a working machine.=20 This older laptop has got no option to change BIOS options, as you might get suggested elsewhere. HTH, --=20 Piotr Smyrak