Previously I installed immich on my home server on a VM, run by OpenBSD’s VMD. This was working great until one day the VM won’t boot ;-(
The log file /var/log/daemon shows these two lines.
Apr 11 22:29:55 mserver vmd[31953]: started immich (vm 1) successfully, tty /dev/ttyp3
Apr 11 22:29:56 mserver vmd[21414]: vm/immich: vmd: invalid fault_type 2
The only vaguely relevant thread I can find suggests this is a new feature of linux attempting to use some feature which OpenBSD’s VMD doesn’t yet emulate. It also suggests a flag to pass to the linux kernel on boot to attempt to work around.
After some frustration, I finally managed to get a system-rescue ISO image to boot my poor virtual machine; so I can edit the disk; the disk is EXT4 formatted for which OpenBSD has no support, so I can’t use a loopback to mount the virtual disk on the host and edit there :/ annoying!
I’ve edited the command line in /boot/grub/grub.cfg to add the workaround kernel command line argument (normally this file would be edited with grub-config or something but I haven’t got this tool to hand right now)
… alas no luck. The VM exits with the same error. I may end up resorting to backups to re-create the VM from scratch.