USB 3 Compatibility for Proxmox 2.1?

bhennigar

Member
Mar 20, 2012
62
0
6
Haliafax, NS Canada
Is Proxmox 2.1 compatible with USB3 PCI-Express cards?
I'd like to backup to an external USB drive using USB3 but wanted to make sure it supports it before buying the USB3 card.

Thanks!
 
I wanted to update this. I bought a StarTech 2 Port SuperSpeed USB 3.0 PCI Express Card with SATA Power (Part # PEXUSB3S22) and it worked right away with Proxmox 2.1. I have a USB 3 external drive attached and set KVMs to backup to it using LZO compression. I get an average of 60MiB/s.

Update: I just ran a snapshop backup (LZO) of Windows server 2008 and the archive size was 9.76GB and took 00:39 minutes at 129.78MiB/s.
 
Last edited:
I wanted to update this. I bought a StarTech 2 Port SuperSpeed USB 3.0 PCI Express Card with SATA Power (Part # PEXUSB3S22) and it worked right away with Proxmox 2.1. I have a USB 3 external drive attached and set KVMs to backup to it using LZO compression. I get an average of 60MiB/s.

Update: I just ran a snapshop backup (LZO) of Windows server 2008 and the archive size was 9.76GB and took 00:39 minutes at 129.78MiB/s.

Nice - thanks for the updates : )
 
NEC USB 3.0 chipset card, not working, odd error messages in the log.

xhci_hcd 0000:08:00.0: xHCI host not responding to stop endpoint command.
xhci_hcd 0000:08:00.0: Assuming host is dying, halting host.
xhci_hcd 0000:08:00.0: Non-responsive xHCI host is not halting.
xhci_hcd 0000:08:00.0: Completing active URBs anyway.
xhci_hcd 0000:08:00.0: HC died; cleaning up
usb 5-2: device descriptor read/8, error -110
usb 5-2: new SuperSpeed USB device number 2 using xhci_hcd
usb 5-2: device descriptor read/8, error -108
xhci_hcd 0000:08:00.0: Timeout while waiting for a slot
hub 5-0:1.0: couldn't allocate port 2 usb_device



08:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI])
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at ff5fe000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [50] Power Management version 3
Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [90] MSI-X: Enable+ Count=8 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
Kernel driver in use: xhci_hcd


root@pmx4:~# pveversion -v
pve-manager: 2.2-26 (pve-manager/2.2/c1614c8c)
running kernel: 2.6.32-16-pve
proxmox-ve-2.6.32: 2.2-80
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-16-pve: 2.6.32-80
pve-kernel-2.6.32-12-pve: 2.6.32-68
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-1
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-28
qemu-server: 2.0-64
pve-firmware: 1.0-21
libpve-common-perl: 1.0-37
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-34
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.2-7
ksm-control-daemon: 1.1-1
 
Last edited:
Hi guys,

i also tried to pass a usb 3.0 HDD to a kvm guest. usb 2.0 is working, 3.0 no way. Im a little bit puzzled about this link http://www.linux-kvm.com/content/qemu-kvm-11-adds-experimental-support-usb-30. For @bhennigar it seems to work flawlessly ... Can you give me a stand on this so I can dig further?

Thanks!

I'm not using USB passthrough with my USB 3 card. I'm using it to mount an external hard drive and using it as a backup target for virtual hosts.
 
I'm not using USB passthrough with my USB 3 card. I'm using it to mount an external hard drive and using it as a backup target for virtual hosts.

That's what I had in mind as well. Would you mind showing "lsusb" "lsusb -t" and "lsmod" and "dmesg | grep xhci"" ? I'd like to see what I'm missing..
 
Hope this helps!

lsusb
Bus 010 Device 002: ID 0bc2:3320 Seagate RSS LLC
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb -t
/: Bus 10.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/: Bus 09.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/4p, 480M
|__ Port 3: Dev 2, If 0, Class=hub, Driver=hub/2p, 480M

lsmod
Module Size Used by
des_generic 16620 0
ecb 2225 0
md4 3477 0
nls_utf8 1455 0
cifs 279869 0
vzethdev 8249 0
vznetdev 18944 0
simfs 4480 0
vzrst 185313 0
nf_nat 23181 1 vzrst
nf_conntrack_ipv4 9946 2 nf_nat
nf_defrag_ipv4 1531 1 nf_conntrack_ipv4
vzcpt 141775 1 vzrst
nfs 414919 2 vzrst,vzcpt
lockd 77737 2 vzrst,nfs
fscache 46811 1 nfs
nfs_acl 2695 1 nfs
auth_rpcgss 44941 1 nfs
sunrpc 268752 5 nfs,lockd,nfs_acl,auth_rpcgss
nf_conntrack 80469 4 vzrst,nf_nat,nf_conntrack_ipv4,vzcpt
vzdquota 55883 0 [permanent]
vzmon 24018 3 vznetdev,vzrst,vzcpt
vzdev 2765 4 vzethdev,vznetdev,vzdquota,vzmon
ip6t_REJECT 4743 0
ip6table_mangle 3637 0
ip6table_filter 3001 0
ip6_tables 19714 2 ip6table_mangle,ip6table_filter
xt_length 1338 0
xt_hl 1547 0
vhost_net 31368 2
xt_tcpmss 1623 0
macvtap 9900 1 vhost_net
macvlan 10228 1 macvtap
xt_TCPMSS 3525 0
tun 19145 7 vhost_net
iptable_mangle 3461 0
iptable_filter 2905 0
xt_multiport 2812 0
kvm_intel 52634 18
xt_limit 2230 0
kvm 318658 1 kvm_intel
xt_dscp 2073 0
ipt_REJECT 2399 0
ip_tables 18151 2 iptable_mangle,iptable_filter
vzevent 2179 1
ib_iser 31732 0
rdma_cm 35285 1 ib_iser
ib_cm 37046 1 rdma_cm
iw_cm 8755 1 rdma_cm
ib_sa 23110 2 rdma_cm,ib_cm
ib_mad 40565 2 ib_cm,ib_sa
ib_core 74455 6 ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
ib_addr 6139 1 rdma_cm
ipv6 327670 98 vzrst,ip6t_REJECT,ip6table_mangle,ib_addr
iscsi_tcp 10263 0
libiscsi_tcp 16972 1 iscsi_tcp
libiscsi 47665 3 ib_iser,iscsi_tcp,libiscsi_tcp
scsi_transport_iscsi 53095 4 ib_iser,iscsi_tcp,libiscsi
fuse 82874 5
usb_storage 49428 1
snd_pcsp 8733 0
snd_pcm 86292 1 snd_pcsp
i7core_edac 18168 0
snd_timer 23265 1 snd_pcm
wmi 6287 0
edac_core 46853 1 i7core_edac
tpm_tis 12257 0
xhci_hcd 136141 0
dcdbas 9235 0
snd 71915 3 snd_pcsp,snd_pcm,snd_timer
tpm 16486 1 tpm_tis
power_meter 9343 0
tpm_bios 6375 1 tpm
soundcore 8182 1 snd
snd_page_alloc 8614 1 snd_pcm
serio_raw 4898 0
ext3 244847 3
jbd 81013 1 ext3
mbcache 8160 1 ext3
sg 30412 0
ata_generic 3853 0
ses 6875 0
enclosure 8363 1 ses
pata_acpi 3717 0
ata_piix 22862 0
megaraid_sas 77803 2
bnx2 80130 0

dmesg | grep xchi
xhci_hcd 0000:02:00.0: PCI INT A -> GSI 41 (level, low) -> IRQ 41
xhci_hcd 0000:02:00.0: setting latency timer to 64
xhci_hcd 0000:02:00.0: xHCI Host Controller
xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 9
xhci_hcd 0000:02:00.0: irq 41, io mem 0xdf2fe000
xhci_hcd 0000:02:00.0: irq 63 for MSI/MSI-X
xhci_hcd 0000:02:00.0: irq 64 for MSI/MSI-X
xhci_hcd 0000:02:00.0: irq 65 for MSI/MSI-X
xhci_hcd 0000:02:00.0: irq 66 for MSI/MSI-X
xhci_hcd 0000:02:00.0: irq 67 for MSI/MSI-X
xhci_hcd 0000:02:00.0: irq 68 for MSI/MSI-X
xhci_hcd 0000:02:00.0: irq 69 for MSI/MSI-X
xhci_hcd 0000:02:00.0: irq 70 for MSI/MSI-X
usb usb9: Manufacturer: Linux 2.6.32-14-pve xhci_hcd
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
xhci_hcd 0000:02:00.0: xHCI Host Controller
xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 10
usb usb10: Manufacturer: Linux 2.6.32-14-pve xhci_hcd
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
usb 10-2: new SuperSpeed USB device number 2 using xhci_hcd=
 
Thanks, appreciate it.. reviewing..

One more thing.. my PCI-E card is on 08:00.0, change as appropriate for you.. I suspect we're running the same card, but curious what your output on this looks like:

root@pmx4:~# lspci -s 08:00.0 -v
08:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI])
Flags: fast devsel, IRQ 30
Memory at ff5fe000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [50] Power Management version 3
Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [90] MSI-X: Enable- Count=8 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
 
Still getting complaints.. not sure what error -110 is..

xhci_hcd 0000:08:00.0: PCI INT A -> GSI 30 (level, low) -> IRQ 30
xhci_hcd 0000:08:00.0: setting latency timer to 64
xhci_hcd 0000:08:00.0: xHCI Host Controller
xhci_hcd 0000:08:00.0: new USB bus registered, assigned bus number 4
xhci_hcd 0000:08:00.0: can't setup
xhci_hcd 0000:08:00.0: USB bus 4 deregistered
xhci_hcd 0000:08:00.0: PCI INT A disabled
xhci_hcd 0000:08:00.0: init 0000:08:00.0 fail, -110
xhci_hcd: probe of 0000:08:00.0 failed with error -110
 
lspci -s 02.00.0 -v
02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI])
Subsystem: NEC Corporation uPD720200 USB 3.0 Host Controller
Flags: bus master, fast devsel, latency 0, IRQ 41
Memory at df2fe000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [50] Power Management version 3
Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [90] MSI-X: Enable+ Count=8 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff
Capabilities: [150] #18
Kernel driver in use: xhci_hcd

You do have a power cable going to the USB3 card correct?
 

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!