USB Problem (solved)

Discussions about using Windows guests in VirtualBox.
Post Reply
TomNick
Posts: 13
Joined: 2. Nov 2013, 16:55

USB Problem (solved)

Post by TomNick »

Hi everybody,

I am running VB on a headless Ubuntu Server 12.04. I installed different guests (Windows 7, Windows Server 2008 and all kind of Linux) and all were working perfect. Out of the blue when the guest starts it aborts on an early stage. So I was trying to find the problem and as soon as I deactivated the USB, everthing is working fine and the guest starts like always. Does anybody have any idea, why USB is causing trouble all of the sudden?

Thanks for some help

Tom
Last edited by TomNick on 24. Oct 2014, 19:24, edited 1 time in total.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: USB Problem

Post by socratis »

Minimum information needed for assistance. The most helpful part would be to attach two zipped logs 1) USB enabled and the guest failing and 2) USB disabled and the guest working. Please include the logs from a complete session, i.e. boot and shutdown the guest completely.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
TomNick
Posts: 13
Joined: 2. Nov 2013, 16:55

Re: USB Problem

Post by TomNick »

The most helpful part would be to attach two zipped logs 1) USB enabled and the guest failing and 2) USB disabled and the guest working. Please include the logs from a complete session, i.e. boot and shutdown the guest completely.
Ok, but which one, I got vbox.log, vbox1.log, vbox2.log, vbox3.log?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: USB Problem

Post by loukingjr »

TomNick wrote:
The most helpful part would be to attach two zipped logs 1) USB enabled and the guest failing and 2) USB disabled and the guest working. Please include the logs from a complete session, i.e. boot and shutdown the guest completely.
Ok, but which one, I got vbox.log, vbox1.log, vbox2.log, vbox3.log?
vbox.log is always the most recent. vbox1.log the previous log, etc. so if you launch your guest with USB enabled then shutdown your guest, then start the guest with USB disabled and shutdown. the logs you want to post are vbox.log & vbox1.log.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
TomNick
Posts: 13
Joined: 2. Nov 2013, 16:55

Re: USB Problem

Post by TomNick »

vbox_logs.tar.gz
(20 KiB) Downloaded 6 times
Alright, here are the logs...thank for helping me out here....
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: USB Problem

Post by mpack »

VBox.log wrote: VirtualBox VM 4.3.18 r96516 linux.x86 (Oct 10 2014 20:01:40) release log
...
00:00:00.130022 Installed Extension Packs:
00:00:00.130034 Oracle VM VirtualBox Extension Pack (Version: 4.3.2 r90405; VRDE Module: VBoxVRDP)
USB requires the extension pack, and the extension pack version needs to match the VBox version.
TomNick
Posts: 13
Joined: 2. Nov 2013, 16:55

Re: USB Problem

Post by TomNick »

Ok, so I am trying to renew the extension but got the following result:
~# VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.vbox-extpack
0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to install "/root/Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.vbox-extpack"
VBoxManage: error: Extension pack 'Oracle VM VirtualBox Extension Pack' is already installed. In case of a reinstallation, please uninstall it first
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackManager, interface IExtPackManager
VBoxManage: error: Context: "int handleExtPack(HandlerArg*)" at line 1143 of file VBoxManageMisc.cpp
So I was trying to uninstall and got the next error:
# VBoxManage extpack uninstall Oracle_VM_VirtualBox_Extension_Pack-4.3.2-90405.vbox-extpack
0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to uninstall "Oracle_VM_VirtualBox_Extension_Pack-4.3.2-90405.vbox-extpack"
VBoxManage: error: Invalid extension pack name specified
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackManager, interface IExtPackManager
VBoxManage: error: Context: "int handleExtPack(HandlerArg*)" at line 1183 of file VBoxManageMisc.cpp
Listing:
# VBoxManage list extpacks
Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 4.3.2
Revision: 90405
Edition:
Description: USB 2.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM with E1000 support.
VRDE Module: VBoxVRDP
Usable: true
Why unusable:
Anybody any idea?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: USB Problem

Post by Perryg »

Do you always run your host as root?
TomNick
Posts: 13
Joined: 2. Nov 2013, 16:55

Re: USB Problem

Post by TomNick »

Do you always run your host as root?
Yep, it is just a testing enviroment...
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: USB Problem

Post by Perryg »

Testing or not VirtualBox was not meant to run as root. It throws all normal diagnostics out the window.
TomNick
Posts: 13
Joined: 2. Nov 2013, 16:55

Re: USB Problem

Post by TomNick »

Problem solved:

Remove the old extension pack like
VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"
Install the new extension pack:
sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.vbox-extpack
Everything works
Post Reply