[Bug 274689] [REGRESSION] 15-CURRENT does not load with bhyveload on 12-STABLE: ERROR: cannot open /boot/lua/loader.lua: no such file or directory.

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 03 Nov 2023 08:04:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274689

Zhenlei Huang <zlei@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlei@FreeBSD.org

--- Comment #2 from Zhenlei Huang <zlei@FreeBSD.org> ---
(In reply to Michael Osipov from comment #0)

I think it is expected behavior.

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

So the guest is FreeBSD 15 current and have newer version OpenZFS, and the
loader (bhyveload) in the host (12 stable) does not yet support the new
features such as `com.klarasystems:vdev_zaps_v2` enabled in the guest zfs pool,
hence the zfs pool will not get mounted and no "/boot/lua/loader.lua" (in
guest).

I bet FreeBSD 14 (if the pool is upgraded) will also not loaded by stable12
loader bhyveload.

> As soon as I switch to loader="uefi" the system boots.
For UEFI loader will be guest's loader /efi/boot/bootx64.efi or
/efi/freebsd/loader.efi in ESP (fat32), so it should work.

-- 
You are receiving this mail because:
You are the assignee for the bug.