Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NVMe usb enclosure based on JMicron fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Anton Gubarkov
n00b
n00b


Joined: 13 Mar 2008
Posts: 66

PostPosted: Wed Sep 25, 2019 8:30 am    Post subject: NVMe usb enclosure based on JMicron fails Reply with quote

Hello.

I'm struggling with making JMicron USA Technology Corp. External NVMe box to work on my Thinkpad P52. When I connect, the following is spit to the log (repeatedly):

Code:

сен 25 10:27:40 PF16W6Y2 kernel: usb 2-6: new SuperSpeed Gen 1 USB device number 9 using xhci_hcd
сен 25 10:27:40 PF16W6Y2 kernel: usb 2-6: New USB device found, idVendor=152d, idProduct=0583, bcdDevice= 2.02
сен 25 10:27:40 PF16W6Y2 kernel: usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
сен 25 10:27:40 PF16W6Y2 kernel: usb 2-6: Product: External
сен 25 10:27:40 PF16W6Y2 kernel: usb 2-6: Manufacturer: JMicron
сен 25 10:27:40 PF16W6Y2 kernel: usb 2-6: SerialNumber: DD56419883D64
сен 25 10:27:40 PF16W6Y2 kernel: usb 2-6: Disable of device-initiated U1 failed.
сен 25 10:27:40 PF16W6Y2 kernel: usb 2-6: Disable of device-initiated U2 failed.
сен 25 10:27:40 PF16W6Y2 kernel: usb 2-6: Set SEL for device-initiated U1 failed.
сен 25 10:27:40 PF16W6Y2 kernel: usb 2-6: Set SEL for device-initiated U2 failed.
сен 25 10:27:40 PF16W6Y2 kernel: usb 2-6: USB disconnect, device number 9
сен 25 10:27:41 PF16W6Y2 kernel: usb 2-6: new SuperSpeed Gen 1 USB device number 10 using xhci_hcd
сен 25 10:27:41 PF16W6Y2 kernel: usb 2-6: New USB device found, idVendor=152d, idProduct=0583, bcdDevice= 2.02
сен 25 10:27:41 PF16W6Y2 kernel: usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
сен 25 10:27:41 PF16W6Y2 kernel: usb 2-6: Product: External
сен 25 10:27:41 PF16W6Y2 kernel: usb 2-6: Manufacturer: JMicron
сен 25 10:27:41 PF16W6Y2 kernel: usb 2-6: SerialNumber: DD56419883D64
сен 25 10:27:41 PF16W6Y2 kernel: scsi host0: uas
сен 25 10:27:41 PF16W6Y2 kernel: scsi 0:0:0:0: Direct-Access     JMicron                   0202 PQ: 0 ANSI: 6
сен 25 10:27:41 PF16W6Y2 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
сен 25 10:27:42 PF16W6Y2 kernel: sd 0:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238 GiB)
сен 25 10:27:42 PF16W6Y2 kernel: sd 0:0:0:0: [sda] 4096-byte physical blocks
сен 25 10:27:42 PF16W6Y2 kernel: sd 0:0:0:0: [sda] Write Protect is off
сен 25 10:27:42 PF16W6Y2 kernel: sd 0:0:0:0: [sda] Mode Sense: 5f 00 00 08
сен 25 10:27:42 PF16W6Y2 kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
сен 25 10:27:42 PF16W6Y2 kernel: sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
сен 25 10:27:53 PF16W6Y2 kernel: usb 2-6: USB disconnect, device number 10
сен 25 10:27:53 PF16W6Y2 kernel: xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
сен 25 10:27:53 PF16W6Y2 kernel: sd 0:0:0:0: [sda] tag#24 uas_zap_pending 0 uas-tag 1 inflight: CMD
сен 25 10:27:53 PF16W6Y2 kernel: sd 0:0:0:0: [sda] tag#24 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
сен 25 10:27:53 PF16W6Y2 kernel: sd 0:0:0:0: [sda] tag#24 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
сен 25 10:27:53 PF16W6Y2 kernel: sd 0:0:0:0: [sda] tag#24 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
сен 25 10:27:53 PF16W6Y2 kernel: print_req_error: I/O error, dev sda, sector 0 flags 0
сен 25 10:27:53 PF16W6Y2 kernel: Buffer I/O error on dev sda, logical block 0, async page read
сен 25 10:27:53 PF16W6Y2 kernel: print_req_error: I/O error, dev sda, sector 0 flags 0
сен 25 10:27:53 PF16W6Y2 kernel: Buffer I/O error on dev sda, logical block 0, async page read
сен 25 10:27:53 PF16W6Y2 kernel: print_req_error: I/O error, dev sda, sector 0 flags 0
сен 25 10:27:53 PF16W6Y2 kernel: Buffer I/O error on dev sda, logical block 0, async page read
сен 25 10:27:53 PF16W6Y2 kernel: print_req_error: I/O error, dev sda, sector 0 flags 0
сен 25 10:27:53 PF16W6Y2 kernel: Buffer I/O error on dev sda, logical block 0, async page read
сен 25 10:27:53 PF16W6Y2 kernel: print_req_error: I/O error, dev sda, sector 0 flags 0
сен 25 10:27:53 PF16W6Y2 kernel: Buffer I/O error on dev sda, logical block 0, async page read
сен 25 10:27:53 PF16W6Y2 kernel: print_req_error: I/O error, dev sda, sector 0 flags 0
сен 25 10:27:53 PF16W6Y2 kernel: Buffer I/O error on dev sda, logical block 0, async page read
сен 25 10:27:53 PF16W6Y2 kernel: Dev sda: unable to read RDB block 0
сен 25 10:27:53 PF16W6Y2 kernel: print_req_error: I/O error, dev sda, sector 0 flags 0
сен 25 10:27:53 PF16W6Y2 kernel: Buffer I/O error on dev sda, logical block 0, async page read
сен 25 10:27:53 PF16W6Y2 kernel: print_req_error: I/O error, dev sda, sector 0 flags 0
сен 25 10:27:53 PF16W6Y2 kernel: Buffer I/O error on dev sda, logical block 0, async page read
сен 25 10:27:53 PF16W6Y2 kernel:  sda: unable to read partition table
сен 25 10:27:53 PF16W6Y2 kernel: sd 0:0:0:0: [sda] Read Capacity(16) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
сен 25 10:27:53 PF16W6Y2 kernel: sd 0:0:0:0: [sda] Sense not available.
сен 25 10:27:53 PF16W6Y2 kernel: sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
сен 25 10:27:53 PF16W6Y2 kernel: sd 0:0:0:0: [sda] Sense not available.
сен 25 10:27:53 PF16W6Y2 kernel: sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
сен 25 10:27:53 PF16W6Y2 kernel: sd 0:0:0:0: [sda] 4096-byte physical blocks
сен 25 10:27:53 PF16W6Y2 kernel: sd 0:0:0:0: [sda] Write Protect is on
сен 25 10:27:53 PF16W6Y2 kernel: sd 0:0:0:0: [sda] Mode Sense: 10 01 cc 27
сен 25 10:27:53 PF16W6Y2 kernel: sd 0:0:0:0: [sda] Attached SCSI disk


I run Linux PF16W6Y2 5.2.17-gentoo #1 SMP PREEMPT Tue Sep 24 16:52:43 MSK 2019 x86_64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz GenuineIntel GNU/Linux

While searching for a solution I stumbled upon a thread discussing similar issues with JMicron on Tegra. The workaround suggested there didn't work for me.

The enclosure with this particular NVMe drive works OK in Windows 10 machine.

Thank you for any suggestions.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6223
Location: Dallas area

PostPosted: Wed Sep 25, 2019 9:20 am    Post subject: Reply with quote

does it work if you plug it into a usb2 port (if you have one)?

What is the port usb 3.0, 3.1 gen1 (same) or 3.1 gen 2?

What does the enclosure claim 3.0, 3.1 g1, 3.1 g2?

Have you tried different usb3 cable (I've had to replace mine regularly as they seem to go bad often)?
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
Anton Gubarkov
n00b
n00b


Joined: 13 Mar 2008
Posts: 66

PostPosted: Wed Sep 25, 2019 9:29 am    Post subject: Reply with quote

Bingo!

Replacing to another USB-A/Type-C cable made this thing workng! Thank you for the hint!
It is also working with Type-C/Type-C cable.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum