Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2022 08:03:09 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Jeffrey Bouquet <jbtakk@iherebuywisely.com>
Cc:        current <current@freebsd.org>
Subject:   Re: Loader can't find /boot/ua/loader.lua on UFS after main-n255828-18054d0220c
Message-ID:  <CANCZdfpr3iELRk7HQ8k1RndhgR1sA_C%2B5=kNu8pR8=XgeAzn-w@mail.gmail.com>
In-Reply-To: <E1nvchZ-0003E5-PV@rmmprod05.runbox>
References:  <YpQdK70gH%2B%2BZ9ZjA@albert.catwhisker.org> <E1nvchZ-0003E5-PV@rmmprod05.runbox>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000059508005e03b1ee2
Content-Type: text/plain; charset="UTF-8"

On Mon, May 30, 2022 at 4:33 AM Jeffrey Bouquet <jbtakk@iherebuywisely.com>
wrote:

>
>
> On Sun, 29 May 2022 18:26:03 -0700, David Wolfskill <david@catwhisker.org>
> 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

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Mon, May 30, 2022 at 4:33 AM Jeffr=
ey Bouquet &lt;<a href=3D"mailto:jbtakk@iherebuywisely.com">jbtakk@iherebuy=
wisely.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><br>
<br>
On Sun, 29 May 2022 18:26:03 -0700, David Wolfskill &lt;<a href=3D"mailto:d=
avid@catwhisker.org" target=3D"_blank">david@catwhisker.org</a>&gt; wrote:<=
br>
<br>
&gt; On Sun, May 29, 2022 at 06:59:34PM -0600, Warner Losh wrote:<br>
&gt; &gt; Sorry for top posting...<br>
&gt; &gt; <br>
&gt; &gt; Did you upgrade your boot blocks?<br>
&gt; <br>
&gt; Thanks for the reply!<br>
&gt; <br>
&gt; Hmmm....=C2=A0 Well, every time I rebuild FreeBSD head, the last step<=
br>
&gt; just after &quot;make installworld&quot; and before the reboot is:<br>
&gt; <br>
&gt; # gpart bootcode -b /boot/boot /dev/ada0s4<br>
&gt; <br>
&gt; So *those* get updated.<br>
&gt; <br>
&gt; I haven&#39;t updated from /boot/boot0 recently (and have a requiremen=
t that<br>
&gt; whatever is in the MBR is able to boot stable/12, stable/13, and head)=
.<br>
&gt; <br>
&gt; Is updating (from head&#39;s /boot/bot0) recommended at this point?<br=
>
&gt; &gt; ....<br>
&gt; <br>
&gt; (And in case it wasn&#39;t obvious, I made a silly typo in the Subject=
; it<br>
&gt; should have read:<br>
&gt; <br>
&gt; | Subject: Re: Loader can&#39;t find /boot/lua/loader.lua on UFS after=
<br>
&gt; |=C2=A0 main-n255828-18054d0220c<br>
&gt; <br>
&gt; Sorry: I don&#39;t have loader messages showing up on serial console o=
n that<br>
&gt; machine at this point, so I had hand-typed it from memory and managed =
to<br>
&gt; elide a letter.)<br>
&gt; <br>
&gt; Peace,<br>
&gt; david<br>
&gt; -- <br>
&gt; 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 <a href=3D"mailto:davi=
d@catwhisker.org" target=3D"_blank">david@catwhisker.org</a><br>
&gt; &quot;Putin is a paranoid dictator.=C2=A0 Putin must go. He started a =
senseless war<br>
&gt; and is leading Russia into a ditch.&quot; - Egor Polyakov &amp; Alexan=
dra Miroshnikova<br>
&gt; <br>
&gt; See <a href=3D"https://www.catwhisker.org/~david/publickey.gpg" rel=3D=
"noreferrer" target=3D"_blank">https://www.catwhisker.org/~david/publickey.=
gpg</a> for my public key.<br>
<br>
<br>
I&#39;ve never heard of that. Why isnt it in UPDATING?</blockquote><div><br=
></div><div>Re updating boot blocks: It&#39;s not a requirement. It&#39;s a=
 diagnostic question to see what code we&#39;re dealing with.</div><div>The=
 only time it&#39;s been required was the ZFS update to OpenZFS after a zpo=
ol upgrade because the latter</div><div>introduced new features the old boo=
t blocks would reject as being a valid ZFS that it recognized.</div><div><b=
r></div><div>Warner=C2=A0</div></div></div>

--00000000000059508005e03b1ee2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpr3iELRk7HQ8k1RndhgR1sA_C%2B5=kNu8pR8=XgeAzn-w>