From nobody Mon May 30 14:03:09 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 A396B1B53607 for ; Mon, 30 May 2022 14:03:22 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) (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 4LBcZK023Wz3lK9 for ; Mon, 30 May 2022 14:03:21 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-vs1-xe2d.google.com with SMTP id j7so10894290vsj.7 for ; Mon, 30 May 2022 07:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7jQKCDzT6R817IeRPqkWmRQSqOeMUP/egLmfFy4BWnU=; b=vZkorZz+WZ5by6yoFqiyPAzYDYL+DVzsyHzVAGIllByw1XHGSdVXts5bJSUxOS7K3o 7dZt4MC4x7qF3yE8PfAn0Xu7eJnub0t1P1T1NkDa1t1FxTZLtCS4QvxE4f/zpEEVwzmF BSwMTby6vLawCkhgNyIwv7+r7sS4pZ8VQfWraZCz5zzWb4uB+x+c/gk+igaHSyUCVgbD ZbIyUm41mKV24cdE4cJJWxpbwK0wvCPdVs/yHpq/oNMKpkRFzDhrbY+moMr1yDrsamct iXlUAN3tMME6sK/1kVLA5IkloUIZGsXbJUvEcfH9E35SayeYSlWrqGg6VNAzORA9CL0s 2eVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7jQKCDzT6R817IeRPqkWmRQSqOeMUP/egLmfFy4BWnU=; b=3Pt3ooOJU6Tt6fAywPYiIMD7BYyj/Fw0zy9yMGgUEHfRXqJRnkruEPJjBq1cjx6afc fnS96xMYYeFy74ZKmtoN/He4ejPHxKbtkBVUAcvdnC9O4s8U840pi5iBhNMPHMbU3nyO W0EaGuKeRMrtGiyTBEUSj33WEMxW2NfexJuSz0Ku8GmV2VJ+i2E6mKgQxvAsM/103cYl ksu0flNVeSp7SyONgN8rPXzJFpc7BYAAiiFswqBN50ok9+HNCmGk0u5X+tyzXKPGtWAH vGteFdLchnhYDNPFGktSSWFGVoEOQK0M93aoIluwZLdSyirQj129p4QBcEHwp+f6sw5V iQQg== X-Gm-Message-State: AOAM531ghdabxRHvuSrGSyj112EDJevQdpuyUe+5mhzHjoYmVZlIFspA VoczmCJA+/6vdfsaSEqcggYVdJdE+YSIj6pjrkgtckOeFXE= X-Google-Smtp-Source: ABdhPJwBboSOkRrZIkg3fWDQs0cJuljOS2kbZUoc3meue97AFqKsghrq+Nf1ba6tFPl72MoLUYlUAViBrroKUeWBMtQ= X-Received: by 2002:a67:e01b:0:b0:337:9729:acc2 with SMTP id c27-20020a67e01b000000b003379729acc2mr17543277vsl.10.1653919400409; Mon, 30 May 2022 07:03:20 -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: In-Reply-To: From: Warner Losh Date: Mon, 30 May 2022 08:03:09 -0600 Message-ID: Subject: Re: Loader can't find /boot/ua/loader.lua on UFS after main-n255828-18054d0220c To: Jeffrey Bouquet Cc: current Content-Type: multipart/alternative; boundary="00000000000059508005e03b1ee2" X-Rspamd-Queue-Id: 4LBcZK023Wz3lK9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20210112.gappssmtp.com header.s=20210112 header.b=vZkorZz+; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::e2d) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20210112.gappssmtp.com:s=20210112]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20210112.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e2d:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[current]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --00000000000059508005e03b1ee2 Content-Type: text/plain; charset="UTF-8" On Mon, May 30, 2022 at 4:33 AM Jeffrey Bouquet wrote: > > > On Sun, 29 May 2022 18:26:03 -0700, David Wolfskill > wrote: > > > On Sun, May 29, 2022 at 06:59:34PM -0600, Warner Losh wrote: > > > Sorry for top posting... > > > > > > Did you upgrade your boot blocks? > > > > Thanks for the reply! > > > > Hmmm.... Well, every time I rebuild FreeBSD head, the last step > > just after "make installworld" and before the reboot is: > > > > # gpart bootcode -b /boot/boot /dev/ada0s4 > > > > So *those* get updated. > > > > I haven't updated from /boot/boot0 recently (and have a requirement that > > whatever is in the MBR is able to boot stable/12, stable/13, and head). > > > > Is updating (from head's /boot/bot0) recommended at this point? > > > .... > > > > (And in case it wasn't obvious, I made a silly typo in the Subject; it > > should have read: > > > > | Subject: Re: Loader can't find /boot/lua/loader.lua on UFS after > > | main-n255828-18054d0220c > > > > Sorry: I don't have loader messages showing up on serial console on that > > machine at this point, so I had hand-typed it from memory and managed to > > elide a letter.) > > > > Peace, > > david > > -- > > David H. Wolfskill david@catwhisker.org > > "Putin is a paranoid dictator. Putin must go. He started a senseless war > > and is leading Russia into a ditch." - Egor Polyakov & Alexandra > Miroshnikova > > > > See https://www.catwhisker.org/~david/publickey.gpg for my public key. > > > I've never heard of that. Why isnt it in UPDATING? Re updating boot blocks: It's not a requirement. It's a diagnostic question to see what code we're dealing with. The only time it's been required was the ZFS update to OpenZFS after a zpool upgrade because the latter introduced new features the old boot blocks would reject as being a valid ZFS that it recognized. Warner --00000000000059508005e03b1ee2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, May 30, 2022 at 4:33 AM Jeffr= ey Bouquet <jbtakk@iherebuy= wisely.com> wrote:


On Sun, 29 May 2022 18:26:03 -0700, David Wolfskill <david@catwhisker.org> wrote:<= br>
> On Sun, May 29, 2022 at 06:59:34PM -0600, Warner Losh wrote:
> > Sorry for top posting...
> >
> > Did you upgrade your boot blocks?
>
> Thanks for the reply!
>
> Hmmm....=C2=A0 Well, every time I rebuild FreeBSD head, the last step<= br> > just after "make installworld" and before the reboot is:
>
> # gpart bootcode -b /boot/boot /dev/ada0s4
>
> So *those* get updated.
>
> I haven't updated from /boot/boot0 recently (and have a requiremen= t that
> whatever is in the MBR is able to boot stable/12, stable/13, and head)= .
>
> Is updating (from head's /boot/bot0) recommended at this point? > > ....
>
> (And in case it wasn't obvious, I made a silly typo in the Subject= ; it
> should have read:
>
> | Subject: Re: Loader can't find /boot/lua/loader.lua on UFS after=
> |=C2=A0 main-n255828-18054d0220c
>
> Sorry: I don't have loader messages showing up on serial console o= n that
> machine at this point, so I had hand-typed it from memory and managed = to
> elide a letter.)
>
> Peace,
> david
> --
> David H. Wolfskill=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 david@catwhisker.org
> "Putin is a paranoid dictator.=C2=A0 Putin must go. He started a = senseless war
> and is leading Russia into a ditch." - Egor Polyakov & Alexan= dra Miroshnikova
>
> See https://www.catwhisker.org/~david/publickey.= gpg for my public key.


I've never heard of that. Why isnt it in UPDATING?
Re updating boot blocks: It's not a requirement. It's a= diagnostic question to see what code we're dealing with.
The= only time it's been required was the ZFS update to OpenZFS after a zpo= ol upgrade because the latter
introduced new features the old boo= t blocks would reject as being a valid ZFS that it recognized.
Warner=C2=A0
--00000000000059508005e03b1ee2--