[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.
Date: Fri, 03 Nov 2023 17:30:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274689
Michael Osipov <michaelo@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|DUPLICATE |---
Status|Closed |Open
--- Comment #7 from Michael Osipov <michaelo@FreeBSD.org> ---
I have now extracted the boot loader shared object from the 15-CURRENT ISO and
supplied to bhyve:
> bhyveload -c /dev/nmdm-deblndw013x3v.1A -m 4G -e autoboot_delay=3 -l /usr/local/bhyve/deblndw013x3v/boot/userboot_lua.so -d /usr/local/bhyve/deblndw013x3v/disk0.img deblndw013x3v
and it says:
> # vm console deblndw013x3v
> Connected
>
> OK Consoles: userboot
>
> FreeBSD/amd64 User boot lua, Revision 1.2
> (Thu Oct 19 02:34:16 UTC 2023 root@releng3.nyi.freebsd.org)
> ERROR: cannot open /boot/lua/loader.lua: device not configured.
>
>
> Type '?' for a list of commands, 'help' for more detailed help.
so it not fully clear that just setting an alternative loader is sufficient...
Extracted file:
> objdump -s boot/userboot_lua.so
> Contents of section .comment:
> 0000 004c696e 6b65723a 204c4c44 2031362e .Linker: LLD 16.
> 0010 302e3620 28467265 65425344 206c6c76 0.6 (FreeBSD llv
> 0020 6d6f7267 2d31362e 302e362d 302d6737 morg-16.0.6-0-g7
> 0030 63626631 61323539 3135322d 31353030 cbf1a259152-1500
> 0040 30303029 00244672 65654253 44240046 000).$FreeBSD$.F
> 0050 72656542 53442063 6c616e67 20766572 reeBSD clang ver
> 0060 73696f6e 2031362e 302e3620 28687474 sion 16.0.6 (htt
> 0070 70733a2f 2f676974 6875622e 636f6d2f ps://github.com/
> 0080 6c6c766d 2f6c6c76 6d2d7072 6f6a6563 llvm/llvm-projec
> 0090 742e6769 74206c6c 766d6f72 672d3136 t.git llvmorg-16
> 00a0 2e302e36 2d302d67 37636266 31613235 .0.6-0-g7cbf1a25
> 00b0 39313532 2900 9152).
--
You are receiving this mail because:
You are the assignee for the bug.