On Tue, Jan 16, 2018 at 09:40:54AM +0000, Olivier Cherrier wrote: > On Thu, Dec 21, 2017 at 10:57:12AM -0800, mlar...@azathoth.net wrote: > > > Hi, > > > > > > I am running ~ current on amd64 (dmesg attached) and am experiencing > > > vmd crashes. The processes responsible for operating the VMs are > > > disappearing and I get the following messages in deamon: > > > > > > Dec 20 12:26:32 stanislas vmd[38693]: vcpu_run_loop: vm 14 / vcpu 0 run > > > ioctl failed: Invalid argument > > > Dec 20 12:26:32 stanislas vmd[98389]: vcpu_run_loop: vm 15 / vcpu 0 run > > > ioctl failed: Invalid argument > > > > > > It happens randomly. Generally the VMs are staying up for a few hours. > > > Is there anything I can do to troubleshoot ? > > > > > > > Could be anything. What guest VM are you running here? And how much memory > > are > > you assigning? > > > > A useful option is to run vmd manually (rcctl stop vmd && vmd -dvvvv), > > and/or > > Here is what I typically get : > > ... > vionet queue notify - no space, dropping packet > vionet queue notify - no space, dropping packet > vionet queue notify - no space, dropping packet > vionet queue notify - no space, dropping packet > vionet queue notify - no space, dropping packet > vionet queue notify - no space, dropping packet > vionet queue notify - no space, dropping packet > vcpu_run_loop: vm 23 / vcpu 0 run ioctl failed: Invalid argument > vmm_sighdlr: handling signal 20 > vmm_sighdlr: attempting to terminate vm 4 > terminate_vm: terminating vmid 23 > vmm_sighdlr: calling vm_remove > vm_remove: removing vm id 4 from running config > vm_remove: calling vm_stop > vm_stop: stopping vm 4 > vmd_dispatch_vmm: handling TERMINATE_EVENT for vm id 4 ret 22 > vmd_dispatch_vmm: about to stop vm id 4 > vm_stop: stopping vm 4 > > > to enable VMM_DEBUG in sys/arch/amd64/amd64/vmm.c and rebuild the kernel. > > Will try that. > > Thank you! > Best > Olivier >
Thanks for reporting the symptoms Olivier. In order for us to reproduce this and find the root cause, we're going to need the info that Mike was asking: * What guest VM are you running here? * How much memory are you assigning? I would add: * What was your "vmctl start ..." command? Thanks in advance. +--+ Carlos