Passthrough USB NVME enclosure USB3 crashes Win11 VM (Using USB2 works)

gorstj

New Member
Jul 24, 2024
1
0
1
Grateful for any help with a USB3 NVME enclosure (Ugreen USB 3.1 NVME 10gbps USB C).

Proxmox 8.2.4
Windows 11 VM (same with Ubuntu Jammy)
Ugreen USB3 NVME enclosure RTL9210 M.2 NVME Adapter (link)
AMD Ryzen 5800H mini-pc (link)

If I plug in the enclosure to via a USB3 cable it instantly powers off whichever VM I pass it through to (Win11 or Ubuntu Jammy).
If I try to boot up Win11 it doesn't get past the rotating circle before the VM shuts down (similar in Ubuntu, but can't see the text error it generates as it disappears too quickly!)

If I use a USB2 only cable it connects to Win11 (or Ubunut) fine (but at USB2 480 snail pace!)

The device is listed as:
Code:
root@pve:~# lsusb
Bus 004 Device 004: ID 0bda:9210 Realtek Semiconductor Corp. RTL9210 M.2 NVME Adapter
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2341:0042 Arduino SA Mega 2560 R3 (CDC ACM)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

When it is connected via USB3 it is uses UAS driver:
Code:
root@pve:~# lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 10000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 3: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 3: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 3: Dev 2, If 0, Class=Communications, Driver=usbfs, 12M
    |__ Port 3: Dev 2, If 1, Class=CDC Data, Driver=usbfs, 12M

It is is connected with a USB2 cable it states USBFS driver (not sure this is relevant as this is what Proxmox is using, when passed through to the underlying VM it shouldn't do anything?)

I can attach it to the Win11 VM as a SCSI disk and it works at full speed (1.2GB in a couple of seconds).
1721855915020.png

However, this is supposed to be a USB disk which I copy stuff to for 'offline' storage (i.e. I store backups of various things on it and store it in a safe) - so attaching it as a SCSI disk does not make it very easy to unmount it from Windows?

Grateful for any pointers!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!