Opened 7 years ago
Last modified 2 years ago
#17215 reopened defect
Guest additions command line updating fails (Linux host, Windows guest) => Obsolete
Reported by: | roland651 | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 5.2.0 |
Keywords: | Cc: | ||
Guest type: | Windows | Host type: | Linux |
Description (last modified by )
I have a Linux host (Ubuntu 16.04, 64 bits) and a Windows guest (Windows 7 professional, 64 bits). I try to update the guest additions using the command line.
So I issue the command (from the Linux host, with the VM guest powered on):
VBoxManage guestcontrol "win7" updateadditions --source /usr/share/virtualbox/VBoxGuestAdditions.iso --verbose
The command fails and I get the following output:
Updating Guest Additions ... Using source: /usr/share/virtualbox/VBoxGuestAdditions.iso VBoxManage: error: Could not open guest session: VERR_TIMEOUT VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestWrap, interface IGuest, callee nsISupports VBoxManage: error: Context: "UpdateGuestAdditions(Bstr(strSource).raw(), ComSafeArrayAsInParam(aArgs), ComSafeArrayAsInParam(aUpdateFlags), pProgress.asOutParam())" at line 3667 of file VBoxManageGuestCtrl.cpp
I tried with Virtualbox 5.1.30 and 5.2.0 and I get the same result.
Manually updating the guest additions (withon the guest) works as expected.
And I was also able to start a program within the guest, using commands like:
VBoxManage guestcontrol "win7" --username my_account run --exe "C:\Windows\System32\notepad.exe"
So, I think this issue is clearly a bug...
Attachments (1)
Change History (15)
comment:1 by , 7 years ago
comment:2 by , 6 years ago
This bug is still here, same on me - Host: OpenSuse Leap 15.0, VirtualBox 5.2.14, Guests: Win7/10
comment:3 by , 6 years ago
I tried it, just like the previous time, with:
- Host: OSX 10.11.6
- VirtualBox: 5.2.16
- Guest: Windows XP SP3 with Guest Additions 5.1.26
What I noticed this time though is that on the guest the VirtualBox Guest Additions Service crashed. I did not pay attention last time. That would definitely explain the TIMEOUT because of lost communication with the service.
A matter of the Guest Additions (existing in the VM) then, and not the VBoxManage command? Can't tell for sure...
comment:4 by , 6 years ago
Description: | modified (diff) |
---|
comment:5 by , 3 years ago
This is still not working in 6.1.16:
$ vboxmanage guestcontrol vm -v updateguestadditions Updating Guest Additions ... Using source: /usr/share/virtualbox/VBoxGuestAdditions.iso VBoxManage: error: Could not open guest session: VERR_TIMEOUT VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestWrap, interface IGuest, callee nsISupports VBoxManage: error: Context: "UpdateGuestAdditions(Bstr(strSource).raw(), ComSafeArrayAsInParam(aArgs), ComSafeArrayAsInParam(aUpdateFlags), pProgress.asOutParam())" at line 2766 of file VBoxManageGuestCtrl.cpp
follow-ups: 7 8 comment:6 by , 3 years ago
Continues to be a problem on 6.1.22r144080.
Host: Darwin Kernel Version 18.7.0; root:xnu-4903.278.19~1/RELEASE_X86_64 x86_64
Guest: opentable/win-2012r2-standard-amd64-nocm version 1.0.0
$ /Applications/VirtualBox.app/Contents/MacOS/VBoxManage guestcontrol win2012 updateadditions --source /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso --verbose Updating Guest Additions ... Using source: /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso VBoxManage: error: Could not open guest session: VERR_NOT_FOUND VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestWrap, interface IGuest, callee nsISupports VBoxManage: error: Context: "UpdateGuestAdditions(Bstr(strSource).raw(), ComSafeArrayAsInParam(aArgs), ComSafeArrayAsInParam(aUpdateFlags), pProgress.asOutParam())" at line 2770 of file VBoxManageGuestCtrl.cpp
comment:7 by , 3 years ago
Replying to ParagDoke:
Continues to be a problem on 6.1.22r144080.
Host: Darwin Kernel Version 18.7.0; root:xnu-4903.278.19~1/RELEASE_X86_64 x86_64
Guest: opentable/win-2012r2-standard-amd64-nocm version 1.0.0
$ /Applications/VirtualBox.app/Contents/MacOS/VBoxManage guestcontrol win2012 updateadditions --source /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso --verbose Updating Guest Additions ... Using source: /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso VBoxManage: error: Could not open guest session: VERR_NOT_FOUND VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestWrap, interface IGuest, callee nsISupports VBoxManage: error: Context: "UpdateGuestAdditions(Bstr(strSource).raw(), ComSafeArrayAsInParam(aArgs), ComSafeArrayAsInParam(aUpdateFlags), pProgress.asOutParam())" at line 2770 of file VBoxManageGuestCtrl.cpp
Could you please attach VBox.log?
comment:8 by , 3 years ago
ParagDoke, please note that the issue is not reproducible on my end. Installing GAs works here on Linux and macOS hosts (with Win10 guest in my case). If you still can see the issue, please provide a log file.
comment:9 by , 3 years ago
Status: | new → awaitsfeedback |
---|
comment:10 by , 3 years ago
Resolution: | → obsolete |
---|---|
Status: | awaitsfeedback → closed |
Summary: | Guest additions command line updating fails (Linux host, Windows guest) → Guest additions command line updating fails (Linux host, Windows guest) => Obsolete |
Closing the ticket as an obsolete. If you still have the issue, please reopen and attach VBox.log.
comment:11 by , 2 years ago
Faulting application name: VBoxService.exe, version: 5.1.22.15126, time stamp: 0x590360b4 Faulting module name: VBoxService.exe, version: 5.1.22.15126, time stamp: 0x590360b4 Exception code: 0xc0000005 Fault offset: 0x0000000000054220 Faulting process id: 0x2c4c Faulting application start time: 0x01d853fb4525502c Faulting application path: C:\Windows\System32\VBoxService.exe Faulting module path: C:\Windows\System32\VBoxService.exe Report Id: 02e5f6d4-5a28-4153-a1dd-72b9bbfeeea5 Faulting package full name: Faulting package-relative application ID:
by , 2 years ago
comment:12 by , 2 years ago
Guest::UpdateGuestAdditions("C:
Program Files
Oracle\VirtualBox\VBoxGuestAdditions.iso", null, AdditionsUpdateFlag.AdditionsUpdateFlag_None)
throws System.Runtime.InteropServices.COMException: 'Could not open guest session: VERR_TIMEOUT'
comment:13 by , 2 years ago
That is a try of upgrading from a VM that has Guest additions 5.1.22 installed - running on VirtualBox 6.1.16 - trying to upgrade to 6.1.16.
comment:14 by , 2 years ago
Resolution: | obsolete |
---|---|
Status: | closed → reopened |
I tried it on an OSX host with similar results.