[Bug 274051] FreeBSD bhyve installation = can't find hostid/entropy

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Aug 2025 15:58:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274051

Marcin Cieślak <saper@saper.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |saper@saper.info

--- Comment #7 from Marcin Cieślak <saper@saper.info> ---
I have the same:

host:

FreeBSD radziecki 15.0-CURRENT FreeBSD 15.0-CURRENT 

commit ac641d55ea0622f06baa60b9d22ef4880007d8c4
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
Date:   Sat Aug 2 01:18:16 2025 +0200

FreeBSD-15.0-PRERELEASE-amd64-ufs-20250819-02a8fadd2c4d-279701.raw.xz extracted
onto zvol /dev/zvol/mad/freebsd15

> zfs get volmode mad/freebsd15 
NAME           PROPERTY  VALUE    SOURCE
mad/freebsd15  volmode   dev      local

sudo bhyveload -m 512m -d /dev/zvol/mad/freebsd15 -c /dev/nmdm2B mak

on the serial console I get the boot menu

Loading kernel...seconds. [Space] to pause  
/boot/kernel/kernel text=0x18e298 text=0xe14f24 text=0x4a1870 data=0x180+0xe80
data=0x1ab6e0+0x454920 0x8+0x1a9838+0x8+0x1d6890|
Loading configured modules...
/etc/hostid size=0x25
/boot/entropy size=0x1000

After this bhyveload exits

The machine remains there as /dev/vmm/mak

> sudo bhyvectl --get-stats --vm=mak
everything 0 except for
Resident memory                                 4096

> sudo /usr/sbin/bhyvectl --get-exit-reason --vm mak
exit_reason[0]  0

> sudo /usr/sbin/bhyvectl --get-active-cpus --vm mak
active cpus:     (none)

I've managed to start the machine once with
sudo bhyve -c 2 -s 0,hostbridge -s 1,lpc -s
2,virtio-blk,/dev/zvol/mad/freebsd15 -l com1,/dev/nmdm2B -H -P -m 512m mak

but after this I can't start it anymore (getting the "bhyve: no bootrom was
configured" message)

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