'VBoxManage debugvm guest_analysis osinfo' returns VERR_DBGF_OS_NOT_DETCTED

Discussions related to using VirtualBox on Linux hosts.
Post Reply
rbarak
Posts: 52
Joined: 25. Sep 2018, 20:43

'VBoxManage debugvm guest_analysis osinfo' returns VERR_DBGF_OS_NOT_DETCTED

Post 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?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: 'VBoxManage debugvm guest_analysis osinfo' returns VERR_DBGF_OS_NOT_DETCTED

Post 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.
rbarak
Posts: 52
Joined: 25. Sep 2018, 20:43

Re: 'VBoxManage debugvm guest_analysis osinfo' returns VERR_DBGF_OS_NOT_DETCTED

Post 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
Post Reply