VirtualBox

Opened 9 years ago

Last modified 7 years ago

#14340 new defect

VBoxSVC usb initialization causes host USB device to disconnect

Reported by: Hugh Owned by:
Component: USB Version: VirtualBox 5.0.0
Keywords: Cc:
Guest type: all Host type: Windows

Description

VirtualBox is causing the (host) SD card reader on my Microsoft Surface Pro 3 to disconnect/crash when VBoxSVC attempts to enumerate / initialize theUSB devices on the host. Any VirtualBox activity that attempts to enumerate the host USB devices (i.e. starting the VirtualBOX GUI, or executing a "VBoxManage list usbdevices") appears to cause this problem.

This occurs without any guest VM's running, and without any USB devices being configured for capture by VirtualBox.

I don't know if this is a bug in the Windows SD card driver that's being exposed by VirtualBox, or if it's a bug in VirtualBox itself.

To reproduce:

  1. On a Surface Pro 3, mount an SD card
  2. Initiate a large file copy to the SD card.
  3. While the file copy is underway, execute the "VBoxManage list usbdevices" command. (or just start the VirtualBox GUI)

Expected result: Files continue to copy to the SD card

Actual result: The SD card volume drops offline. Windows displays a "destination does not exist" error. The windows event log shows a "An error was detected on device \Device\Harddisk2\DR2 during a paging operation." error.

The only error that I see in VBoxSVC.log file is "Getting USB descriptor failed with error 31".

I have not attached the VBox.log file, as this error occurs without any guest instances running.

Attachments (1)

VBoxSVC.log (2.2 KB ) - added by Hugh 9 years ago.

Download all attachments as: .zip

Change History (8)

by Hugh, 9 years ago

Attachment: VBoxSVC.log added

comment:1 by isgdre, 9 years ago

I'm having similar difficulties. In my case a hardware kvm (usb) switch is switching systems. This makes me think there is a change from 4.3.x -> 5.0 in the USB side of the host computer.

(I'd one up this ticket but I don't know how on this system)

comment:2 by Frank Mehnert, 8 years ago

We tried on several systems but unfortunately we cannot reproduce the problem.

comment:3 by SFNT, 7 years ago

We have same issue, loosing usb device when plug or unplug an usb dongle to the host. Host is Ubuntu 16.04.2 64Bit and Virtual Box 5.1.18. This issue occurs on a Windows 10 64Bit host also.

in reply to:  3 ; comment:4 by Frank Mehnert, 7 years ago

Replying to SFNT:

We have same issue, loosing usb device when plug or unplug an usb dongle to the host. Host is Ubuntu 16.04.2 64Bit and Virtual Box 5.1.18. This issue occurs on a Windows 10 64Bit host also.

Are you using any USB filters in the VM settings?

comment:5 by SFNT, 7 years ago

Yes, usb 1.1 OHCI and a generic filter (empty fields)

in reply to:  4 comment:6 by SFNT, 7 years ago

Replying to frank:

Replying to SFNT:

We have same issue, loosing usb device when plug or unplug an usb dongle to the host. Host is Ubuntu 16.04.2 64Bit and Virtual Box 5.1.18. This issue occurs on a Windows 10 64Bit host also.

Are you using any USB filters in the VM settings?

Yes, usb 1.1 OHCI and a generic filter (empty fields)

in reply to:  5 comment:7 by Socratis, 7 years ago

Replying to SFNT:

Yes, usb 1.1 OHCI and a generic filter (empty fields)

  1. A blank USB filter will capture everything, you need to make it more specific, by filling in at least the Vendor ID and Product ID.
  2. The original problem was talking about a Surface pro host. You're not even using a Windows host. Just because a problem mentions USB, does not make it the same problem.

It's usually better and faster, if problems like this one (configuration, question) get first addressed in the forums (https://forums.virtualbox.org/). More than 95% of the issues are resolved over there, which keeps the developers focusing on the bug fixes and enhancements, and there is no need for another ticket to keep track of. For example, yours is not a bug and someone from the developers has to deal with it and close it as "Invalid".

So, if you can, please open a new thread in the VirtualBox on Linux Hosts section of the forums. Be sure to say that you came from the bugtracker and include the ticket #.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use