Page 1 of 1

'VBoxManage debugvm guest_analysis osinfo' returns VERR_DBGF_OS_NOT_DETCTED

Posted: 29. Feb 2020, 02:45
by rbarak
When I execute VBoxManage debugvm guest_analysis osinfo, I get:
VBoxManage: error: DBGFR3OSQueryNameAndVersion failed with VERR_DBGF_OS_NOT_DETCTED
VBoxManage: error: Details: code VBOX_E_VM_ERROR (0x80bb0003), component MachineDebuggerWrap, interface IMachineDebugger, callee nsISupports
VBoxManage: error: Context: "GetOSName(bstrName.asOutParam())" at line 366 of file VBoxManageDebugVM.cpp
Is my command syntax invalid?

Re: 'VBoxManage debugvm guest_analysis osinfo' returns VERR_DBGF_OS_NOT_DETCTED

Posted: 29. Feb 2020, 15:39
by scottgus1
Doesn't seem to be wrong, according to https://www.virtualbox.org/manual/ch08. ... ge-debugvm

Googling "VERR_DBGF_OS_NOT_DETCTED site:forums.virtualbox.org" returns only your above post. So this one appears to be an 'un-forumed' error.

Re: 'VBoxManage debugvm guest_analysis osinfo' returns VERR_DBGF_OS_NOT_DETCTED

Posted: 2. Mar 2020, 19:58
by rbarak
Looking in Introspection and guest debugging, I found that I cannot execute the VBoxManage debugvm osinfo on its own, but need first to execute VBoxManage debugvm osdetect (a bit unintuitive, but I guess the command's coder had good reasons not to execute internally the osdetect before executing the osinfo):

Code: Select all

$ VBoxManage debugvm guest_analysis osdetect
Detected: Linux
$ VBoxManage debugvm guest_analysis osinfo
Name:    Linux
Version: Linux version 3.10.0-862.2.3.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Wed May 9 18:05:47 UTC 2018