Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2023 11:32:19 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Michael Gmelin <grembo@freebsd.org>
Cc:        Glen Barber <gjb@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: CURRRENT snapshot won't boot due missing ZFS feature
Message-ID:  <CANCZdfo11ma80Z9%2BkcrZJ6mHzBFMY=n0sb33B-AgDpoE7RCFSQ@mail.gmail.com>
In-Reply-To: <20230608191637.21101c39.grembo@freebsd.org>
References:  <20230608181115.7c97ea19.grembo@freebsd.org> <20230608162012.GV1219@FreeBSD.org> <20230608190623.14ab4ba8.grembo@freebsd.org> <20230608191637.21101c39.grembo@freebsd.org>

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

On Thu, Jun 8, 2023, 11:18 AM Michael Gmelin <grembo@freebsd.org> wrote:

>
>
> On Thu, 8 Jun 2023 19:06:23 +0200
> Michael Gmelin <grembo@freebsd.org> wrote:
>
> > On Thu, 8 Jun 2023 16:20:12 +0000
> > Glen Barber <gjb@freebsd.org> wrote:
> >
> > > On Thu, Jun 08, 2023 at 06:11:15PM +0200, Michael Gmelin wrote:
> > > > Hi,
> > > >
> > > > I didn't dig into this yet.
> > > >
> > > > After installing the current 14-snapshot (June 1st) in a
> > > > bhyve-vm, I get this on boot:
> > > >
> > > >   ZFS: unsupported feature: com.klarasystems:vdev_zaps_v2
> > > >
> > > > (booting stops at this point)
> > > >
> > > > Seems like the boot loader is missing this recently added feature.
> > > >
> > >
> > > Can you try today's snapshot?  They are propagated to most mirrors
> > > now.
> > >
> >
> > Tried today's snaphot, same problem.
> >
> >   # reboot
> >   Waiting (max 60 seconds) for system process `vnlru' to stop... done
> >   Waiting (max 60 seconds) for system process `syncer' to stop...
> >   Syncing disks, vnodes remaining... 0 0 0 0 done
> >   All buffers synced.
> >   Uptime: 4m14s
> >   Consoles: userboot
> >
> >   FreeBSD/amd64 User boot lua, Revision 1.2
> >   ZFS: unsupported feature: com.klarasystems:vdev_zaps_v2
> >   ERROR: cannot open /boot/lua/loader.lua: no such file or directory.
> >
> >
> >   Type '?' for a list of commands, 'help' for more detailed help.
> >   OK
> >
> >
> > That's after installing CURRENT in a fresh vm managed by vm-bhyve
> > using bsdinstall's automatic ZFS option.
> >
>
> Thinking about this, it's possible that vm-bhyve is using the zfs boot
> loader from the host machine.
>
> Please consider this noise, unless you hear from me again.
>

Yes. It does. This can be an unfortunate design choice at times.

Warner

Best
> Michael
>
> --
> Michael Gmelin
>
>

--000000000000094fb105fda1a332
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Thu, Jun 8, 2023, 11:18 AM Michael Gmelin &lt;<a hr=
ef=3D"mailto:grembo@freebsd.org">grembo@freebsd.org</a>&gt; wrote:<br></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex"><br>
<br>
On Thu, 8 Jun 2023 19:06:23 +0200<br>
Michael Gmelin &lt;<a href=3D"mailto:grembo@freebsd.org" target=3D"_blank" =
rel=3D"noreferrer">grembo@freebsd.org</a>&gt; wrote:<br>
<br>
&gt; On Thu, 8 Jun 2023 16:20:12 +0000<br>
&gt; Glen Barber &lt;<a href=3D"mailto:gjb@freebsd.org" target=3D"_blank" r=
el=3D"noreferrer">gjb@freebsd.org</a>&gt; wrote:<br>
&gt; <br>
&gt; &gt; On Thu, Jun 08, 2023 at 06:11:15PM +0200, Michael Gmelin wrote:=
=C2=A0 <br>
&gt; &gt; &gt; Hi,<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; I didn&#39;t dig into this yet.<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; After installing the current 14-snapshot (June 1st) in a<br>
&gt; &gt; &gt; bhyve-vm, I get this on boot:<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt;=C2=A0 =C2=A0ZFS: unsupported feature: com.klarasystems:vdev_=
zaps_v2<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; (booting stops at this point)<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; Seems like the boot loader is missing this recently added fe=
ature.<br>
&gt; &gt; &gt;=C2=A0 =C2=A0 =C2=A0<br>
&gt; &gt; <br>
&gt; &gt; Can you try today&#39;s snapshot?=C2=A0 They are propagated to mo=
st mirrors<br>
&gt; &gt; now.<br>
&gt; &gt;=C2=A0 =C2=A0<br>
&gt; <br>
&gt; Tried today&#39;s snaphot, same problem.<br>
&gt; <br>
&gt;=C2=A0 =C2=A0# reboot<br>
&gt;=C2=A0 =C2=A0Waiting (max 60 seconds) for system process `vnlru&#39; to=
 stop... done<br>
&gt;=C2=A0 =C2=A0Waiting (max 60 seconds) for system process `syncer&#39; t=
o stop... <br>
&gt;=C2=A0 =C2=A0Syncing disks, vnodes remaining... 0 0 0 0 done<br>
&gt;=C2=A0 =C2=A0All buffers synced.<br>
&gt;=C2=A0 =C2=A0Uptime: 4m14s<br>
&gt;=C2=A0 =C2=A0Consoles: userboot=C2=A0 <br>
&gt; <br>
&gt;=C2=A0 =C2=A0FreeBSD/amd64 User boot lua, Revision 1.2<br>
&gt;=C2=A0 =C2=A0ZFS: unsupported feature: com.klarasystems:vdev_zaps_v2<br=
>
&gt;=C2=A0 =C2=A0ERROR: cannot open /boot/lua/loader.lua: no such file or d=
irectory.<br>
&gt; <br>
&gt; <br>
&gt;=C2=A0 =C2=A0Type &#39;?&#39; for a list of commands, &#39;help&#39; fo=
r more detailed help.<br>
&gt;=C2=A0 =C2=A0OK <br>
&gt; <br>
&gt; <br>
&gt; That&#39;s after installing CURRENT in a fresh vm managed by vm-bhyve<=
br>
&gt; using bsdinstall&#39;s automatic ZFS option.<br>
&gt; <br>
<br>
Thinking about this, it&#39;s possible that vm-bhyve is using the zfs boot<=
br>
loader from the host machine.<br>
<br>
Please consider this noise, unless you hear from me again.<br></blockquote>=
</div></div><div dir=3D"auto"><br></div><div dir=3D"auto">Yes. It does. Thi=
s can be an unfortunate design choice at times.=C2=A0</div><div dir=3D"auto=
"><br></div><div dir=3D"auto">Warner</div><div dir=3D"auto"><br></div><div =
dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Best<br>
Michael<br>
<br>
-- <br>
Michael Gmelin<br>
<br>
</blockquote></div></div></div>

--000000000000094fb105fda1a332--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfo11ma80Z9%2BkcrZJ6mHzBFMY=n0sb33B-AgDpoE7RCFSQ>