USB Device (HDD) disconnects after some time, but is reconnected by restarting VM (win10).

kernull

Member
Apr 11, 2022
34
4
13
On a Ryen and ASRock x570 build...

Windows 10 VM seems to be unable to hold on to the HDD that I'm trying to pass through to it.

1655853105799.png

Is this more likely to be an issue on the host or guest side of things? It seems to be a popular issue but my googling of the problem and some syntax from below did not lead me to any answers yet...

usb6-1 seems to be the device (WD easystore) in question, and in the dmesg out put there's a lot of this before it seems to disappear:
Code:
[Mon Jun 20 20:01:20 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 20:01:20 2022] usb 6-1: usbfs: process 24889 (kvm) did not claim interface 0 before use
[Mon Jun 20 20:01:20 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:20 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
nd theres a lot of :

the whole dmesg output:

Code:
# dmesg -T |  grep usb
[Fri Jun 17 08:45:11 2022] usbcore: registered new interface driver usbfs
[Fri Jun 17 08:45:11 2022] usbcore: registered new interface driver hub
[Fri Jun 17 08:45:11 2022] usbcore: registered new device driver usb
[Fri Jun 17 08:45:12 2022] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[Fri Jun 17 08:45:12 2022] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Fri Jun 17 08:45:12 2022] usb usb1: Product: xHCI Host Controller
[Fri Jun 17 08:45:12 2022] usb usb1: Manufacturer: Linux 5.13.19-6-pve xhci-hcd
[Fri Jun 17 08:45:12 2022] usb usb1: SerialNumber: 0000:0a:00.1
[Fri Jun 17 08:45:12 2022] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[Fri Jun 17 08:45:12 2022] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[Fri Jun 17 08:45:12 2022] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Fri Jun 17 08:45:12 2022] usb usb2: Product: xHCI Host Controller
[Fri Jun 17 08:45:12 2022] usb usb2: Manufacturer: Linux 5.13.19-6-pve xhci-hcd
[Fri Jun 17 08:45:12 2022] usb usb2: SerialNumber: 0000:0a:00.1
[Fri Jun 17 08:45:12 2022] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[Fri Jun 17 08:45:12 2022] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Fri Jun 17 08:45:12 2022] usb usb3: Product: xHCI Host Controller
[Fri Jun 17 08:45:12 2022] usb usb3: Manufacturer: Linux 5.13.19-6-pve xhci-hcd
[Fri Jun 17 08:45:12 2022] usb usb3: SerialNumber: 0000:0a:00.3
[Fri Jun 17 08:45:12 2022] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[Fri Jun 17 08:45:12 2022] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[Fri Jun 17 08:45:12 2022] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Fri Jun 17 08:45:12 2022] usb usb4: Product: xHCI Host Controller
[Fri Jun 17 08:45:12 2022] usb usb4: Manufacturer: Linux 5.13.19-6-pve xhci-hcd
[Fri Jun 17 08:45:12 2022] usb usb4: SerialNumber: 0000:0a:00.3
[Fri Jun 17 08:45:12 2022] usb: port power management may be unreliable
[Fri Jun 17 08:45:12 2022] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[Fri Jun 17 08:45:12 2022] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Fri Jun 17 08:45:12 2022] usb usb5: Product: xHCI Host Controller
[Fri Jun 17 08:45:12 2022] usb usb5: Manufacturer: Linux 5.13.19-6-pve xhci-hcd
[Fri Jun 17 08:45:12 2022] usb usb5: SerialNumber: 0000:11:00.3
[Fri Jun 17 08:45:12 2022] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[Fri Jun 17 08:45:12 2022] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[Fri Jun 17 08:45:12 2022] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Fri Jun 17 08:45:12 2022] usb usb6: Product: xHCI Host Controller
[Fri Jun 17 08:45:12 2022] usb usb6: Manufacturer: Linux 5.13.19-6-pve xhci-hcd
[Fri Jun 17 08:45:12 2022] usb usb6: SerialNumber: 0000:11:00.3
[Fri Jun 17 08:45:12 2022] usb 1-2: new high-speed USB device number 2 using xhci_hcd
[Fri Jun 17 08:45:12 2022] usb 3-2: new full-speed USB device number 2 using xhci_hcd
[Fri Jun 17 08:45:12 2022] usb 6-1: new SuperSpeed USB device number 2 using xhci_hcd
[Fri Jun 17 08:45:12 2022] usb 6-1: New USB device found, idVendor=1058, idProduct=25fa, bcdDevice=10.13
[Fri Jun 17 08:45:12 2022] usb 6-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[Fri Jun 17 08:45:12 2022] usb 6-1: Product: easystore 25FA
[Fri Jun 17 08:45:12 2022] usb 6-1: Manufacturer: Western Digital
[Fri Jun 17 08:45:12 2022] usb 6-1: SerialNumber: 5758473145383739324A5754
[Fri Jun 17 08:45:12 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Fri Jun 17 08:45:12 2022] scsi host2: usb-storage 6-1:1.0
[Fri Jun 17 08:45:12 2022] usbcore: registered new interface driver usb-storage
[Fri Jun 17 08:45:12 2022] usbcore: registered new interface driver uas
[Fri Jun 17 08:45:13 2022] usb 1-2: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=88.32
[Fri Jun 17 08:45:13 2022] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[Fri Jun 17 08:45:13 2022] usb 1-2: Product: USB2.0 Hub
[Fri Jun 17 08:45:13 2022] usb 3-2: New USB device found, idVendor=8087, idProduct=0029, bcdDevice= 0.01
[Fri Jun 17 08:45:13 2022] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Fri Jun 17 08:45:14 2022] usbcore: registered new interface driver btusb
[Fri Jun 17 08:47:38 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:33 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:33 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Sun Jun 19 17:37:33 2022] scsi host2: usb-storage 6-1:1.0
[Sun Jun 19 17:37:36 2022] usb 6-1: usbfs: process 24889 (kvm) did not claim interface 0 before use
[Sun Jun 19 17:37:36 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:36 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Sun Jun 19 17:37:36 2022] scsi host2: usb-storage 6-1:1.0
[Sun Jun 19 17:37:36 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:36 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Sun Jun 19 17:37:36 2022] scsi host2: usb-storage 6-1:1.0
[Sun Jun 19 17:37:36 2022] usb 6-1: usbfs: process 24889 (kvm) did not claim interface 0 before use
[Sun Jun 19 17:37:37 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:37 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Sun Jun 19 17:37:37 2022] scsi host2: usb-storage 6-1:1.0
[Sun Jun 19 17:37:37 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:37 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Sun Jun 19 17:37:37 2022] scsi host2: usb-storage 6-1:1.0
[Sun Jun 19 17:37:37 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:37 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:37 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Sun Jun 19 17:37:37 2022] scsi host2: usb-storage 6-1:1.0
[Sun Jun 19 17:37:38 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:38 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Sun Jun 19 17:37:38 2022] scsi host2: usb-storage 6-1:1.0
[Sun Jun 19 17:37:38 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:38 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:38 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:38 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Sun Jun 19 17:37:38 2022] scsi host2: usb-storage 6-1:1.0
[Sun Jun 19 17:37:39 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:39 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Sun Jun 19 17:37:39 2022] scsi host2: usb-storage 6-1:1.0
[Sun Jun 19 17:37:39 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Sun Jun 19 17:37:39 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 18:41:33 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 18:41:33 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 18:41:33 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 18:41:58 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 19:37:38 2022] usb 6-1: usbfs: process 1610662 (kvm) did not claim interface 0 before use
[Mon Jun 20 19:37:38 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 19:37:38 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 19:37:38 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 19:37:38 2022] usb 6-1: usbfs: process 24889 (kvm) did not claim interface 0 before use
[Mon Jun 20 19:37:38 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 19:37:38 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 19:37:38 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 19:37:38 2022] usb 6-1: usbfs: process 1610660 (kvm) did not claim interface 0 before use
[Mon Jun 20 19:37:38 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 19:37:38 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 19:37:38 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 19:37:38 2022] usb 6-1: usbfs: process 24890 (kvm) did not claim interface 0 before use
[Mon Jun 20 19:37:39 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 19:37:39 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 19:37:39 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 19:37:39 2022] usb 6-1: usbfs: process 1610661 (kvm) did not claim interface 0 before use
[Mon Jun 20 19:37:39 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 19:37:39 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 19:37:39 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 19:37:48 2022] usb 6-1: usbfs: process 24889 (kvm) did not claim interface 0 before use
[Mon Jun 20 19:37:48 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 19:37:48 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 19:37:48 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 20:01:09 2022] usb 6-1: usbfs: process 1610663 (kvm) did not claim interface 0 before use
[Mon Jun 20 20:01:09 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:09 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 20:01:09 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 20:01:09 2022] usb 6-1: usbfs: process 24889 (kvm) did not claim interface 0 before use
[Mon Jun 20 20:01:09 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:09 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 20:01:09 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 20:01:10 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:10 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 20:01:10 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 20:01:10 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:19 2022] usb 6-1: usbfs: process 24889 (kvm) did not claim interface 0 before use
[Mon Jun 20 20:01:19 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:19 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 20:01:19 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 20:01:19 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:20 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 20:01:20 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 20:01:20 2022] usb 6-1: usbfs: process 24889 (kvm) did not claim interface 0 before use
[Mon Jun 20 20:01:20 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:20 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 20:01:20 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 20:01:20 2022] usb 6-1: usbfs: process 24889 (kvm) did not claim interface 0 before use
[Mon Jun 20 20:01:20 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:20 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 20:01:20 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 20:01:20 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:20 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 20:01:20 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 20:01:20 2022] usb 6-1: usbfs: process 24890 (kvm) did not claim interface 0 before use
[Mon Jun 20 20:01:21 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:21 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 20:01:21 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 20:01:21 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:21 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Mon Jun 20 20:01:21 2022] scsi host2: usb-storage 6-1:1.0
[Mon Jun 20 20:01:21 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:21 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Mon Jun 20 20:01:21 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Tue Jun 21 19:01:31 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd
[Tue Jun 21 19:01:31 2022] usb-storage 6-1:1.0: USB Mass Storage device detected
[Tue Jun 21 19:01:31 2022] scsi host2: usb-storage 6-1:1.0
[Tue Jun 21 19:01:57 2022] usb 6-1: reset SuperSpeed USB device number 2 using xhci_hcd

thanks for takin a look!
 
Hi,
just to make sure: I read that some hard disks just go into standby, which also disconnects them from USB (more of a bug than a feature in my eyes). Does it only happen with the VM? Can you check if the disk might be in standby?
 
Hi,
just to make sure: I read that some hard disks just go into standby, which also disconnects them from USB (more of a bug than a feature in my eyes). Does it only happen with the VM? Can you check if the disk might be in standby?
thanks for the suggestion, Ill take a look into this and be back with any possible results...
 
  • Like
Reactions: shrdlicka

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!