USB problem after upgrade

genel

Renowned Member
Nov 20, 2012
8
0
66
I just upgraded Proxmox from version 6.2 to 6.4 (now running 6.4-8). One of my virtual machines has problem starting. I get the following warning:

kvm: Warning: speed mismatch trying to attach usb device "USB3.1 SATA Bridge" (unknown speed) to bus "xhci.0", port "1" (full+high+super speed)

The machine starts but the USB port is not attached. I have not been able to find much information on this online.

Before the upgrade the USB devices were attached just fine.

kvm --version says: QEMU emulator version 5.2.0 (pve-qemu-kvm_5.2.0)

An lsusb -t produces this:
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 10000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 10000M
|__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=uas, 10000M
|__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=uas, 10000M
|__ Port 3: Dev 5, If 0, Class=Mass Storage, Driver=uas, 10000M
|__ Port 4: Dev 6, If 0, Class=Mass Storage, Driver=uas, 10000M

/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 5: Dev 3, If 0, Class=Human Interface Device, Driver=usbfs, 12M
|__ Port 9: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M

I have attached the output of lsusb -v

Does anyone have any suggestions?
 

Attachments

did it work before (i cannot see from the qemu code how it could have)?

qemu up to 5.2 does not properly detect speeds > 5000, and prevents attaching the device

this will be solved with a newer qemu ( >= 6.0, not with pve 6.x anymore)

it is probably a better idea to passthrough the usb controller as a whole, since it will reach those speeds easier

alternatively, maybe there is a way to limit the speed? maybe by using a different (non 10Gbit) cable?
or plugging it into a 5gbit port?
 
Yes, it worked just fine before the upgrade. I liked it because there are four drives in the cabinet and I could assign them to different machines. Do you know when Proxmox might support the faster devices?
 
Yes, it worked just fine before the upgrade.
mhmm... thats weird, maybe a kernel upgrade enabled the >5000 speed ? do you know what version you ran on exactly?

Do you know when Proxmox might support the faster devices?
qemu 6 is included in the recently released 7.0 beta and will be included in the final 7.0 as well
 
Other than it was Proxmox 6.2, I don't know the exact revision of the component software. I have an unused USB 3.1 Gen 1 (5000 mbs) available, would that work?

Is there a beta program for qemu 7? How does on join?