utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.7k stars 1.34k forks source link

SanDisk Extreme 2TB SSD: unable to enumerate USB device #6764

Open keithrdavis opened 2 hours ago

keithrdavis commented 2 hours ago

Describe the issue
USB unable to enumerate device.

I have a SanDisk Extreme 2TB USB SSD. On a bare metal install of Ubuntu AMD64 24.04 the drive is properly recognized. On Ubuntu ARM64 24.04 running as a guest, the device shows under available USB devices on UTM; however, when trying to mount the drive it fails with "unable to enumerate device". I have a smaller SanDisk thumbdrive of 256GB which mounts without issue. I am thinking it has something to do with the virtual USB device that is created by QEMU for the 2TB physical drive.

Configuration

Crash log
N/A

Debug log

sudo dmesg -w

[ 872.368394] usb 3-1: new high-speed USB device number 2 using xhci_hcd [ 872.499797] usb 3-1: Invalid ep0 maxpacket: 9 [ 872.618115] usb 3-1: new high-speed USB device number 3 using xhci_hcd [ 872.756947] usb 3-1: Invalid ep0 maxpacket: 9 [ 872.757862] usb usb3-port1: attempt power cycle [ 872.954015] usb 3-1: new high-speed USB device number 4 using xhci_hcd [ 872.969877] usb 3-1: Invalid ep0 maxpacket: 9 [ 873.093857] usb 3-1: new high-speed USB device number 5 using xhci_hcd [ 873.109780] usb 3-1: Invalid ep0 maxpacket: 9 [ 873.110631] usb usb3-port1: unable to enumerate USB device

keithrdavis commented 2 hours ago

Here is the UTM USB config:

Screenshot 2024-10-22 at 11 31 15 AM