Skip to contentSkip to conversation

usb-storage: Add US_FL_IGNORE_UAS for JMicron JMS581

PATCH In review Chris Bainbridge 2 participants 2 messages Aug 1

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb-storage: Add US_FL_IGNORE_UAS for JMicron JMS581

Enabling UAS results in a 30-second boot hang when using a JMicron JMS581 NVMe enclosure (specifically SSK 'SHE-C325 PRO' with a WD PC SN520 NVMe drive).

Fixes:

[16.603548] Bluetooth: hci0: Device booted in 26690 usecs
[46.617796] sd 0:0:0:0: [sda] tag#28 uas_eh_abort_handler 0 uas-tag 14 inflight: CMD IN
[46.617859] sd 0:0:0:0: [sda] tag#28 CDB: Read(10) 28 00 0d 28 fe 10 00 00 20 00
---
 drivers/usb/storage/unusual_devs.h | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/usb/storage/unusual_devs.h +7 -0
index ac22fa318734..26f3a5809712 100644
@@ -2184,6 +2184,13 @@ UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
 		US_FL_BROKEN_FUA),
 
+/* JMicron JMS581 / SSK 'SHE-C325 PRO' NVMe enclosure */
+UNUSUAL_DEV(0x152d, 0x581d, 0x0000, 0x9999,
+		"JMicron",
+		"JMS581 NVMe enclosure",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+		US_FL_IGNORE_UAS),
+
 /*
  * Reported by Alexandre Oliva <[email protected]>
  * JMicron responds to USN and several other SCSI ioctls with a
Signature · 1 line
2.47.3
maintainer
#1 lore raw
Quoted 20 lines · Chris Bainbridge

Enabling UAS results in a 30-second boot hang when using a JMicron JMS581 NVMe enclosure (specifically SSK 'SHE-C325 PRO' with a WD PC SN520 NVMe drive).

Fixes:

[16.603548] Bluetooth: hci0: Device booted in 26690 usecs
[46.617796] sd 0:0:0:0: [sda] tag#28 uas_eh_abort_handler 0 uas-tag 14 inflight: CMD IN
[46.617859] sd 0:0:0:0: [sda] tag#28 CDB: Read(10) 28 00 0d 28 fe 10 00 00 20 00
---
 drivers/usb/storage/unusual_devs.h | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/usb/storage/unusual_devs.h +0 -0
index ac22fa318734..26f3a5809712 100644

drivers/usb/storage/unusual_devs.h UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999, · line 2193

Quoted 10 lines
drivers/usb/storage/unusual_devs.h +7 -0
@@ -2184,6 +2184,13 @@ UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
 		US_FL_BROKEN_FUA),
 
+/* JMicron JMS581 / SSK 'SHE-C325 PRO' NVMe enclosure */
+UNUSUAL_DEV(0x152d, 0x581d, 0x0000, 0x9999,
+		"JMicron",
+		"JMS581 NVMe enclosure",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+		US_FL_IGNORE_UAS),
+

Please keep the entries sorted by Vendor ID, then Product ID.

Also, how sure are you that this problem affects all enclosures of this sort? And that it doesn't depend on what kind of NVMe drive is in the enclosure?

Alan Stern

Quoted 7 lines
drivers/usb/storage/unusual_devs.h +0 -0
 /*
  * Reported by Alexandre Oliva <[email protected]>
  * JMicron responds to USN and several other SCSI ioctls with a
Signature · 1 line
2.47.3