Problem with IOCrest M.2 to 5x SATA: softreset failed (device not ready)


mgutt

Recommended Posts

So far I used the 8 SATA Ports of my Gigabyte WU-246N motherboard and two USB 3.0 to SATA adapters for Disk3 and Disk6. Today I installed this IOCrest IO-M2F585-5I M.2 SATA adapter to avoid the USB adapters:

http://www.iocrest.com/index.php?id=2070

1597723166784418.jpg.ed9b9125454b2fb01f7075d0df659878.jpg

 

Everything looks fine after booting:

Nov 19 13:20:05 Thoth root: Starting Nginx server daemon...
Nov 19 13:20:08 Thoth kernel: hid-generic 0003:06DA:FFFF.0004: usb_submit_urb(ctrl) failed: -1
Nov 19 13:20:08 Thoth kernel: hid-generic 0003:06DA:FFFF.0004: timeout initializing reports
Nov 19 13:20:34 Thoth webGUI: Successful login user root from 192.168.178.21
Nov 19 13:20:42 Thoth emhttpd: shcmd (74): rmmod md-mod
Nov 19 13:20:42 Thoth kernel: md: unRAID driver removed
Nov 19 13:20:42 Thoth emhttpd: shcmd (75): modprobe md-mod super=/boot/config/super.dat
Nov 19 13:20:42 Thoth kernel: md: unRAID driver 2.9.13 installed
Nov 19 13:20:42 Thoth emhttpd: Device inventory:
Nov 19 13:20:42 Thoth emhttpd: HGST_HUH721212ALE604_2AHBYT6Y (sdj) 512 23437770752
Nov 19 13:20:42 Thoth emhttpd: HGST_HUH721212ALE604_8CHUDHEE (sdk) 512 23437770752
Nov 19 13:20:42 Thoth emhttpd: HGST_HUH721212ALE604_8CJ8VDWE (sdh) 512 23437770752
Nov 19 13:20:42 Thoth emhttpd: HGST_HUH721212ALE604_5PGWLB1E (sdg) 512 23437770752
Nov 19 13:20:42 Thoth emhttpd: HGST_HUH721212ALE604_5PGWHG0C (sdd) 512 23437770752
Nov 19 13:20:42 Thoth emhttpd: HGST_HUH721212ALE604_2AHBYY3Y (sde) 512 23437770752
Nov 19 13:20:42 Thoth emhttpd: HGST_HUH721212ALE604_8CK5JGTE (sdb) 512 23437770752
Nov 19 13:20:42 Thoth emhttpd: HGST_HUH721212ALE604_2AHBYSHY (sdf) 512 23437770752
Nov 19 13:20:42 Thoth emhttpd: HGST_HUH721212ALE604_8CJEEHAE (sdc) 512 23437770752
Nov 19 13:20:42 Thoth emhttpd: WDC_WDS100T2B0A-00SM50_1905AB802119 (sdl) 512 1953525168
Nov 19 13:20:42 Thoth emhttpd: HGST_HUH721212ALE604_8CKP29GE (sdi) 512 23437770752
Nov 19 13:20:42 Thoth emhttpd: JetFlash_Transcend_16GB_UOH90DH1-0:0 (sda) 512 29861888
Nov 19 13:20:42 Thoth kernel: mdcmd (1): import 0 sdg 64 11718885324 0 HGST_HUH721212ALE604_5PGWLB1E
Nov 19 13:20:42 Thoth kernel: md: import disk0: (sdg) HGST_HUH721212ALE604_5PGWLB1E size: 11718885324 
Nov 19 13:20:42 Thoth kernel: mdcmd (2): import 1 sdc 64 11718885324 0 HGST_HUH721212ALE604_8CJEEHAE
Nov 19 13:20:42 Thoth kernel: md: import disk1: (sdc) HGST_HUH721212ALE604_8CJEEHAE size: 11718885324 
Nov 19 13:20:42 Thoth kernel: mdcmd (3): import 2 sdi 64 11718885324 0 HGST_HUH721212ALE604_8CKP29GE
Nov 19 13:20:42 Thoth kernel: md: import disk2: (sdi) HGST_HUH721212ALE604_8CKP29GE size: 11718885324 
Nov 19 13:20:42 Thoth kernel: mdcmd (4): import 3 sdk 64 11718885324 0 HGST_HUH721212ALE604_8CHUDHEE
Nov 19 13:20:42 Thoth kernel: md: import disk3: (sdk) HGST_HUH721212ALE604_8CHUDHEE size: 11718885324 
Nov 19 13:20:42 Thoth kernel: mdcmd (5): import 4 sdb 64 11718885324 0 HGST_HUH721212ALE604_8CK5JGTE
Nov 19 13:20:42 Thoth kernel: md: import disk4: (sdb) HGST_HUH721212ALE604_8CK5JGTE size: 11718885324 
Nov 19 13:20:42 Thoth kernel: mdcmd (6): import 5 sdf 64 11718885324 0 HGST_HUH721212ALE604_2AHBYSHY
Nov 19 13:20:42 Thoth kernel: md: import disk5: (sdf) HGST_HUH721212ALE604_2AHBYSHY size: 11718885324 
Nov 19 13:20:42 Thoth kernel: mdcmd (7): import 6 sdj 64 11718885324 0 HGST_HUH721212ALE604_2AHBYT6Y
Nov 19 13:20:42 Thoth kernel: md: import disk6: (sdj) HGST_HUH721212ALE604_2AHBYT6Y size: 11718885324 
Nov 19 13:20:42 Thoth kernel: mdcmd (8): import 7 sde 64 11718885324 0 HGST_HUH721212ALE604_2AHBYY3Y
Nov 19 13:20:42 Thoth kernel: md: import disk7: (sde) HGST_HUH721212ALE604_2AHBYY3Y size: 11718885324 
Nov 19 13:20:42 Thoth kernel: mdcmd (9): import 8 sdh 64 11718885324 0 HGST_HUH721212ALE604_8CJ8VDWE
Nov 19 13:20:42 Thoth kernel: md: import disk8: (sdh) HGST_HUH721212ALE604_8CJ8VDWE size: 11718885324 
Nov 19 13:20:42 Thoth kernel: mdcmd (10): import 9 sdd 64 11718885324 0 HGST_HUH721212ALE604_5PGWHG0C
Nov 19 13:20:42 Thoth kernel: md: import disk9: (sdd) HGST_HUH721212ALE604_5PGWHG0C size: 11718885324 
Nov 19 13:20:42 Thoth kernel: mdcmd (11): import 10
Nov 19 13:20:42 Thoth kernel: mdcmd (12): import 11
Nov 19 13:20:42 Thoth kernel: mdcmd (13): import 12
Nov 19 13:20:42 Thoth kernel: mdcmd (14): import 13
Nov 19 13:20:42 Thoth kernel: mdcmd (15): import 14
Nov 19 13:20:42 Thoth kernel: mdcmd (16): import 15
Nov 19 13:20:42 Thoth kernel: mdcmd (17): import 16
Nov 19 13:20:42 Thoth kernel: mdcmd (18): import 17
Nov 19 13:20:42 Thoth kernel: mdcmd (19): import 18
Nov 19 13:20:42 Thoth kernel: mdcmd (20): import 19
Nov 19 13:20:42 Thoth kernel: mdcmd (21): import 20
Nov 19 13:20:42 Thoth kernel: mdcmd (22): import 21
Nov 19 13:20:42 Thoth kernel: mdcmd (23): import 22
Nov 19 13:20:42 Thoth kernel: mdcmd (24): import 23
Nov 19 13:20:42 Thoth kernel: mdcmd (25): import 24
Nov 19 13:20:42 Thoth kernel: mdcmd (26): import 25
Nov 19 13:20:42 Thoth kernel: mdcmd (27): import 26
Nov 19 13:20:42 Thoth kernel: mdcmd (28): import 27
Nov 19 13:20:42 Thoth kernel: mdcmd (29): import 28
Nov 19 13:20:42 Thoth kernel: mdcmd (30): import 29
Nov 19 13:20:42 Thoth kernel: md: import_slot: 29 empty

 

But after selecting "sdl" in the SSD cache dropdown, the dashboards stays greyed out and disk3 (sdk) and disk6 (sdj) are permanently gone because of an "ata10: softreset failed" error:

Nov 19 13:20:42 Thoth emhttpd: import 30 cache device: (sdl) WDC_WDS100T2B0A-00SM50_1905AB802119
Nov 19 13:20:42 Thoth emhttpd: import flash device: sda
Nov 19 13:20:55 Thoth kernel: ata10: softreset failed (device not ready)
Nov 19 13:20:55 Thoth kernel: ata9: SATA link down (SStatus 0 SControl 300)
Nov 19 13:20:55 Thoth kernel: ata9: illegal qc_active transition (00000000->00000001)
Nov 19 13:20:56 Thoth kernel: ata9: SATA link down (SStatus 0 SControl 300)
Nov 19 13:21:01 Thoth kernel: ata10: SATA link down (SStatus 0 SControl 300)
Nov 19 13:21:06 Thoth kernel: ata10: SATA link down (SStatus 0 SControl 300)
Nov 19 13:21:07 Thoth login[6446]: ROOT LOGIN  on '/dev/pts/0'
Nov 19 13:21:12 Thoth kernel: ata9: SATA link down (SStatus 0 SControl 300)
Nov 19 13:21:12 Thoth kernel: ata9.00: disabled
Nov 19 13:21:12 Thoth kernel: ata9.00: detaching (SCSI 9:0:0:0)
Nov 19 13:21:12 Thoth kernel: sd 9:0:0:0: [sdj] Synchronizing SCSI cache
Nov 19 13:21:12 Thoth kernel: sd 9:0:0:0: [sdj] Synchronize Cache(10) failed: Result: hostbyte=0x04 driverbyte=0x00
Nov 19 13:21:12 Thoth kernel: sd 9:0:0:0: [sdj] Stopping disk
Nov 19 13:21:12 Thoth kernel: sd 9:0:0:0: [sdj] Start/Stop Unit failed: Result: hostbyte=0x04 driverbyte=0x00
Nov 19 13:21:12 Thoth kernel: ata10: SATA link down (SStatus 0 SControl 300)
Nov 19 13:21:12 Thoth kernel: ata10.00: disabled
Nov 19 13:21:12 Thoth kernel: ata10.00: detaching (SCSI 10:0:0:0)
Nov 19 13:21:12 Thoth kernel: sd 10:0:0:0: [sdk] Synchronizing SCSI cache
Nov 19 13:21:12 Thoth kernel: sd 10:0:0:0: [sdk] Synchronize Cache(10) failed: Result: hostbyte=0x04 driverbyte=0x00
Nov 19 13:21:12 Thoth kernel: sd 10:0:0:0: [sdk] Stopping disk
Nov 19 13:21:12 Thoth kernel: sd 10:0:0:0: [sdk] Start/Stop Unit failed: Result: hostbyte=0x04 driverbyte=0x00
Nov 19 13:21:12 Thoth emhttpd: shcmd (78): rmmod md-mod
Nov 19 13:21:12 Thoth kernel: md: unRAID driver removed
Nov 19 13:21:12 Thoth emhttpd: shcmd (79): modprobe md-mod super=/boot/config/super.dat
Nov 19 13:21:12 Thoth kernel: md: unRAID driver 2.9.13 installed
Nov 19 13:21:12 Thoth emhttpd: Device inventory:
Nov 19 13:21:12 Thoth emhttpd: HGST_HUH721212ALE604_8CJ8VDWE (sdh) 512 23437770752
Nov 19 13:21:12 Thoth emhttpd: HGST_HUH721212ALE604_5PGWLB1E (sdg) 512 23437770752
Nov 19 13:21:12 Thoth emhttpd: HGST_HUH721212ALE604_5PGWHG0C (sdd) 512 23437770752
Nov 19 13:21:12 Thoth emhttpd: HGST_HUH721212ALE604_2AHBYY3Y (sde) 512 23437770752
Nov 19 13:21:12 Thoth emhttpd: HGST_HUH721212ALE604_8CK5JGTE (sdb) 512 23437770752
Nov 19 13:21:12 Thoth emhttpd: HGST_HUH721212ALE604_2AHBYSHY (sdf) 512 23437770752
Nov 19 13:21:12 Thoth emhttpd: HGST_HUH721212ALE604_8CJEEHAE (sdc) 512 23437770752
Nov 19 13:21:12 Thoth emhttpd: WDC_WDS100T2B0A-00SM50_1905AB802119 (sdl) 512 1953525168
Nov 19 13:21:12 Thoth emhttpd: HGST_HUH721212ALE604_8CKP29GE (sdi) 512 23437770752
Nov 19 13:21:12 Thoth emhttpd: JetFlash_Transcend_16GB_UOH90DH1-0:0 (sda) 512 29861888
Nov 19 13:21:12 Thoth kernel: mdcmd (1): import 0 sdg 64 11718885324 0 HGST_HUH721212ALE604_5PGWLB1E
Nov 19 13:21:12 Thoth kernel: md: import disk0: (sdg) HGST_HUH721212ALE604_5PGWLB1E size: 11718885324 
Nov 19 13:21:12 Thoth kernel: mdcmd (2): import 1 sdc 64 11718885324 0 HGST_HUH721212ALE604_8CJEEHAE
Nov 19 13:21:12 Thoth kernel: md: import disk1: (sdc) HGST_HUH721212ALE604_8CJEEHAE size: 11718885324 
Nov 19 13:21:12 Thoth kernel: mdcmd (3): import 2 sdi 64 11718885324 0 HGST_HUH721212ALE604_8CKP29GE
Nov 19 13:21:12 Thoth kernel: md: import disk2: (sdi) HGST_HUH721212ALE604_8CKP29GE size: 11718885324 
Nov 19 13:21:12 Thoth kernel: mdcmd (4): import 3
Nov 19 13:21:12 Thoth kernel: md: import_slot: 3 missing
Nov 19 13:21:12 Thoth kernel: mdcmd (5): import 4 sdb 64 11718885324 0 HGST_HUH721212ALE604_8CK5JGTE
Nov 19 13:21:12 Thoth kernel: md: import disk4: (sdb) HGST_HUH721212ALE604_8CK5JGTE size: 11718885324 
Nov 19 13:21:12 Thoth kernel: mdcmd (6): import 5 sdf 64 11718885324 0 HGST_HUH721212ALE604_2AHBYSHY
Nov 19 13:21:12 Thoth kernel: md: import disk5: (sdf) HGST_HUH721212ALE604_2AHBYSHY size: 11718885324 
Nov 19 13:21:12 Thoth kernel: mdcmd (7): import 6
Nov 19 13:21:12 Thoth kernel: md: import_slot: 6 missing
Nov 19 13:21:12 Thoth kernel: mdcmd (8): import 7 sde 64 11718885324 0 HGST_HUH721212ALE604_2AHBYY3Y
Nov 19 13:21:12 Thoth kernel: md: import disk7: (sde) HGST_HUH721212ALE604_2AHBYY3Y size: 11718885324 
Nov 19 13:21:12 Thoth kernel: mdcmd (9): import 8 sdh 64 11718885324 0 HGST_HUH721212ALE604_8CJ8VDWE
Nov 19 13:21:12 Thoth kernel: md: import disk8: (sdh) HGST_HUH721212ALE604_8CJ8VDWE size: 11718885324 
Nov 19 13:21:12 Thoth kernel: mdcmd (10): import 9 sdd 64 11718885324 0 HGST_HUH721212ALE604_5PGWHG0C
Nov 19 13:21:12 Thoth kernel: md: import disk9: (sdd) HGST_HUH721212ALE604_5PGWHG0C size: 11718885324 
Nov 19 13:21:12 Thoth kernel: mdcmd (11): import 10
Nov 19 13:21:12 Thoth kernel: mdcmd (12): import 11
Nov 19 13:21:12 Thoth kernel: mdcmd (13): import 12
Nov 19 13:21:12 Thoth kernel: mdcmd (14): import 13
Nov 19 13:21:12 Thoth kernel: mdcmd (15): import 14
Nov 19 13:21:12 Thoth kernel: mdcmd (16): import 15
Nov 19 13:21:12 Thoth kernel: mdcmd (17): import 16
Nov 19 13:21:12 Thoth kernel: mdcmd (18): import 17
Nov 19 13:21:12 Thoth kernel: mdcmd (19): import 18
Nov 19 13:21:12 Thoth kernel: mdcmd (20): import 19
Nov 19 13:21:12 Thoth kernel: mdcmd (21): import 20
Nov 19 13:21:12 Thoth kernel: mdcmd (22): import 21
Nov 19 13:21:12 Thoth kernel: mdcmd (23): import 22
Nov 19 13:21:12 Thoth kernel: mdcmd (24): import 23
Nov 19 13:21:12 Thoth kernel: mdcmd (25): import 24
Nov 19 13:21:12 Thoth kernel: mdcmd (26): import 25
Nov 19 13:21:12 Thoth kernel: mdcmd (27): import 26
Nov 19 13:21:12 Thoth kernel: mdcmd (28): import 27
Nov 19 13:21:12 Thoth kernel: mdcmd (29): import 28
Nov 19 13:21:12 Thoth kernel: mdcmd (30): import 29
Nov 19 13:21:12 Thoth kernel: md: import_slot: 29 empty
Nov 19 13:21:12 Thoth emhttpd: import 30 cache device: (sdl) WDC_WDS100T2B0A-00SM50_1905AB802119
Nov 19 13:21:12 Thoth emhttpd: import flash device: sda

The IOCrest adapter uses the "JMicron 0585" controller:

IOMMU group 13:	[197b:0585] 05:00.0 SATA controller: JMicron Technology Corp. Device 0585

What could be the reason for this error? Defective card or an incompatibility? I changed the SATA cables and ports on the iocrest adapter, so it shouldn't be related to them.

Link to comment
3 hours ago, kizer said:

Is there a chance your board might be suffering the same issue?

Yes, many motherboards have one or both of these limitations:

1.) M.2 slot or PCIe slot shares Lanes with one or more SATA ports

2.) Installing a SATA SSD into the M.2 slot exceeds the SATA device limit of the controller / chipset so one SATA port is disabled

 

Your board suffers from #1 and mine from #2, but #2 should not interfere with a native PCIe card. The BIOS does not know that the card adds more SATA ports as this is done much later after the driver has been installed. And the JMicron controller on this card translates the SATA signal into an usual PCIe signal. Usually it would be even possible to install such an adapter and use a GPU through the M.2 slot (as it's speaking native PCIe):

R43MR1.thumb.png.b6ef0656eb02c0368a8f68694f36ee62.png

 

So I really wonder why the card does not work. I was not able to test this further as I needed my server, but one of the strange things was, that "WDC_WDS100T2B0A-00SM50_1905AB802119" was not dropped by the adapter while the two HDDs gone lost. First I thought the adapter supports only one SATA device, but even after I connected a spare HDD to the adapter only the two HDDs of the array were kicked. But maybe it happens only on specific ATA commands?!

 

I will contact Iocrest, too. Maybe they know something about this behaviour.

Link to comment
  • 4 weeks later...

OK, after testing several cards I accidentally found the problem. It's not an incompatibility, instead it was this powertop rule:

# Enable SATA link power management

#for i in /sys/class/scsi_host/host*/link_power_management_policy; do

# echo 'med_power_with_dipm' > $i

#done

 

The same problem occurs if powertop --auto-tune has been executed.

 

So the card / controllers driver has a problem with the SATA Device Power Management. This is sad as it saves much energy. Maybe I will realize this rules only for the onboard SATA ports. I will even check if HIPM is available and test those rules, too.

 

Could this be a general problem with the JMicron controller?

Link to comment
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.