dvl@
Developer
I've managed to get this vm running via
Recently, I was moving /usr/local/vm to a new ZFS dataset. This problem occurred there, so I went back to the original dataset and tried it there. Both datasets are not active at the same time (imagine data02/vm (original and what I'm using for this post) and data04/vm (new))
It starts in the foreground, with interesting messages:
None of the above is interactive (i.e. I'm not selecting anything).
The VM (Home Assistant) comes to a login prompt, I can login, etc.
From the logs, I see:
Next, I run (from another ssh connection)
And it stops.
However, I am unable to get the VM to run via:
When I see in the log is:
vm start -f hass on FreeBSD 15 with vm-bhyve-1.7.3Recently, I was moving /usr/local/vm to a new ZFS dataset. This problem occurred there, so I went back to the original dataset and tried it there. Both datasets are not active at the same time (imagine data02/vm (original and what I'm using for this post) and data04/vm (new))
It starts in the foreground, with interesting messages:
Code:
GNU GRUB version 2.12
*Slot B (OK=1 TRY=1)
Slot A (rescue shell)
Slot B (rescue shell)
Booting `Slot B (OK=1 TRY=1)'
None of the above is interactive (i.e. I'm not selecting anything).
The VM (Home Assistant) comes to a login prompt, I can login, etc.
From the logs, I see:
Code:
*** /usr/local/vm/hass/vm-bhyve.log ***
2026-04-23T14:48:47+00:00: initialising
2026-04-23T14:48:47+00:00: [loader: uefi]
2026-04-23T14:48:47+00:00: [cpu: 4]
2026-04-23T14:48:47+00:00: [memory: 8GB]
2026-04-23T14:48:47+00:00: [hostbridge: standard]
2026-04-23T14:48:47+00:00: [com ports: com1]
2026-04-23T14:48:47+00:00: [uuid: 9aae377a-6c06-11ed-a655-002590fa0f10]
2026-04-23T14:48:47+00:00: [debug mode: no]
2026-04-23T14:48:47+00:00: [primary disk: disk0.img]
2026-04-23T14:48:47+00:00: [primary disk dev: file]
2026-04-23T14:48:47+00:00: initialising network device tap1
2026-04-23T14:48:47+00:00: adding tap1 -> bridge0 (public addm)
2026-04-23T14:48:47+00:00: bring up tap1 -> bridge0 (public addm)
2026-04-23T14:48:47+00:00: booting
2026-04-23T14:48:47+00:00: [bhyve options: -c 4 -m 8GB -AHPw -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -A -U 9aae377a-6c06-11ed-a655-002590fa0f10 -u]
2026-04-23T14:48:47+00:00: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 0:4:0,virtio-blk,/usr/local/vm/hass/disk0.img -s 0:5:0,virtio-net,tap1,mac=58:9c:fc:08:5d:13]
2026-04-23T14:48:47+00:00: [bhyve console: -l com1,stdio]
2026-04-23T14:48:47+00:00: starting bhyve (run 1)
*** /var/log/messages ***
Apr 23 14:48:47 r730-01 kernel: tap1: Ethernet address: 58:9c:fc:10:e2:5d
Apr 23 14:48:47 r730-01 kernel: tap1: promiscuous mode enabled
Apr 23 14:48:48 r730-01 kernel: tap1: link state changed to UP
Next, I run (from another ssh connection)
Code:
% sudo vm stop hass
Sending ACPI shutdown to hass
And it stops.
However, I am unable to get the VM to run via:
Code:
% sudo vm start hass
Starting hass
* found guest in /usr/local/vm/hass
* booting...
When I see in the log is:
Code:
*** /usr/local/vm/hass/vm-bhyve.log ***
2026-04-23T14:47:12+00:00: initialising
2026-04-23T14:47:12+00:00: [loader: uefi]
2026-04-23T14:47:12+00:00: [cpu: 4]
2026-04-23T14:47:12+00:00: [memory: 8GB]
2026-04-23T14:47:12+00:00: [hostbridge: standard]
2026-04-23T14:47:12+00:00: [com ports: com1]
2026-04-23T14:47:12+00:00: [uuid: 9aae377a-6c06-11ed-a655-002590fa0f10]
2026-04-23T14:47:12+00:00: [debug mode: no]
2026-04-23T14:47:12+00:00: [primary disk: disk0.img]
2026-04-23T14:47:12+00:00: [primary disk dev: file]
2026-04-23T14:47:12+00:00: initialising network device tap1
2026-04-23T14:47:12+00:00: adding tap1 -> bridge0 (public addm)
2026-04-23T14:47:12+00:00: bring up tap1 -> bridge0 (public addm)
2026-04-23T14:47:12+00:00: booting
2026-04-23T14:47:12+00:00: [bhyve options: -c 4 -m 8GB -AHPw -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -A -U 9aae377a-6c06-11ed-a655-002590fa0f10 -u]
2026-04-23T14:47:12+00:00: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 0:4:0,virtio-blk,/usr/local/vm/hass/disk0.img -s 0:5:0,virtio-net,tap1,mac=58:9c:fc:08:5d:13]
2026-04-23T14:47:12+00:00: [bhyve console: -l com1,/dev/nmdm-hass.1A]
2026-04-23T14:47:12+00:00: starting bhyve (run 1)
2026-04-23T14:47:12+00:00: bhyve exited with status 4
2026-04-23T14:47:12+00:00: destroying network device tap1
2026-04-23T14:47:12+00:00: stopped