VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (604 - 606 of 16363)

Ticket Resolution Summary Owner Reporter
#6684 obsolete usbfs used by VB process fills syslog after suspend-resume of host (until disk full!) Oliver
Description

I use VirtualBox 3.1.8 (non-OSE) on a laptop host (HP Compaq nx8220) under Ubuntu 9.10. And I run Ubuntu 10.04 as client OS.

When I connect the USB device "Bluetooth adapter" to the client, everything works as expected. But after suspend-resume of the host the VB process begins to fill /var/log/kern.log, /var/log/syslog and /var/log/messages of the host with lines saying:

oliverhp kernel: [ 1232.854921] usb 3-2: usbfs: process 4918 (VirtualBox) did not claim interface 0 before

When I measured, there were about 23 lines per second in each of the 3 logfiles (about 500 kB/min). But the bug got detected after it filled about 300 MB in less than 2 hours until the root partition was full! So I dare to mark this bug as critical. But as not so many people are affected, I won't mind to lower its priority.

Affected USB device:

# lsusb
Bus 003 Device 002: ID 03f0:011d Hewlett-Packard Integrated Bluetooth Module

usbfs in /etc/fstab:

# cat /etc/fstab
none /proc/bus/usb usbfs defaults,devgid=46,devmode=666,nodev,nosuid,noexec 0 0

I have no other suspend-resume problems with my host when VB is not running. No wonder because VB is probably the only application which uses usbfs on my system.

#4589 obsolete usbfilters details Lacsap
Description

Hi,

I'm using VirtualBox 3.0.2 PUEL edition on a GNU/Linux host : everything works perfectly. My system is on a usb stick and this system stick appears in the list of available usb devices for guests.

If, by mistake, instead of choosing the correct usb device freshly inserted, I check my stick in the list, I freeze the system !

The documentation says """The usbfilter commands are used for working with ... global filters which affect the whole VirtualBox setup. Global filters are applied before machine-specific filters, and may be used to prevent devices from being captured by any virtual machine. Global filters are always applied in a particular order, and only the first filter which fits a device is applied.""".

I tried this : VBoxManage usbfilter add 0 --target global --action ignore --vendorid 1234 --productid 1234 --serialnumber 123456789012. But this has no effect: my stick still appears in the list and so, can be captured. Note that serial number is not returned by the command VBoxManage list usbfilters.

Thanks for VirtualBox.

#15688 obsolete usbdetach does not work in VB 5.1.2 as it worked in VB 5.0.24 or 5.0.22 (absolutely not working) John Dan
Description

usbdetach does not work in VB 5.1.2 as it worked in VB 5.0.24 or 5.0.22 (absolutely not working)

Host: Windows 2012 R2 x64, VirtualBox 5.1.2
Guest: Windows XP SP3 x86

I had an USB device that is used in Virtual Machine. Periodically this USB device may "hang" by strange issues (BTW, probably, VB issues). Reattaching device manually (physically) solving all issues - device working fine. So, I had made a solution, to make it possible to do it automatically or even remotely. I just created special .cmd file, that I'm runing. This .cmd file do the following:

"%VB_PATH%\VBoxManage.exe" list usbhost > _list

Then special script is parsing _list file and founds UUID and Address of required device. Then it do the following:

"%VB_PATH%\VBoxManage.exe" controlvm "{guidofmy-vmgu-idof-myvm-guidofmyvmxx}" usbdetach "%Address%"

then delay for about 10 seconds

"%VB_PATH%\VBoxManage.exe" controlvm "{guidofmy-vmgu-idof-myvm-guidofmyvmxx}" usbattach "%UUID%"

This is helped in 100% cases. USB-device were removed and then attached to the system. This worked perfectly remotely on v5.0.24 or 5.0.22. But with v5.1.2 I have a few problems.

1) Previously all entries in _list had UUID and Address fields.

Few samples from different devices that I had used (XXXX - masked by me):

UUID:               68804297-e43a-49c8-b64f-1de1d3ccd4f4
...
Address:            \\?\usb#vid_XXXX&pid_XXXX#6&79bee0&0&2#{00873fdf-cafe-80ee-aa5e-00c04fb1720b}
Current State:      Captured

UUID:               510524f6-12e4-4bd7-ab91-bb38de307f97
...
Address:            \\?\usb#vid_XXXX&pid_XXXX#5&1cc0e58a&0&11#{00873fdf-cafe-80ee-aa5e-00c04fb1720b}
Current State:      Captured

But the current version if USB devices is hang writes only in the following way... without Address field!

UUID:               3f46619b-b830-4ae2-ba69-2052408b0cd8
VendorId:           0xXXXX (XXXX)
ProductId:          0xXXXX (XXXX)
Revision:           X.XX (XXXX)
Port:               0
USB version/speed:  2/High
Manufacturer:       XXXXXXXXXXXXXXXXX
Product:            XXXXXXXXXXXXXXXXX
Current State:      Captured

To compare with other devices (BTW, Address field format is changed):

UUID:               601ca5f7-79f2-4cea-b4ab-799449c4848f
VendorId:           0x152d (152D)
ProductId:          0x0551 (0551)
Revision:           1.0 (0100)
Port:               0
USB version/speed:  3/Super
Manufacturer:       JMicron
Product:            USB to ATA/ATAPI Bridge
SerialNumber:       1331A3FFFFFF
Address:            {36fc9e60-c465-11cf-8056-444553540000}\0015
Current State:      Busy

I think there is a bug, why that Captured devices have no "Address" field? It is an issue #1.

2) Now the main issue: I cannot detach such device and reattach it using software. Only manually (physically by hands :). [GUID is changed]

I had tried to make all commands using UUID (because Address field is not exist) - does not helped!

VBoxManage.exe controlvm "{guidofmy-vmgu-idof-myvm-guidofmyvmxx}" usbdetach "3f46619b-b830-4ae2-ba69-2052408b0cd8"
VBoxManage.exe: error: USB device with UUID {3f46619b-b830-4ae2-ba69-2052408b0cd8} is not attached to this machine
VBoxManage.exe: error: Details: code E_INVALIDARG (0x80070057), component ConsoleWrap, interface IConsole, callee IUnknown
VBoxManage.exe: error: Context: "DetachUSBDevice(usbId.raw(), dev.asOutParam())" at line 1015 of file VBoxManageControlVM.cpp

VBoxManage.exe controlvm "{guidofmy-vmgu-idof-myvm-guidofmyvmxx}" usbattach "3f46619b-b830-4ae2-ba69-2052408b0cd8"
VBoxManage.exe: error: USB device 'Altair Semiconductor Modem YOTA 4G LTE' with UUID {3f46619b-b830-4ae2-ba69-2052408b0cd8} is busy with a previous request. Please try again later
VBoxManage.exe: error: Details: code E_INVALIDARG (0x80070057), component HostUSBDeviceWrap, interface IHostUSBDevice, callee IUnknown
VBoxManage.exe: error: Context: "AttachUSBDevice(usbId.raw(), captureFilename.raw())" at line 1010 of file VBoxManageControlVM.cpp

So, how to fix that? How to detach that captured USB device and reattach it to VM without physical access to computer/USB device?!

Please fix that USB-issue.

Some information from VBox.log (xxxx:xxxx - VID:PID changed by me)

23:35:17.511713 VUSB: Detached '00000000043bf780[proxy xxxx:xxxx]' from port 1
42:01:51.128576 VUSB: Attached '00000000043c0080[proxy xxxx:xxxx]' to port 1
44:22:01.948563 GUI: UIMachineLogic: Host-screen available-area changed
44:22:01.948626 GUI: UIMachineLogic: Host-screen count changed
44:22:02.871521 GUI: UIMachineLogic: Host-screen available-area changed
44:22:47.943848 VUSB: Detached '00000000043c0080[proxy xxxx:xxxx]' from port 1
44:22:48.469346 DSound: Stop playback stream 0000000004356520 when closing ERROR_SYSTEM_TRACE 0x88780096
44:22:48.469708 DSound: DirectSound playback is currently unavailable
44:22:48.470161 DSound: DirectSound playback is currently unavailable
44:22:48.470584 DSound: Starting playback failed with E_UNEXPECTED
44:22:48.470671 DSound: DirectSound playback is currently unavailable
50:34:51.291678 GUI: UIMachineLogic: Host-screen count changed
50:34:51.298377 GUI: UIMachineLogic: Host-screen available-area changed
50:34:51.408678 GUI: UIMachineLogic: Host-screen available-area changed
50:34:51.418295 GUI: UIMachineLogic: Host-screen available-area changed
50:34:51.472805 GUI: UIMachineLogic: Host-screen available-area changed
54:26:42.935114 ERROR [COM]: aRC=E_INVALIDARG (0x80070057) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={USB device with UUID {3f46619b-b830-4ae2-ba69-2052408b0cd8} is not attached to this machine}, preserve=false aResultDetail=0
54:27:26.194557 ERROR [COM]: aRC=E_INVALIDARG (0x80070057) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={USB device with UUID {3f46619b-b830-4ae2-ba69-2052408b0cd8} is not attached to this machine}, preserve=false aResultDetail=0
54:30:40.386148 ERROR [COM]: aRC=E_INVALIDARG (0x80070057) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={USB device with UUID {3f46619b-b830-4ae2-ba69-2052408b0cd8} is not attached to this machine}, preserve=false aResultDetail=0
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy