[SOLVED] USB3 UAS Probleme (uas_eh_abort_handler)

svh79

Active Member
Apr 30, 2018
17
1
43
45
Hallo Forum,

ich habe derzeit eine Neuinstallation von PVE 5.1-51 auf einem Intel NUC (NUC7I3BNH) mit interner SSD im Einsatz. Zusätzlich sind drei externe USB 3 Festplatten von Seagate angeschlossen.

Bislang hatte ich problemlos einen Mac mini mit OpenZFS und den drei externen Festplatten betrieben, benötige aber macOS nicht und möchte gern die Vorteile von PVE nutzen.

Ich habe zwei Wege versucht:
a) In PVE einen ZFS Pool angelegt und ein Laufwerk einer VM in diesem Pool angelegt und eingehängt.
b) Die drei USB Ports an die VM weitergeleitet, in dieser einen ZFS Pool angelegt und hier eingehängt.

Je nachdem welches System die USB-Festplatten anbindet, findet sich jeweils im Log:

# dmesg

Code:
[ 3021.964200] sd 1:0:0:0: [sdb] tag#0 data cmplt err -71 uas-tag 1 inflight: CMD 
[ 3021.964205] sd 1:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 00 29 06 00 00 16 00
[ 3054.555422] sd 1:0:0:0: [sdb] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT 
[ 3054.555425] sd 1:0:0:0: [sdb] tag#1 CDB: Write(10) 2a 00 00 00 29 1c 00 00 06 00
[ 3054.555465] sd 1:0:0:0: [sdb] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD 
[ 3054.555467] sd 1:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 00 29 06 00 00 16 00
[ 3060.955448] sd 1:0:0:0: tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD 
[ 3060.955452] sd 1:0:0:0: tag#2 CDB: Test Unit Ready 00 00 00 00 00 00
[ 3060.955465] scsi host1: uas_eh_bus_reset_handler start
[ 3061.035866] usb 2-3.3: reset SuperSpeed USB device number 10 using xhci_hcd
[ 3061.058196] scsi host1: uas_eh_bus_reset_handler success
[ 3061.310049] sd 1:0:0:0: [sdb] tag#1 data cmplt err -71 uas-tag 2 inflight: CMD 
[ 3061.310053] sd 1:0:0:0: [sdb] tag#1 CDB: Write(10) 2a 00 00 00 2a 51 00 00 15 00
[ 3093.467156] sd 1:0:0:0: [sdb] tag#8 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD OUT 
[ 3093.467160] sd 1:0:0:0: [sdb] tag#8 CDB: Write(10) 2a 00 00 00 2a 7e 00 00 13 00
[ 3093.467207] sd 1:0:0:0: [sdb] tag#7 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT 
[ 3093.467209] sd 1:0:0:0: [sdb] tag#7 CDB: Write(10) 2a 00 00 00 2a 78 00 00 06 00
[ 3093.470675] sd 1:0:0:0: [sdb] tag#6 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT 
[ 3093.470678] sd 1:0:0:0: [sdb] tag#6 CDB: Write(10) 2a 00 00 00 2a 77 00 00 01 00
[ 3093.474104] sd 1:0:0:0: [sdb] tag#5 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD OUT 
[ 3093.474117] sd 1:0:0:0: [sdb] tag#5 CDB: Write(10) 2a 00 00 00 2a 75 00 00 01 00
[ 3093.477597] sd 1:0:0:0: [sdb] tag#4 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT 
[ 3093.477600] sd 1:0:0:0: [sdb] tag#4 CDB: Write(10) 2a 00 00 00 2a 74 00 00 01 00
[ 3093.481147] sd 1:0:0:0: [sdb] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT 
[ 3093.481149] sd 1:0:0:0: [sdb] tag#3 CDB: Write(10) 2a 00 00 00 2a 70 00 00 04 00
[ 3093.484611] sd 1:0:0:0: [sdb] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT 
[ 3093.484614] sd 1:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 00 2a 69 00 00 07 00
[ 3093.488099] sd 1:0:0:0: [sdb] tag#10 uas_eh_abort_handler 0 uas-tag 11 inflight: CMD OUT 
[ 3093.488101] sd 1:0:0:0: [sdb] tag#10 CDB: Write(10) 2a 00 00 00 2a 68 00 00 01 00
[ 3093.491599] sd 1:0:0:0: [sdb] tag#9 uas_eh_abort_handler 0 uas-tag 10 inflight: CMD OUT 
[ 3093.491603] sd 1:0:0:0: [sdb] tag#9 CDB: Write(10) 2a 00 00 00 2a 67 00 00 01 00
[ 3093.495163] sd 1:0:0:0: [sdb] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD 
[ 3093.495168] sd 1:0:0:0: [sdb] tag#1 CDB: Write(10) 2a 00 00 00 2a 51 00 00 15 00
[ 3093.495177] sd 1:0:0:0: [sdb] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD IN 
[ 3093.495181] sd 1:0:0:0: [sdb] tag#2 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 3093.495223] scsi host1: uas_eh_bus_reset_handler start
[ 3093.579377] usb 2-3.3: reset SuperSpeed USB device number 10 using xhci_hcd
[ 3093.602367] scsi host1: uas_eh_bus_reset_handler success
[ 3094.298100] sd 1:0:0:0: [sdb] tag#2 data cmplt err -71 uas-tag 3 inflight: CMD 
[ 3094.298104] sd 1:0:0:0: [sdb] tag#2 CDB: Write(10) 2a 00 00 00 2a d1 00 00 1f 00
[ 3124.826846] sd 1:0:0:0: [sdb] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT 
[ 3124.826850] sd 1:0:0:0: [sdb] tag#1 CDB: Write(10) 2a 00 00 00 2b 16 00 00 20 00
[ 3124.826896] sd 1:0:0:0: [sdb] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT 
[ 3124.826898] sd 1:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 00 2b 01 00 00 15 00
[ 3124.830346] sd 1:0:0:0: [sdb] tag#9 uas_eh_abort_handler 0 uas-tag 10 inflight: CMD OUT 
[ 3124.830349] sd 1:0:0:0: [sdb] tag#9 CDB: Write(10) 2a 00 00 00 2b 00 00 00 01 00
[ 3124.833846] sd 1:0:0:0: [sdb] tag#8 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD OUT 
[ 3124.833849] sd 1:0:0:0: [sdb] tag#8 CDB: Write(10) 2a 00 00 00 2a fa 00 00 06 00
[ 3124.837370] sd 1:0:0:0: [sdb] tag#7 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT 
[ 3124.837374] sd 1:0:0:0: [sdb] tag#7 CDB: Write(10) 2a 00 00 00 2a f8 00 00 02 00
[ 3124.840931] sd 1:0:0:0: [sdb] tag#6 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT 
[ 3124.840934] sd 1:0:0:0: [sdb] tag#6 CDB: Write(10) 2a 00 00 00 2a f4 00 00 04 00
[ 3124.844415] sd 1:0:0:0: [sdb] tag#5 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD OUT 
[ 3124.844418] sd 1:0:0:0: [sdb] tag#5 CDB: Write(10) 2a 00 00 00 2a f2 00 00 02 00
[ 3124.847853] sd 1:0:0:0: [sdb] tag#4 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT 
[ 3124.847856] sd 1:0:0:0: [sdb] tag#4 CDB: Write(10) 2a 00 00 00 2a f1 00 00 01 00
[ 3124.851354] sd 1:0:0:0: [sdb] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT 
[ 3124.851358] sd 1:0:0:0: [sdb] tag#3 CDB: Write(10) 2a 00 00 00 2a f0 00 00 01 00
[ 3124.854894] sd 1:0:0:0: [sdb] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD 
[ 3124.854897] sd 1:0:0:0: [sdb] tag#2 CDB: Write(10) 2a 00 00 00 2a d1 00 00 1f 00
[ 3124.854906] scsi host1: uas_eh_bus_reset_handler start
[ 3124.855414] sd 1:0:0:0: [sdb] tag#10 uas_zap_pending 0 uas-tag 11 inflight: CMD 
[ 3124.855416] sd 1:0:0:0: [sdb] tag#10 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 3124.935217] usb 2-3.3: reset SuperSpeed USB device number 10 using xhci_hcd
[ 3124.957871] scsi host1: uas_eh_bus_reset_handler success
[ 3125.091979] sd 1:0:0:0: [sdb] tag#4 data cmplt err -71 uas-tag 5 inflight: CMD 
[ 3125.091983] sd 1:0:0:0: [sdb] tag#4 CDB: Write(10) 2a 00 00 00 2a fa 00 00 06 00
# lsusb

Code:
Bus 002 Device 010: ID 0bc2:ab31 Seagate RSS LLC Backup Plus Desktop Drive (5TB)
Bus 002 Device 009: ID 0bc2:ab34 Seagate RSS LLC
Bus 002 Device 008: ID 0bc2:aa10 Seagate RSS LLC
Bus 002 Device 007: ID 0bc2:aa13 Seagate RSS LLC
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 010: ID 0bc2:aa12 Seagate RSS LLC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb -t
Code:
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
    |__ Port 3: Dev 7, If 0, Class=Hub, Driver=hub/3p, 5000M
        |__ Port 1: Dev 8, If 0, Class=Mass Storage, Driver=uas, 5000M
        |__ Port 2: Dev 9, If 0, Class=Mass Storage, Driver=uas, 5000M
        |__ Port 3: Dev 10, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 3: Dev 10, If 0, Class=Hub, Driver=hub/3p, 480M
    |__ Port 8: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 8: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M

Testweise habe ich UAS für diese drei USB-Festplatten deaktivieren wollen...
/etc/modprobe.d/uas.conf
Code:
options usb-storage quirks=0bc2:aa10:u
options usb-storage quirks=0bc2:ab31:u
options usb-storage quirks=0bc2:ab34:u
...allerdings wurde dies nur für eine tatsächlich berücksichtigt (0bc2:ab34):
Code:
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
    |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/3p, 5000M
        |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=uas, 5000M
        |__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
        |__ Port 3: Dev 5, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/3p, 480M
    |__ Port 8: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 8: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M

Wie kann ich diese Probleme ohne Austausch der Hardware lösen? Im Idealall natürlich mit UAS.

Gruß,
Sven
 
du musst die option in einer zeile setzen:
Code:
options usb-storage quirks=0bc2:aa10:u,0bc2:ab31:u,0bc2:ab34:u
 
  • Like
Reactions: svh79
Vielen Dank, das hat geholfen! Beteiligt sich Proxmox an der UAS Entwicklung? Ist für Quirks dieser Art etwas im GUI vorgesehen?
 
Vielen Dank, das hat geholfen! Beteiligt sich Proxmox an der UAS Entwicklung? Ist für Quirks dieser Art etwas im GUI vorgesehen?

nein und nein ;)
 

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!