USB 3 mSATA box not working. JMicron 152d:0578

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
Petermint
Level 5
Level 5
Posts: 651
Joined: Tue Feb 16, 2016 3:12 am

USB 3 mSATA box not working. JMicron 152d:0578

Post by Petermint » Mon Sep 26, 2016 3:52 am

USB 3 mSATA box not working in Linux Mint 18. lsusb produces:
ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp.

LM 18 is updated daily. Googling produced heaps of pages for JMicron but not this chip.

Is this another case where you have to create ignore_uas.conf and add something like:
options usb-storage quirks=152d:2590:u

I tested the following and it did not work.
options usb-storage quirks=152d:0578:u

syslog:
Sep 26 17:32:38 t2 kernel: [ 108.942964] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
Sep 26 17:32:38 t2 kernel: [ 108.963134] usb 4-1: New USB device found, idVendor=152d, idProduct=0578
Sep 26 17:32:38 t2 kernel: [ 108.963144] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 26 17:32:38 t2 kernel: [ 108.963150] usb 4-1: Product: USB to ATA/ATAPI Bridge
Sep 26 17:32:38 t2 kernel: [ 108.963154] usb 4-1: Manufacturer: JMicron
Sep 26 17:32:38 t2 kernel: [ 108.963158] usb 4-1: SerialNumber: 0123456789ABCDEF
Sep 26 17:32:39 t2 mtp-probe: checking bus 4, device 2: "/sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/usb4/4-1"
Sep 26 17:32:39 t2 mtp-probe: bus: 4, device: 2 was not an MTP device
Sep 26 17:32:39 t2 kernel: [ 109.005647] usb-storage 4-1:1.0: USB Mass Storage device detected
Sep 26 17:32:39 t2 kernel: [ 109.005753] scsi host6: usb-storage 4-1:1.0
Sep 26 17:32:39 t2 kernel: [ 109.005918] usbcore: registered new interface driver usb-storage
Sep 26 17:32:39 t2 kernel: [ 109.008704] usbcore: registered new interface driver uas
Sep 26 17:32:40 t2 kernel: [ 110.004077] scsi 6:0:0:0: Direct-Access JMicron Generic 4103 PQ: 0 ANSI: 6
Sep 26 17:32:40 t2 kernel: [ 110.005346] sd 6:0:0:0: Attached scsi generic sg1 type 0
Sep 26 17:32:40 t2 kernel: [ 110.007617] sd 6:0:0:0: [sdb] Spinning up disk…
Sep 26 17:33:34 t2 kernel: [ 111.010792] .......................
Sep 26 17:33:34 t2 kernel: [ 164.002048] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
Sep 26 17:33:34 t2 kernel: [ 164.020281] ready
Sep 26 17:34:04 t2 kernel: [ 194.915447] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
Sep 26 17:34:36 t2 kernel: [ 226.020790] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
Sep 26 17:35:07 t2 kernel: [ 256.998229] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
Sep 26 17:35:07 t2 kernel: [ 257.016798] sd 6:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK
Sep 26 17:35:07 t2 kernel: [ 257.016810] sd 6:0:0:0: [sdb] Sense not available.
Sep 26 17:35:38 t2 kernel: [ 287.975489] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
Sep 26 17:35:38 t2 kernel: [ 287.994076] sd 6:0:0:0: [sdb] Write Protect is off
Sep 26 17:35:38 t2 kernel: [ 287.994089] sd 6:0:0:0: [sdb] Mode Sense: 00 00 00 00
Sep 26 17:36:08 t2 kernel: [ 318.952926] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
Sep 26 17:36:08 t2 kernel: [ 318.971043] sd 6:0:0:0: [sdb] Asking for cache data failed
Sep 26 17:36:08 t2 kernel: [ 318.971063] sd 6:0:0:0: [sdb] Assuming drive cache: write through
Sep 26 17:36:28 t2 kernel: [ 338.021549] sd 6:0:0:0: [sdb] Unit Not Ready
Sep 26 17:36:28 t2 kernel: [ 338.021563] sd 6:0:0:0: [sdb] Sense Key : Hardware Error [current]
Sep 26 17:36:28 t2 kernel: [ 338.021574] sd 6:0:0:0: [sdb] ASC=0x44 <<vendor>>ASCQ=0x81
Sep 26 17:37:09 t2 systemd-udevd[373]: seq 2689 '/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/usb4/4-1/4-1:1.0/host6/target6:0:0/6:0:0:0/block/sdb' is taking a long time

supertuxkart
Level 4
Level 4
Posts: 374
Joined: Sat Jan 23, 2016 5:58 pm

Re: USB 3 mSATA box not working. JMicron 152d:0578

Post by supertuxkart » Tue Sep 27, 2016 4:22 pm

I found this jMicron a couple of times, but this OEM products don't seem in touch with Linux kernel's drivers.
Here's the website :
ftp://driver.jmicron.com.tw/
but i see very old drivers only.

In the past some controllers worked :
https://ubuntuforums.org/archive/index. ... 18934.html

Petermint
Level 5
Level 5
Posts: 651
Joined: Tue Feb 16, 2016 3:12 am

Re: USB 3 mSATA box not working. JMicron 152d:0578

Post by Petermint » Tue Sep 27, 2016 7:59 pm

JMicron sell the chip but they do not list it on their Web site as a product. The chip was announced at a trade show last year and is sold to customers but is not supported in any way. Why would customers buy the chip?

Apparently the JMS567 is similar and supported. Which means there is no reason to sell the JMS578. There should be a warning on the box that the product contains a failed chip that was never supported. :x
http://www.jmicron.com/PDF/brief/jms567.pdf

supertuxkart
Level 4
Level 4
Posts: 374
Joined: Sat Jan 23, 2016 5:58 pm

Re: USB 3 mSATA box not working. JMicron 152d:0578

Post by supertuxkart » Wed Sep 28, 2016 9:49 am

As you write there's nothing about the ID hardware 152d:0578.

Anyway did you do all the steps for the uas blacklisting :
https://ubuntuforums.org/showthread.php?t=2307662

The last move can be to install the latest kernel, hoping developpers solved the problem.

Petermint
Level 5
Level 5
Posts: 651
Joined: Tue Feb 16, 2016 3:12 am

Re: USB 3 mSATA box not working. JMicron 152d:0578

Post by Petermint » Wed Sep 28, 2016 6:51 pm

Redid the test using separate file as shown in linked page. Same result. Disk not visible. dmseg shows nothing useful. disks cannot see the disk. Gparted reports an error looking at /dev/sdb1. The following is direct from syslog.

Code: Select all

Sep 29 08:42:43 t2 kernel: [  422.479374] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
Sep 29 08:42:43 t2 kernel: [  422.498019] sd 6:0:0:0: Device offlined - not ready after error recovery
Sep 29 08:42:43 t2 kernel: [  422.498050] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
Sep 29 08:42:43 t2 kernel: [  422.498058] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Sep 29 08:42:43 t2 kernel: [  422.498063] blk_update_request: I/O error, dev sdb, sector 0
Sep 29 08:42:43 t2 kernel: [  422.498071] Buffer I/O error on dev sdb, logical block 0, async page read
Sep 29 08:42:43 t2 kernel: [  422.498149] sd 6:0:0:0: rejecting I/O to offline device
Sep 29 08:42:43 t2 kernel: [  422.498183] sd 6:0:0:0: rejecting I/O to offline device
Sep 29 08:42:43 t2 kernel: [  422.498193] ldm_validate_partition_table(): Disk read failed.
Sep 29 08:42:43 t2 kernel: [  422.498205] sd 6:0:0:0: rejecting I/O to offline device
Sep 29 08:42:43 t2 kernel: [  422.498219] sd 6:0:0:0: rejecting I/O to offline device
Sep 29 08:42:43 t2 kernel: [  422.498293] sd 6:0:0:0: rejecting I/O to offline device
Sep 29 08:42:43 t2 kernel: [  422.498313] sd 6:0:0:0: rejecting I/O to offline device
Sep 29 08:42:43 t2 kernel: [  422.498334] Dev sdb: unable to read RDB block 0
Sep 29 08:42:43 t2 kernel: [  422.498352] sd 6:0:0:0: rejecting I/O to offline device
Sep 29 08:42:43 t2 kernel: [  422.498368] sd 6:0:0:0: rejecting I/O to offline device
Sep 29 08:42:43 t2 kernel: [  422.498405] sd 6:0:0:0: rejecting I/O to offline device
Sep 29 08:42:43 t2 kernel: [  422.498421] sd 6:0:0:0: rejecting I/O to offline device
Sep 29 08:42:43 t2 kernel: [  422.498435] sd 6:0:0:0: rejecting I/O to offline device
Sep 29 08:42:43 t2 kernel: [  422.498447]  sdb: unable to read partition table
Sep 29 08:42:43 t2 kernel: [  422.498718] sd 6:0:0:0: [sdb] Attached SCSI disk

Code: Select all

lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931.5G  0 disk 
├─sda1   8:1    0  29.3G  0 part 
├─sda2   8:2    0  18.6G  0 part 
├─sda3   8:3    0 878.8G  0 part /
└─sda4   8:4    0   4.9G  0 part [SWAP]
sdb      8:16   0 931.5G  0 disk

Petermint
Level 5
Level 5
Posts: 651
Joined: Tue Feb 16, 2016 3:12 am

Re: USB 3 mSATA box not working. JMicron 152d:0578

Post by Petermint » Wed Sep 28, 2016 7:04 pm

The disk is not a problem. The disk works perfectly in a different enclosure.
Bus 004 Device 003: ID 174c:5136 ASMedia Technology Inc. ASM1053 SATA 6Gb/s bridge

The failed disk case looks really nice, too nice to toss in the scrap heap but my time is worth more than a chip with rubbish support. No more JMicron anything.

flwiue
Level 1
Level 1
Posts: 1
Joined: Fri May 12, 2017 11:03 am

Re: USB 3 mSATA box not working. JMicron 152d:0578

Post by flwiue » Fri May 12, 2017 11:04 am

Petermint wrote:JMicron sell the chip but they do not list it on their Web site as a product. The chip was announced at a trade show last year and is sold to customers but is not supported in any way.
http://www.jmicron.com/PDF/brief/jms578.pdf

Petermint
Level 5
Level 5
Posts: 651
Joined: Tue Feb 16, 2016 3:12 am

Re: USB 3 mSATA box not working. JMicron 152d:0578

Post by Petermint » Wed Sep 11, 2019 11:41 pm

I ran into JMicron problem again. This time the chip id is 152d:0562. There is at least one report of this chip working in kernel 4.12 but not in 4.14.

Post Reply

Return to “Hardware Support”