[Bug 255191] Booting DragonFlyBSD results in Failed to emulate instruction sequence output

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 21 09:09:32 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255191

Aleksandr Fedorov <afedorov at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |afedorov at FreeBSD.org

--- Comment #1 from Aleksandr Fedorov <afedorov at FreeBSD.org> ---
Hello.

It's very strange that you are trying to start DragonFlyBSD using the
bootloader from FreeBSD.

Yes, vmrun.sh, uses bhyveload(8) by default:

>FreeBSD/amd64 User boot lua, Revision 1.2
>Consoles: userboot

You should use -E option to choose UEFI bootloader.

I was able to successfully run it using the UEFI loader. But only if memory >=
4GB:

bhyve -H -A -P -c 1 -m 4G -s 0,hostbridge -s 1,virtio-blk,./dfly.img -s
2,ahci-cd,./dfly-x86_64-5.8.3_REL.iso -s 31,lpc -l com1,stdio -l
bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd dfly

If you give the memory less than 4 gigabytes, then a similar error was occurs:

Unhandled memory access to 0x100000000
Failed to emulate instruction sequence [ 813c8f5f4d505f742483c20439d37f ] at
0xffffffff80bebe43

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


More information about the freebsd-virtualization mailing list