vmd writes corrupt qcow2 images

2022-04-18 Thread Thomas L.
Hi, I recently tried to use qemu-img with qcow2 images of my VMs and qemu-img finds them corrupted. I can reproduce the issue in the following way (on -current, but is the same on -stable; tried different hosts to exclude hardware errors): marsden# vmctl create -s 300G test.qcow2 vmctl: qcow2 ima

Re: vmd: spurious VM restarts

2021-06-26 Thread Thomas L.
On Wed, 7 Apr 2021 17:00:00 -0700 Mike Larkin wrote: > Depends on the exact content that got swapped out (as we didn't handle > TLB flushes correctly), so a crash was certainly a possibility. > That's why I wanted to see the VMM_DEBUG output. > > In any case, Thomas should try -current and see if

Re: vmd: spurious VM restarts

2021-04-07 Thread Thomas L.
> > Thomas: I looked at your host dmesg and your provided vm.conf. It > > looks like 11 vm's with the default 512M memory and one (minecraft) > > with 8G. Your host seems to have only 16GB of memory, some of which > > is probably unavailable as it's used by the integrated gpu. I'm > > wondering if

Re: vmd: spurious VM restarts

2021-04-06 Thread Thomas L.
On Tue, 6 Apr 2021 14:28:09 -0700 Mike Larkin wrote: > On Tue, Apr 06, 2021 at 09:15:10PM +0200, Thomas L. wrote: > > On Tue, 6 Apr 2021 11:11:01 -0700 > > Mike Larkin wrote: > > > Anything in the host's dmesg? > > > > *host* dmesg. I think you misread w

Re: vmd: spurious VM restarts

2021-04-06 Thread Thomas L.
On Tue, 6 Apr 2021 11:11:01 -0700 Mike Larkin wrote: > Anything in the host's dmesg? Below is the dmesg and latest syslog from one of the VMs. OpenBSD 6.8 (GENERIC) #1: Tue Nov 3 09:04:47 MST 2020 r...@syspatch-68-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 52008550

vmd: spurious VM restarts

2021-04-06 Thread Thomas L.
Hi, I'm running OpenBSD 6.8 as hypervisor with multiple OpenBSD VMs. Regularly, it happens that all VM are restarted, not at the same time but clustered. The indication that this happend is reduced uptime on the VMs, some services that fail to come up again and the following logs: # grep vmd /var

snapshot upgrade hangs with "iwm0: DAD detected duplicate"

2021-03-02 Thread Thomas L.
Hi, current snapshot hangs during sysupgrade after rootfs mount with iwm0: DAD detected duplicate IPv6 address fe80:1::164f:8aff:fe25:dbef: NS in/out=1/1, NA in=0 iwm0: DAD complete for fe80:1::164f:8aff:fe25:dbef - duplicate found iwm0: manual intervention required The problem persists over mu

Re: login_passwd: reject challenge service

2019-12-11 Thread Thomas L.
On Thu, 5 Dec 2019 13:35:40 + "Lindner, Thomas 1. (Nokia - DE/Nuremberg)" wrote: > The (untested) patch below makes login_passwd behave as described in > the manpage. I've now been able to test the patch and login/su/doas/ssh still work as expected. All the other login_* styles in base are we

Re: vmd console freeze and locked (?) qcow2 image

2019-01-06 Thread Thomas L.
On Sat, 5 Jan 2019 17:56:01 -0800 Mike Larkin wrote: > Did you kill all the old vmd processes? > > -ml > I tested again and it works now. There were restarts in between. I will try killing vmd processes if this happens again, thanks. Kind regards, Thomas

vmd console freeze and locked (?) qcow2 image

2019-01-04 Thread Thomas L.
Hi, I am running -current and installed Arch Linux on vmd. Unfortunatly, after a while the vmd console freezes. I tried stoping the vm with vmctl stop, but it keept hanging (maybe related to the console hanging?). So I terminated the vm with vmctl stop -f. Now, the vm won't start up complaining t