From nobody Mon May 30 14:14:25 2022 X-Original-To: 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 7E4131B56C35 for ; Mon, 30 May 2022 14:14:43 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-ztdg10021801.me.com (pv50p00im-ztdg10021801.me.com [17.58.6.56]) (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 4LBcqQ1J2lz3pkg for ; Mon, 30 May 2022 14:14:42 +0000 (UTC) (envelope-from tsoome@me.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1653920075; bh=lk4US4UPQ1MsfoV7Rxxb1MgS0UDSZpm6aAXZCMyT6dE=; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:To; b=pJ6QzabrBaRPxuvPqi6VhE1xBJtmBkkDDTgyTv3NdzaB+kFT+R/Yc6JU4Prr3aj4X 2dfVzEIinisUuYgvew/QuAbTCIkOrJX44c/XgMlb4DAQnOj5kLRXrptM6WNYi66eO6 6VTkQFmFnC3F0H7rleJFC7Lc4ZwUkxFptHYY7knunJIXam4fthwyeN29h1a2CyO9+r fL3t+ZYFvHWUIAk08YpTENhpmMEKdC2LHw50l6Un9FlhIKCL0UIhp8oLAoG1sLSK5d +pHhzyHcefi4E5rLFY5oiBY8JMgxUb5muUHheINlnSOTpLWn28zkFwpI+T5nwbNbMz CNf3bH7dMcVpw== Received: from smtpclient.apple (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztdg10021801.me.com (Postfix) with ESMTPSA id B12221603F2; Mon, 30 May 2022 14:14:32 +0000 (UTC) From: Toomas Soome Message-Id: <7BEE44CC-4D31-4CBC-BC12-9A327424299C@me.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_81B225C1-3C68-4500-A869-472F404EA478" 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 (Mac OS X Mail 16.0 \(3696.100.31\)) Subject: Re: Loader can't find /boot/ua/loader.lua on UFS after main-n255828-18054d0220c Date: Mon, 30 May 2022 17:14:25 +0300 In-Reply-To: Cc: David Wolfskill , FreeBSD Current To: Warner Losh References: X-Mailer: Apple Mail (2.3696.100.31) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.486,18.0.874 definitions=2022-05-30_05:2022-05-30,2022-05-30 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=983 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2205300075 X-Rspamd-Queue-Id: 4LBcqQ1J2lz3pkg X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=me.com header.s=1a1hai header.b=pJ6Qzabr; dmarc=pass (policy=quarantine) header.from=me.com; spf=pass (mx1.freebsd.org: domain of tsoome@me.com designates 17.58.6.56 as permitted sender) smtp.mailfrom=tsoome@me.com X-Spamd-Result: default: False [-3.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[me.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[me.com:+]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-0.998]; RECEIVED_SPAMHAUS_PBL(0.00)[17.56.9.10:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[me.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; FREEFALL_USER(0.00)[tsoome]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_NONE(0.00)[me.com:dkim]; RCVD_IN_DNSWL_LOW(-0.10)[17.58.6.56:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[current]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_81B225C1-3C68-4500-A869-472F404EA478 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 30. May 2022, at 17:06, Warner Losh wrote: >=20 >=20 >=20 > On Mon, May 30, 2022 at 4:26 AM David Wolfskill > wrote: > On Mon, May 30, 2022 at 08:40:10AM +0300, Toomas Soome wrote: > > ...=20 > > Does loader_4th have same issue? > > .... >=20 > I don't know; I hadn't tried it. I will do so later today & report > back. >=20 > So if it's only one system, and it's only UFS, then what does fsck of = that UFS system tell you? > The loader can't find its UFS filesystem to read the configuration = from. So either its having trouble > finding the device (unlikely since that code hasn't changed in a long = time), or its having heartburn > with the UFS system for some reason it's being silent about (within = the realm of possibilities because > there might be an unknown edge case in Kirks recent UFS integrity = changes). I suspect that the 4th > boot loader will have the same issue, but a different error message. >=20 > Others have reported issues with GELI, but that's not in play here, If = I'm reading this correctly. Right? >=20 > Warner Ye, thats why I was asking about loader_4th. I=E2=80=99m trying to spot = the issue from ufs image sample.=20 rgds, toomas= --Apple-Mail=_81B225C1-3C68-4500-A869-472F404EA478 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On 30. May 2022, at 17:06, Warner Losh <imp@bsdimp.com> = wrote:



On Mon, May 30, 2022 at 4:26 AM David = Wolfskill <david@catwhisker.org> wrote:
On Mon, May 30, 2022 at 08:40:10AM = +0300, Toomas Soome wrote:
> ...
> Does loader_4th have same issue?
> ....

I don't know; I hadn't tried it.  I will do so later today & = report
back.

So if it's only one system, and it's only UFS, then what = does fsck of that UFS system tell you?
The loader = can't find its UFS filesystem to read the configuration from. So either = its having trouble
finding the device (unlikely = since that code hasn't changed in a long time), or its having = heartburn
with the UFS system for some reason it's = being silent about (within the realm of possibilities because
there might be an unknown edge case in Kirks recent  UFS = integrity changes). I suspect that the 4th
boot loader will have the same issue, but a = different error message.

Others have reported issues with GELI, = but that's not in play here, If I'm reading this correctly. = Right?

Warner

Ye, thats why I = was asking about loader_4th. I=E2=80=99m trying to spot the issue from = ufs image sample. 

rgds,
toomas
= --Apple-Mail=_81B225C1-3C68-4500-A869-472F404EA478--