On Thu, Nov 05, 2026 at 09:41:57AM +0100, Paul de Weerd wrote:
> Hi Folks,
>
> I've recently upgraded my system to a newer snapshot (from 10 July to
> 23 October). Since then, VMs suddenly exit after some uptime (up to a
> couple of days). One VM runs OpenBSD (upgraded to the same snapshot)
> another runs Linux (Debian 13) - both exhibit this issue.
>
> Previously, I was running the snapshot from
> OpenBSD 7.9-current (GENERIC.MP) #30: Fri Jul 10 17:14:55 MDT 2026
>
> I upgraded to this snapshot:
> OpenBSD 8.0-current (GENERIC.MP) #123: Fri Oct 23 07:33:43 MDT 2026
>
> Full dmesg for the latter is included below
>
> I also increased memory at the same time (64GB -> 128GB), I
> increased the memory allocated to the VMs (from 8 to 16GB for the
> OpenBSD VM, from 6 to 16GB for the Linux VM), and I moved both VMs to
> 2 vCPUs (although for the OpenBSD VM I brought it back to 1 vCPU after
> the instability came to light - that didn't fix the VMs exiting).
> Current vm.conf looks like this:
>
> --- /etc/vm.conf -----------------------------------------------------
> vm "openbsd" {
> owner root
> cpus 1
> memory 16G
> disk /home/vm/openbsd/sd0.vmdisk
> interface switch "vmmswitch" lladdr "fe:e1:bb:00:00:01"
> }
>
> vm "debian" {
> owner root
> cpus 2
> memory 16G
> disk /home/vm/debian/sda.vmdisk
> interface switch "vmmswitch" lladdr "fe:e1:bb:00:00:02"
> }
>
> switch "vmmswitch" {
> enable
> interface veb0
> }
> ----------------------------------------------------------------------
>
> The VMs exit with this logged to syslog:
>
> 2026-11-02T02:52:44.397Z despair /bsd: smr: dispatch took 6.120000s
>
> Which doesn't tell me much, so I started `vmd -dvvvv | ts` in a tmux
> session to collect some more details. Here's what I see:
>
> --- vmd -dvvvv | ts # timestamps in UTC+1 ----------------------------
> Nov 02 03:52:36 vm/openbsd/vionet0: handle_sync_io: pipe dead (EV_READ)
> Nov 02 03:52:36 vm/openbsd/vioblk0: handle_sync_io: vioblk pipe dead (EV_READ)
> Nov 02 03:52:36 vm/openbsd/vionet0: dev_dispatch_vm: pipe dead (EV_READ)
> Nov 02 03:52:36 vm/openbsd/vioblk0: dev_dispatch_vm: pipe dead (EV_READ)
> Nov 02 03:52:36 vm/openbsd/vionet0: rx_run_loop: exiting (0)
> Nov 02 03:52:36 vm/openbsd/vionet0: tx_run_loop: exiting (0)
> Nov 02 03:52:36 vmm: vmm_sighdlr: handling signal 20
> Nov 02 03:52:36 vmm: vmm_sighdlr: vm openbsd exited (id 2)
> Nov 02 03:52:36 vmm: vm_remove: vmm vmm_sighdlr removing vm 2 from running
> config
> Nov 02 03:52:36 vmm: vm_stop: vmm vmm_sighdlr stopping vm 2
> Nov 02 03:52:36 vmd: vm_stop: vmd vmd_dispatch_vmm stopping vm 2
The error happend before. All the messages are because of a unclean
shutdown. So please send more context than just the last dozen line that
all happened in the same second.
--
:wq Claudio