I run VirtualBox for virtual machines, and have done that for some years now (I have started testing bhyve, but that isn't relevant here). A few days agon, one of my virtual machines wasn't responding, and in the course of trying to figure out why, I discovered that the machine had crashed, the VBox.log file for the machine says:
I was already messing around with 'vboxmanage controlvm' so I tried to shutdown the machine with
and there it hangs. ps on the host shows
Currently, there is one other vm running on this host, and it is working and unaffected by this problem. vboxmanage list runningvms output
VirtualBox processes on the host
Has anyone else seen this behavior? Should I do more to figure out why it hangs (before I just kill it)?
The host runs
and the VirtualBox port version is
Not necessarily relevant, but the guest vm that hangs runs FreeBSD too
Code:
59:20:49.257805 ACPI: Reset initiated by ACPI
59:20:49.257844 Changing the VM state from 'RUNNING' to 'RESETTING'
59:20:49.258172 PIT: mode=3 count=0x10000 (65536) - 18.20 Hz (ch=0)
59:20:49.259791 PDMR3Reset: after 1 ms, 1 loops: 1 async tasks - ahci/0
Code:
tingo@kg-v7$ vboxmanage controlvm FreeBSD-trap poweroff
0%...10%...20%...
Code:
root@kg-v7# ps awx -t pts/6 PID TT STAT TIME COMMAND
50492 6 Is 0:00.03 -sh (sh)
50627 6 S+ 19:23.18 /usr/local/lib/virtualbox/VBoxManage controlvm FreeBSD-trap poweroff
Code:
tingo@kg-v7$ vboxmanage list runningvms
"FreeBSD-v5" {5312412c-353b-41bf-9535-497e1c45de44}
Code:
root@kg-v7# ps awx | grep VBox
42080 - S 11:11.58 /usr/local/lib/virtualbox/VBoxXPCOMIPCD
42082 - S 30:58.24 /usr/local/lib/virtualbox/VBoxSVC --auto-shutdown
42083 - S 298:59.87 /usr/local/lib/virtualbox/VBoxHeadless --comment FreeBSD-v5 --startvm 5312412c-353b-41bf-9535-497e1c45d
42239 - S 43:33.71 /usr/local/lib/virtualbox/VBoxHeadless --comment FreeBSD-trap --startvm 36178dfc-fe58-40f8-ba9e-787a4b6
59735 1 S+ 0:00.00 grep VBox
50627 6 S+ 19:24.35 /usr/local/lib/virtualbox/VBoxManage controlvm FreeBSD-trap poweroff
The host runs
Code:
root@kg-v7# uname -a
FreeBSD kg-v7.kg4.no 11.0-STABLE FreeBSD 11.0-STABLE #0 r307729: Fri Oct 21 22:34:13 CEST 2016 root@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
Code:
root@kg-v7# pv virt*
[Reading data from pkg(8) ... - 549 packages found - done]
virtualbox-ose-5.1.6_1 < needs updating (port has 5.1.10)
virtualbox-ose-kmod-5.1.6 < needs updating (port has 5.1.10)
Code:
root@trap# freebsd-version -ku
10.2-RELEASE-p18
10.2-RELEASE-p22
root@trap# uname -a
FreeBSD trap.kg4.no 10.2-RELEASE-p18 FreeBSD 10.2-RELEASE-p18 #0: Sat May 28 08:53:43 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64