USB Issues ..

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
drone55
Posts: 3
Joined: 2. Jan 2023, 13:50

USB Issues ..

Post by drone55 »

Hello,

I'm running VirtualBox 7 on BigSur 11.3.1, Ubuntu 22.04.01 on that with Oracle 7.0.4 extension pack.

Attempting to access external USB drives (for data rescue purposes) with the following error:

Failed to create a proxy device for the USB device (Error: VERR_PDM_NO_USB_PORTS)
NS_ERROR_FAILURE (0X80004005)
ConsoleWrap

Sometimes there are other errors but on the whole it's this.

What I have tried:

1. Various restarts and reinstalls of the VM and VirtualBox, including from terminal using sudo
2. Several re-installs of everything
3. Plugging things in at different points in the boot process
4. Adding USB filters or selecting the device from the bottom menu bar. Again in different orders
5. Shutting everything down and re-starting in different combinations
6. Command line install of the extension pack

Sometimes there is a glimmer of hope when the drive seems to mount - but then it's gone. After several days I seem to have tried everything without success, and it should be so much easier..

Does anyone have a definitive way of making this work please!?

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

Re: USB Issues ..

Post by scottgus1 »

Carefully go through USB basics and troubleshooting. If you finish all the steps 1-7 and cannot get your USB device into the guest OS, carefully post the outputs of the commands in step 8 as text, not screenshots. Zip and post the logs step 8 call for, using the forum's Upload Attachment tab.
drone55
Posts: 3
Joined: 2. Jan 2023, 13:50

Re: USB Issues ..

Post by drone55 »

Thanks.

No luck, so here goes:

Note: user details replaced with <user>

1. Sharing USB devices
- I can share folders from the host
- This disk does not mount in the host system - file system not supported on MacOS it seems

2. Capturing a USB device in VirtualBox

Neither on-the-fly or filter options work

3. Device categories

No idea what USB category it fits into. Would say ‘uncapturable’ but it’s not captured by the host. Confirmed this in Terminal, Disk Utility, etc.

4. USB Filters


Cannot create a filter without all values, they are required. So not possible to complete this step.

Notes:

a. Suggests Oracle extension pack is not required - is this the case?
b. Are Guest Additions required in addition? Or is it either GA or the extension pack?

5. Common Problems

There are only a couple of these that apply:

a. Error: Busy with a previous request (VERR_RESOURCE_BUSY)

I’ve seen this error but nothing else appears to be using the disk

b. VERR_PDM_NO_USB_PORTS

- I’ve tried with both USB 2 and USB 3 enabled in Settings.
- AFAIK the software versions I’m using support USB 3 - is that the case?

c. No USB devices are listed

The device is listed

d. Device gets randomly disconnected

Not applicable

e. Unknown USB device detected
Not applicable

f. Distinguish identical devices
Not applicable

6. Guest Support

Ubuntu is not listed

7. Troubleshooting

1 - Tried direct and via hub
2 - done all of this
3 - does not show in host
4 - n/a
5 - This is automatically populated
6 - VirtualBox version 7
7 - Using MacOS. Is that therefore regarded as a linux host..?
8 - n/a
9 - n/a


8. Terminal outputs



<user>@<users>-MacBook-Air / % id
uid=501(<user>) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing-disabled),399(com.apple.access_ssh),400(com.apple.access_remote_ae),701(com.apple.sharepoint.group.1)


<user>@<users>-MacBook-Air / % vboxmanage -version
7.0.4r154605


<user>@<users>-MacBook-Air / % vboxmanage list extpacks
Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 7.0.4
Revision: 154605
Edition:
Description: Oracle Cloud Infrastructure integration, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe, full VM encryption.
VRDE Module: VBoxVRDP
Crypto Module: VBoxPuelCrypto
Usable: true
Why unusable:


<user>@<users>-MacBook-Air / % vboxmanage list usbhost
Host USB Devices:

UUID: 3517a109-840e-433e-ba18-dd640d582c3a
VendorId: 0x1e91 (1E91)
ProductId: 0xde2c (DE2C)
Revision: 1.0 (0100)
Port: 0
USB version/speed: 0/High
Manufacturer: Other World Computing
Product: Mercury Pro Optical
SerialNumber: 002933017944
Address: p=0xde2c;v=0x1e91;s=0x0000000083d1b6b3;l=0x14140000
Current State: Busy

UUID: 9070d5c6-9254-42fa-aef1-c5df58cefe37
VendorId: 0x17ef (17EF)
ProductId: 0x7205 (7205)
Revision: 48.0 (4800)
Port: 0
USB version/speed: 0/High
Manufacturer: Lenovo
Product: Thinkpad USB LAN
SerialNumber: 0D7C6C000000
Address: p=0x7205;v=0x17ef;s=0x000000007aa45aa6;l=0x14130000
Current State: Busy

UUID: 92fb1bd7-fbdc-4287-a80c-51394d0d652b
VendorId: 0x174c (174C)
ProductId: 0x1153 (1153)
Revision: 1.0 (0100)
Port: 0
USB version/speed: 0/Super
Manufacturer: Ugreen
Product: Ugreen Storage Device
SerialNumber: 26A1EE8337F2
Address: p=0x1153;v=0x174c;s=0x00007d1e9ecad5f8;l=0x14500000
Current State: Busy

UUID: d00c4604-546e-4902-bae2-54113b54a423
VendorId: 0x1058 (1058)
ProductId: 0x1021 (1021)
Revision: 32.2 (3202)
Port: 0
USB version/speed: 0/High
Manufacturer: Western Digital
Product: Ext HDD 1021
SerialNumber: 5743415A4133313439373633
Address: p=0x1021;v=0x1058;s=0x0000296cd69d5bb9;l=0x14113000
Current State: Busy

UUID: 35c10ea8-9b0c-4f2a-b98f-fcd25bac7d02
VendorId: 0x1058 (1058)
ProductId: 0x1021 (1021)
Revision: 32.2 (3202)
Port: 0
USB version/speed: 0/High
Manufacturer: Western Digital
Product: Ext HDD 1021
SerialNumber: 574341563543323238323733
Address: p=0x1021;v=0x1058;s=0x0000000086ad63eb;l=0x14111000
Current State: Busy

UUID: f828f7a3-0080-4fb5-b0a9-9df897707903
VendorId: 0x05ac (05AC)
ProductId: 0x828f (828F)
Revision: 1.80 (0180)
Port: 0
USB version/speed: 0/Full
Manufacturer: Apple Inc.
Product: Bluetooth USB Host Controller
Address: p=0x828f;v=0x05ac;s=0x0000000093397d46;l=0x14330000
Current State: Busy

UUID: 9230577f-5e1e-4e98-ade8-6f384b69902b
VendorId: 0x05ac (05AC)
ProductId: 0x024f (024F)
Revision: 1.24 (0124)
Port: 0
USB version/speed: 0/Low
Manufacturer: Matias
Product: Matias Notebook Pro Keyboard
Address: p=0x024f;v=0x05ac;s=0x00003472610d858d;l=0x14112400
Current State: Unavailable


<user>@<users>-MacBook-Air / % vboxmanage list usbfilters
Global USB Device Filters:

<none>


<user>@<users>-MacBook-Air / % vboxmanage showvminfo Ubuntu-015
Name: Ubuntu-015
Encryption: disabled
Groups: /
Guest OS: Ubuntu (64-bit)
UUID: 05ab5356-7433-4b5e-8d2b-816bdb75a04a
Config file: /Users/<user>/VirtualBox VMs/Ubuntu-015/Ubuntu-015.vbox
Snapshot folder: /Users/<user>/VirtualBox VMs/Ubuntu-015/Snapshots
Log folder: /Users/<user>/VirtualBox VMs/Ubuntu-015/Logs
Hardware UUID: 05ab5356-7433-4b5e-8d2b-816bdb75a04a
Memory size: 2048MB
Page Fusion: disabled
VRAM size: 16MB
CPU exec cap: 100%
HPET: disabled
CPUProfile: host
Chipset: piix3
Firmware: BIOS
Number of CPUs: 1
PAE: disabled
Long Mode: enabled
Triple Fault Reset: disabled
APIC: enabled
X2APIC: enabled
Nested VT-x/AMD-V: disabled
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode: message and menu
Boot Device 1: Floppy
Boot Device 2: DVD
Boot Device 3: HardDisk
Boot Device 4: Not Assigned
ACPI: enabled
IOAPIC: enabled
BIOS APIC mode: APIC
Time offset: 0ms
BIOS NVRAM File: /Users/<user>/VirtualBox VMs/Ubuntu-015/Ubuntu-015.nvram
RTC: UTC
Hardware Virtualization: enabled
Nested Paging: enabled
Large Pages: enabled
VT-x VPID: enabled
VT-x Unrestricted Exec.: enabled
AMD-V Virt. Vmsave/Vmload: enabled
IOMMU: None
Paravirt. Provider: Default
Effective Paravirt. Prov.: KVM
State: powered off (since 2023-01-03T12:22:43.150000000)
Graphics Controller: VMSVGA
Monitor count: 1
3D Acceleration: disabled
2D Video Acceleration: disabled
Teleporter Enabled: disabled
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: disabled
Allow Tracing to Access VM: disabled
Tracing Configuration:
Autostart Enabled: disabled
Autostart Delay: 0
Default Frontend:
VM process priority: default
Storage Controllers:
#0: 'IDE', Type: PIIX4, Instance: 0, Ports: 2 (max 2), Bootable
Port 1, Unit 0: Empty, ejected
#1: 'SATA', Type: IntelAhci, Instance: 0, Ports: 1 (max 30), Bootable
Port 0, Unit 0: UUID: 1038b73a-4f18-4671-9d4a-53866ab5a395
Location: "/Users/<user>/VirtualBox VMs/Ubuntu-015/Ubuntu-015.vdi"
NIC 1: MAC: 0800275BFFDA, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings: MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
UART 3: disabled
UART 4: disabled
LPT 1: disabled
LPT 2: disabled
Audio: enabled (Driver: Default, Controller: AC97, Codec: AD1980)
Audio playback: enabled
Audio capture: disabled
Clipboard Mode: disabled
Drag and drop Mode: disabled
VRDE: disabled
OHCI USB: enabled
EHCI USB: enabled
xHCI USB: disabled
USB Device Filters:
Index: 0
Active: yes
Name: Ugreen Storage Device [0100]
VendorId: 174c
ProductId: 1153
Revision: 0100
Manufacturer: Ugreen
Product: Ugreen Storage Device
Remote: 0
Serial Number: 26A1EE8337F2
Bandwidth groups: <none>
Shared folders: <none>
Recording enabled: no
Recording screens: 1
Screen 0:
Enabled: yes
ID: 0
Record video: yes
Record audio: no
Destination: File
File: /Users/<user>/VirtualBox VMs/Ubuntu-015/Ubuntu-015-screen0.webm
Options: vc_enabled=true,ac_enabled=false,ac_profile=med
Video dimensions: 1024x768
Video rate: 512kbps
Video FPS: 25fps
* Guest:
Configured memory balloon: 0MB


Log file

- There was only one displayed. Saved it down, removed user details.
- Attached here.
Attachments
Ubuntu-015-2023-01-03-12-22-44.log.zip
vbox log file
(37.98 KiB) Downloaded 5 times
drone55
Posts: 3
Joined: 2. Jan 2023, 13:50

Re: USB Issues ..

Post by drone55 »

Hello

Any thoughts please..?

My current thinking is to give up and dump Virtualbox, but I really would rather not :(

Thanks
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: USB Issues ..

Post by fth0 »

I'd suggest to use VirtualBox 6.1.40. On macOS hosts, VirtualBox 6.1.40 uses its own kernel extension (VBoxUSB.kext) to access USB devices.

On macOS hosts, VirtualBox 7.0.4 does not use kernel extensions any more. In consequence, the access to USB devices uses a new implementation, which may have new bugs, and depends on macOS giving access to the USB devices.
Post Reply