Re: Loader can't find /boot/ua/loader.lua on UFS after main-n255828-18054d0220c

From: David Wolfskill <david_at_catwhisker.org>
Date: Mon, 30 May 2022 14:15:58 UTC
On Mon, May 30, 2022 at 08:06:32AM -0600, Warner Losh 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?

fsck reports that all is well.

> 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.

Pretty much, yeah.  And loader's "lsdev" shows the devices, slices, and
partitions just fine.  But loaders's "ls" doesn't find /.

Toomas has recieved a "dd" image for the first 5 MB of the file system,
and has reproduced the issue in hist test environment, so I'm hoping he
will be able to figure out a bit more.  (It's at
https://www.catwhisker.org/~david/FreeBSD/head/loader/ada0s4a, in case
anyone else wants a peek.)

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

Right: no GELI for any file systems on this machine (only for swap).

Thanks!

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.