As the title says, my virtual machine (openbsd 7.9) suddenly stopped working and I have no clue why. I didn't change configuration I didn't change nothing, but after a random reboot it stopped starting and I was never able to get it running again no matter how many times I rebooted. If it helps somehow I was compiling some software from ports before I rebooted (and the VM stopped starting), but how could it possibly interfere the VM's wellbeing if everything is installed under /usr/local, and my VM is in /vm? I can't figure it out with just
The first code block is
This is a working configuration and I always used to launch the VM with it.
I am very new to bhyve and I have little experience in resolving such errors. Thank you in advance for your time.
bhyve exited with status 4 - it doesn't help at all.The first code block is
openbsd79.conf, the second is vm-bhyve.log.
Code:
loader="uefi"
uuid="0e545f58-56cc-11f1-8e1d-002b670a7ff9"
cpu=1
memory=512M
network0_type="virtio-net"
network0_switch="public"
network0_mac="58:9c:fc:09:4d:c3"
disk0_type="virtio-blk"
disk0_name="openbsd.img"
bhyve_options="-w"
passthru0="0/20/3"
This is a working configuration and I always used to launch the VM with it.
Code:
2026-05-31T07:23:51+03:00: initialising
2026-05-31T07:23:51+03:00: [loader: uefi]
2026-05-31T07:23:51+03:00: [cpu: 1]
2026-05-31T07:23:51+03:00: [memory: 512M]
2026-05-31T07:23:51+03:00: [hostbridge: standard]
2026-05-31T07:23:51+03:00: [com ports: com1]
2026-05-31T07:23:51+03:00: [uuid: 0e545f58-56cc-11f1-8e1d-002b670a7ff9]
2026-05-31T07:23:51+03:00: [debug mode: no]
2026-05-31T07:23:51+03:00: [primary disk: openbsd.img]
2026-05-31T07:23:51+03:00: [primary disk dev: file]
2026-05-31T07:23:51+03:00: initialising network device tap0
2026-05-31T07:23:51+03:00: adding tap0 -> bridge0 (public addm)
2026-05-31T07:23:51+03:00: bring up tap0 -> bridge0 (public addm)
2026-05-31T07:23:51+03:00: booting
2026-05-31T07:23:51+03:00: [bhyve options: -c 1 -m 512M -AHPw -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -w -U 0e545f58-56cc-11f1-8e1d-002b670a7ff9 -u -S]
2026-05-31T07:23:51+03:00: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 0:4:0,virtio-blk,/vm/openbsd79/openbsd.img -s 0:5:0,virtio-net,tap0,mac=58:9c:fc:09:4d:c3 -s 0:6:0,passthru,0/20/3]
2026-05-31T07:23:51+03:00: [bhyve console: -l com1,/dev/nmdm-openbsd79.1A]
2026-05-31T07:23:51+03:00: starting bhyve (run 1)
2026-05-31T07:24:10+03:00: bhyve exited with status 4
2026-05-31T07:24:10+03:00: destroying network device tap0
2026-05-31T07:24:10+03:00: stopped
I am very new to bhyve and I have little experience in resolving such errors. Thank you in advance for your time.