I am trying to access an external Western Digital easystore USB 3.0 8TB HDD via USB passthrough to a Windows Server 2012R2 VM. If I start the VM, it hangs on boot up. It just shows the Windows logo and spinning dots indefinitely. At one point, I was able to log into desktop and see the WD disk icon in File Manager (except it shows no drive letter or size). And if I tried accessing it from File Explorer or Disk Manager or diskpart command, it will also hang corresponding process indefinitely.
What Works:
The Error that repeats indefinitely (see below demsg log):
[ 773.921363] usb 4-5: reset SuperSpeed USB device number 2 using xhci_hcd
I have tried searching the above error and testing numerous configurations. Ran out of ideas now. Any help appreciated.
More Info:
Errors on the console screen:
dmesg:
dmesg (following error repeats indefinitely):
What Works:
- Everything works on the pve host. I can mount the WD 8TB USB and list its contents.
- USB Passthrough does work using a USB flashdrive. On another test, same system and VM except with a SanDisk USB 128GB UltraFit works fine. See below sdc1 (0781:5583).
The Error that repeats indefinitely (see below demsg log):
[ 773.921363] usb 4-5: reset SuperSpeed USB device number 2 using xhci_hcd
I have tried searching the above error and testing numerous configurations. Ran out of ideas now. Any help appreciated.
More Info:
Code:
root@pve:~# pveversion -v
proxmox-ve: 5.1-38 (running kernel: 4.13.13-5-pve)
pve-manager: 5.1-43 (running version: 5.1-43/bdb08029)
pve-kernel-4.13.13-2-pve: 4.13.13-33
pve-kernel-4.13.13-5-pve: 4.13.13-38
Code:
root@pve:~# lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 1058:25fb Western Digital Technologies, Inc.
Bus 004 Device 002: ID 0781:5583 SanDisk Corp.
Code:
root@pve:~# lsblk
sdc 8:32 1 115.7G 0 disk
└─sdc1 8:33 1 115.7G 0 part
sdd 8:48 0 7.3T 0 disk
└─sdd1 8:49 0 7.3T 0 part
Code:
root@pve:~# fdisk -l
Disk /dev/sdc: 115.7 GiB, 124218507264 bytes, 242614272 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8d7ef357
Device Boot Start End Sectors Size Id Type
/dev/sdc1 32 242614271 242614240 115.7G 7 HPFS/NTFS/exFAT
Disk /dev/sdd: 7.3 TiB, 8001562869760 bytes, 15628052480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: B6C56ACD-DA19-4CCA-8F8C-1397476BBB9C
Device Start End Sectors Size Type
/dev/sdd1 2048 15628050431 15628048384 7.3T Microsoft basic data
Errors on the console screen:
Code:
[ 151.832634] scsi 7:0:0:1: Wrong diagnostic page; asked for 1 got 8
[ 151.832653] scsi 7:0:0:1: Failed to get diagnostic page 0xffffffea
[ 151.832667] scsi 7:0:0:1: Failed to bind enclosure -19
[ 169.234596] sd 7:0:0:0: [sdd] No Caching mode page found
[ 169.234614] sd 7:0:0:0: [sdd] Assuming drive cache: write through
dmesg:
Code:
root@pve:~# dmesg
[ 150.745693] usb 4-6: new SuperSpeed USB device number 3 using xhci_hcd
[ 150.766548] usb 4-6: New USB device found, idVendor=1058, idProduct=25fb
[ 150.766550] usb 4-6: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 150.766551] usb 4-6: Product: easystore 25FB
[ 150.766551] usb 4-6: Manufacturer: Western Digital
[ 150.766552] usb 4-6: SerialNumber: 3753475954524C43
[ 150.767186] usb-storage 4-6:1.0: USB Mass Storage device detected
[ 150.767243] scsi host7: usb-storage 4-6:1.0
[ 151.794057] scsi 7:0:0:0: Direct-Access WD easystore 25FB 3004 PQ: 0 ANSI: 6
[ 151.794276] scsi 7:0:0:1: Enclosure WD SES Device 3004 PQ: 0 ANSI: 6
[ 151.829889] sd 7:0:0:0: Attached scsi generic sg3 type 0
[ 151.829969] scsi 7:0:0:1: Attached scsi generic sg4 type 13
[ 151.830699] sd 7:0:0:0: [sdd] Spinning up disk...
[ 151.832634] scsi 7:0:0:1: Wrong diagnostic page; asked for 1 got 8
[ 151.832653] scsi 7:0:0:1: Failed to get diagnostic page 0xffffffea
[ 151.832667] scsi 7:0:0:1: Failed to bind enclosure -19
[ 151.832687] ses 7:0:0:1: Attached Enclosure device
[ 169.233663] .
...
[ 169.233773] ready
[ 169.233952] sd 7:0:0:0: [sdd] Very big device. Trying to use READ CAPACITY(16).
[ 169.234122] sd 7:0:0:0: [sdd] 15628052480 512-byte logical blocks: (8.00 TB/7.28 TiB)
[ 169.234123] sd 7:0:0:0: [sdd] 4096-byte physical blocks
[ 169.234372] sd 7:0:0:0: [sdd] Write Protect is off
[ 169.234373] sd 7:0:0:0: [sdd] Mode Sense: 47 00 10 08
[ 169.234596] sd 7:0:0:0: [sdd] No Caching mode page found
[ 169.234614] sd 7:0:0:0: [sdd] Assuming drive cache: write through
[ 169.234967] sd 7:0:0:0: [sdd] Very big device. Trying to use READ CAPACITY(16).
[ 170.190987] sdd: sdd1
[ 170.191416] sd 7:0:0:0: [sdd] Very big device. Trying to use READ CAPACITY(16).
[ 170.191933] sd 7:0:0:0: [sdd] Attached SCSI disk
[ 771.205097] device tap100i0 entered promiscuous mode
[ 771.210393] vmbr0: port 2(tap100i0) entered blocking state
[ 771.210394] vmbr0: port 2(tap100i0) entered disabled state
[ 771.210456] vmbr0: port 2(tap100i0) entered blocking state
[ 771.210457] vmbr0: port 2(tap100i0) entered forwarding state
dmesg (following error repeats indefinitely):
Code:
[ 773.921363] usb 4-5: reset SuperSpeed USB device number 2 using xhci_hcd
[ 774.129473] usb 4-5: reset SuperSpeed USB device number 2 using xhci_hcd
[ 774.385406] usb 4-6: reset SuperSpeed USB device number 3 using xhci_hcd
[ 774.593409] usb 4-6: reset SuperSpeed USB device number 3 using xhci_hcd
...
[ 2239.383821] usb 4-6: reset SuperSpeed USB device number 3 using xhci_hcd