Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2023 12:55:19 +0100
From:      Warner Losh <imp@bsdimp.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: CURRRENT snapshot won't boot due missing ZFS feature
Message-ID:  <CANCZdfqVXwNhgQVbf4pshpQ2XY7LHrmAgmv1NVSQ=R7LX4ZVSg@mail.gmail.com>
In-Reply-To: <ZQWMN84txCwmeDxH@int21h>
References:  <20230608181115.7c97ea19.grembo@freebsd.org> <ZQWMN84txCwmeDxH@int21h>

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

On Sat, Sep 16, 2023, 12:06 PM void <void@f-m.fm> 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.
>
> This is still happening in the following context:
>
> host: stable/13-n256033
> bhyve guest was installed from FreeBSD-14.0-BETA2-amd64-bootonly.iso
>
> error on booting the guest
> ZFS: unsupported feature: com.klarasystems:vdev_zaps_v2
> ERROR: cannot open /boot/lua/loader.lua: no such file or directory.
>
> This used to work with earlier -current (14-current) bhyve guests.
> Is there a workaround?
>
> Does this mean that any bhyve host needs to be either at or above
> the guest version in future? In other words, is having host
> version less than guest not meant to work?
>

Yes. The boot loader comes from the host. It must know how to read ZFS. So
either your bootable partitions must not have com.klarasystems:vdev_zaps_v2
in your BEs or you must have a new user boot. I think you can just install
the one from 14, but haven't tried it.

Warner


-- 
>
>

--00000000000002c4a506057896bb
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 Sat, Sep 16, 2023, 12:06 PM void &lt;<a href=3D"mai=
lto:void@f-m.fm">void@f-m.fm</a>&gt; wrote:<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">On Thu, Jun 08, 2023 at 06:11:15PM +0200, Michael Gmelin wrote:<br=
>
&gt;Hi,<br>
&gt;<br>
&gt;I didn&#39;t dig into this yet.<br>
&gt;<br>
&gt;After installing the current 14-snapshot (June 1st) in a bhyve-vm, I<br=
>
&gt;get this on boot:<br>
&gt;<br>
&gt;=C2=A0 ZFS: unsupported feature: com.klarasystems:vdev_zaps_v2<br>
&gt;<br>
&gt;(booting stops at this point)<br>
&gt;<br>
&gt;Seems like the boot loader is missing this recently added feature.<br>
<br>
This is still happening in the following context:<br>
<br>
host: stable/13-n256033<br>
bhyve guest was installed from FreeBSD-14.0-BETA2-amd64-bootonly.iso<br>
<br>
error on booting the guest <br>
ZFS: unsupported feature: com.klarasystems:vdev_zaps_v2<br>
ERROR: cannot open /boot/lua/loader.lua: no such file or directory.<br>
<br>
This used to work with earlier -current (14-current) bhyve guests.<br>
Is there a workaround?<br>
<br>
Does this mean that any bhyve host needs to be either at or above<br>
the guest version in future? In other words, is having host<br>
version less than guest not meant to work?<br></blockquote></div></div><div=
 dir=3D"auto"><br></div><div dir=3D"auto">Yes. The boot loader comes from t=
he host. It must know how to read ZFS. So either your bootable partitions m=
ust not have com.klarasystems:vdev_zaps_v2 in your BEs or you must have a n=
ew user boot. I think you can just install the one from 14, but haven&#39;t=
 tried it.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Warner=C2=A0<=
/div><div dir=3D"auto"><br></div><div dir=3D"auto"><br></div><div dir=3D"au=
to"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-- <br>
<br>
</blockquote></div></div></div>

--00000000000002c4a506057896bb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqVXwNhgQVbf4pshpQ2XY7LHrmAgmv1NVSQ=R7LX4ZVSg>