| Summary: | 14.0-ALPHA1 unbootable after install | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Slawomir Wojciech Wojtczak <vermaden> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | dch, emaste, michaelo, pat, rew |
| Priority: | --- | ||
| Version: | CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Slawomir Wojciech Wojtczak
2023-08-13 12:25:03 UTC
(In reply to Slawomir Wojciech Wojtczak from comment #0) Are you running an updated loader? Can you verify? This issue should have been fixed in https://cgit.freebsd.org/src/commit/?id=5fd34912b4a51f6ebe55d0d832fab4f3c60228e7 (In reply to Robert Wing from comment #1) It was new/fresh install of 14.0-ALPHA1. I downloaded thus ISO image: - FreeBSD-14.0-ALPHA1-amd64-20230811-136fc495615f-264678-disc1.iso ... and installed fresh 14.0-ALPHA1 from it. Nothing more. Regards. (In reply to Slawomir Wojciech Wojtczak from comment #2) I'm able to reproduce this problem. I'll start looking into it. Are you using bhyveload?
I'm guessing that userboot.so from the host is being used.
Can you try using bhyveload with a newer loader?
If you have a current src tree:
# cd /usr/src/stand && make
# find /usr/obj -type f -name userboot_lua.so
/usr/obj/usr/src/amd64.amd64/stand/userboot/userboot_lua/userboot_lua.so
Then pass that loader to bhyveload:
# bhyveload -d $DISK \
-m 1024M \
-l /usr/obj/usr/src/amd64.amd64/stand/userboot/userboot_lua/userboot_lua.so \
vmname
(In reply to Robert Wing from comment #4) For the record. In UEFI mode it boots/works without any problems. I will try to rebuild and check that later. (In reply to Robert Wing from comment #4) Hi. As you specified - that helped. I paste below the vm-bhyve config I used to overcome this. % ls -l /vm/userboot_lua.so -rwxr-xr-x 1 root root 588072 2023-08-17 11:55 /vm/userboot_lua.so % cat /vm/freebsd14/freebsd14.conf loader="bhyveload" bhyveload_loader="/vm/userboot_lua.so" cpu=1 memory=256M network0_type="virtio-net" network0_switch="public" disk0_type="nvme" disk0_name="disk0.img" uuid="asdfasdf-1234-1234-1234-asdfasdfasdf" network0_mac="01:23:45:67:89:0a" Hope that helps. Closing as resolved. Regards. *** Bug 274689 has been marked as a duplicate of this bug. *** |