All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb-storage: Add US_FL_IGNORE_UAS for JMicron JMS581
@ 2026-08-01 10:47 Chris Bainbridge
  2026-08-01 17:52 ` Alan Stern
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Bainbridge @ 2026-08-01 10:47 UTC (permalink / raw)
  To: linux-usb; +Cc: gregkh, 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

Signed-off-by: Chris Bainbridge <chris.bainbridge@gmail.com>
---
 drivers/usb/storage/unusual_devs.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index ac22fa318734..26f3a5809712 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -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 <oliva@lsd.ic.unicamp.br>
  * JMicron responds to USN and several other SCSI ioctls with a
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] usb-storage: Add US_FL_IGNORE_UAS for JMicron JMS581
  2026-08-01 10:47 [PATCH] usb-storage: Add US_FL_IGNORE_UAS for JMicron JMS581 Chris Bainbridge
@ 2026-08-01 17:52 ` Alan Stern
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Stern @ 2026-08-01 17:52 UTC (permalink / raw)
  To: Chris Bainbridge; +Cc: linux-usb, gregkh

On Sat, Aug 01, 2026 at 11:47:51AM +0100, Chris Bainbridge wrote:
> 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
> 
> Signed-off-by: Chris Bainbridge <chris.bainbridge@gmail.com>
> ---
>  drivers/usb/storage/unusual_devs.h | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
> index ac22fa318734..26f3a5809712 100644
> --- a/drivers/usb/storage/unusual_devs.h
> +++ b/drivers/usb/storage/unusual_devs.h
> @@ -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

>  /*
>   * Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
>   * JMicron responds to USN and several other SCSI ioctls with a
> -- 
> 2.47.3
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-01 17:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-01 10:47 [PATCH] usb-storage: Add US_FL_IGNORE_UAS for JMicron JMS581 Chris Bainbridge
2026-08-01 17:52 ` Alan Stern

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.