Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2025 15:58:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 274051] FreeBSD bhyve installation = can't find hostid/entropy
Message-ID:  <bug-274051-27103-rQPOPHrfyG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274051-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274051-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274051

Marcin Cie=C5=9Blak <saper@saper.info> changed:

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

--- Comment #7 from Marcin Cie=C5=9Blak <saper@saper.info> ---
I have the same:

host:

FreeBSD radziecki 15.0-CURRENT FreeBSD 15.0-CURRENT=20

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

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

> zfs get volmode mad/freebsd15=20
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=20=20
/boot/kernel/kernel text=3D0x18e298 text=3D0xe14f24 text=3D0x4a1870 data=3D=
0x180+0xe80
data=3D0x1ab6e0+0x454920 0x8+0x1a9838+0x8+0x1d6890|
Loading configured modules...
/etc/hostid size=3D0x25
/boot/entropy size=3D0x1000

After this bhyveload exits

The machine remains there as /dev/vmm/mak

> sudo bhyvectl --get-stats --vm=3Dmak
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)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274051-27103-rQPOPHrfyG>