virtualbox-guest-additions-iso broke USB 2.0, 3.0

Discussions related to using VirtualBox on Linux hosts.
Post Reply
amccombs
Posts: 22
Joined: 7. Jun 2010, 18:37
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP

virtualbox-guest-additions-iso broke USB 2.0, 3.0

Post by amccombs »

On Ubuntu 20.04, VirtualBox 6.1.22_Ubuntu r144080

I am trying to use Terabyte "Image for DOS" to restore a backup on VirtualBox.
before I updated the virtualbox-guest-additions-iso, I used Settings > USB > USB 3.0, USB 1.1 and 2.0 will not mount the USB drive. I would get
In Image for DOS, I get "No usable HD found" when selecting to Restore from USB.

I did some searching and found that I had to update my software, but that made things worse as the Virtual OSs won't boot when VirtualBox > Settings > USB > USB 2.0 or 3.0 is selected.

How do I fix USB 2.0 and 3.0?

I already have my user to group disk, and vboxusers
I have installed gnome-system-tools and my user already has "Use VirtualBox virtualization solution"
I have already uninstalled and re-installed virtualbox

I updated my virtualbox and uninstall/re-installed today to:
virtualbox-6.1_6.1.26-145957~Ubuntu~eoan_amd64.deb
Oracle_VM_VirtualBox_Extension_Pack-6.1.26.vbox-extpack

After doing this:
sudo apt install virtualbox virtualbox-guest-additions-iso

I got this:

When I have USB 1.1 enabled:
OS will boot but VirtualBox will not mount USB:
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
ConsoleWrap
Interface:
IConsole {872da645-4a9b-1727-bee2-5585105b9eed}


When I have USB 2.0 enabled:
Failed to open a session for the virtual machine Windows_10_TurboTax.
The VM session was aborted.
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: SessionMachine
Interface: ISession {c0447716-ff5a-4795-b57a-ecd5fffa18a4}

When I have USB 3.0 enabled:
Failed to open a session for the virtual machine Windows7_1.
Failed to construct device 'usb-xhci' instance #0 (VERR_PDM_DEVHLP_VERSION_MISMATCH).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Attachments
Windows7_1-2021-08-20-15-.7z
VisutalBox log files
(38.54 KiB) Downloaded 8 times
Last edited by scottgus1 on 21. Aug 2021, 00:28, edited 1 time in total.
Reason: added a couple quotes to show 'Image for DOS' as a product
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: virtualbox-guest-additions-iso broke USB 2.0, 3.0

Post by scottgus1 »

I added a couple of quotes around the first "Image for DOS". At first I thought, How could a DOS OS access a terabyte drive? :lol:

Terabyte's "Image for DOS" is a disk backup program.

Guest Additions does not influence USB.

USB 2 and 3 are dependent on the Extension Pack being installed. The EP version must match the installed Virtualbox version. Then you can use USB 2 or 3. Note that your host PC needs USB 3 jacks and external drive to achieve USB 3 speeds.

You report having the matching EP installed. However, a web search on VERR_PDM_DEVHLP_VERSION_MISMATCH indicates the VM may have been in a saved state when Virtualbox and EP were upgraded? If so, the saved state has to be cleared, either by right-clicking the VM in the list and discarding the saved state, losing unsaved data, or downgrading Virtualbox back to the original version so the VM can be started and shut down normally.

A Stack-Exchange-style frame challenge: Are you only trying to back up the VM? If so, copying the properly-shut-down (not saved state) VM folder and any disk files residing outside the disk folder is a very solid method of backup, allowing backup integrity check by FC file-comparing the backup and original.
amccombs
Posts: 22
Joined: 7. Jun 2010, 18:37
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP

Re: virtualbox-guest-additions-iso broke USB 2.0, 3.0

Post by amccombs »

I Right clicked and Discard Saved State is disabled. The state of the VMs shows "Powered Off".

I am trying to restore a backup onto a VM.

I created a new VM, set USB to 2.0, currently there aren't any USB drives in, the error appears a couple of seconds after clicking Start:

Failed to open a session for the virtual machine Windows7_2.

Failed to construct device 'usb-ehci' instance #0 (VERR_PDM_DEVHLP_VERSION_MISMATCH).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
amccombs
Posts: 22
Joined: 7. Jun 2010, 18:37
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP

Re: virtualbox-guest-additions-iso broke USB 2.0, 3.0

Post by amccombs »

Downgraded the extpack to 6.1.18 and now it boots.

https://www.reddit.com/r/pop_os/comment ... th_pop_os/

-newer rarely means better.

Thank you for your reply.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: virtualbox-guest-additions-iso broke USB 2.0, 3.0

Post by scottgus1 »

amccombs wrote:-newer rarely means better.
In many circumstances this is true. But it's not supposed to be in the case of the Extension Pack. There could be a bug, but it could be something local to your PC too, possibly such as using the Ubuntu fork of Virtualbox instead of the official version from https://www.virtualbox.org/wiki/Linux_Downloads.

Glad you're up and running!
Post Reply