Opened 17 months ago

Last modified 17 months ago

#1674 new enhancement

Add support for QNAP QDA-A2MAR (JMicron JMS562)

Reported by: maska Owned by:
Priority: minor Milestone: undecided
Component: all Version:
Keywords: jmicron jmb39x jms56x Cc:

Description (last modified by Christian Franke)

Add support for SATA raid cage QDA-A2MAR https://www.qnap.com/en/product/qda-a2mar

It has chip JMS562 but smartctl not detect it. Even if i compile from source last version

Propriertal QNAP RAID manager for windows can read status of both M.2 SATA drives in cage. Even if is in RAID1/0 mode.

Thank you very much.

root@truenas[~]# smartctl -d jms56x,1 --all /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdd [jmb39x_disk_1] failed: No JMB39x response detected
root@truenas[~]# smartctl -d jms56x,2 --all /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdd [jmb39x_disk_2] failed: No JMB39x response detected
root@truenas[~]# smartctl -d jms56x,3 --all /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdd [jmb39x_disk_3] failed: No JMB39x response detected
root@truenas[~]# smartctl -d jms56x,4 --all /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdd [jmb39x_disk_4] failed: No JMB39x response detected

Change History (5)

comment:1 by Christian Franke, 17 months ago

Description: modified (diff)

comment:2 by Christian Franke, 17 months ago

Component: smartctlall
Keywords: jmicron jmb39x jms56x added; QDA-A2MAR removed
Milestone: unscheduledundecided
Summary: Add support for QDA-A2MARAdd support for QNAP QDA-A2MAR (JMicron JMS562)

Please also try -d jmb39x,N (ticket #705) and -d jmb39x-q,N (ticket #1283) select slightly different protocol variants.

Note that these three -d options are solely based on a reverse engineering, originally from http://git.xnk.nu/?p=JMraidcon.git. JMicron did not answer any requests for information.

PS: Please do not set the Milestone in future submissions.

comment:3 by maska, 17 months ago

I tryed also jmb39x, but same result

Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdd [jmb39x_disk_1] failed: No JMB39x response detected
root@truenas[~]# smartctl -d jmb39x,2 --all /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdd [jmb39x_disk_2] failed: No JMB39x response detected
root@truenas[~]# smartctl -d jmb39x,3 --all /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdd [jmb39x_disk_3] failed: No JMB39x response detected
root@truenas[~]# smartctl -d jmb39x,4 --all /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdd [jmb39x_disk_4] failed: No JMB39x response detected
root@truenas[~]# smartctl -d jmb39x-q,1 --all /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdd [jmb39x_disk_1] failed: No JMB39x response detected
root@truenas[~]# smartctl -d jmb39x-q,2 --all /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdd [jmb39x_disk_2] failed: No JMB39x response detected
root@truenas[~]# smartctl -d jmb39x-q,3 --all /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdd [jmb39x_disk_3] failed: No JMB39x response detected
root@truenas[~]# smartctl -d jmb39x-q,4 --all /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdd [jmb39x_disk_4] failed: No JMB39x response detected

root@truenas[~]# smartctl -d scsi --all /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

User Capacity: 250,014,072,832 bytes [250 GB]
Logical block size: 512 bytes
Rotation Rate: Solid State Device
Logical Unit id: 0x300143804316f19b
Serial number: ZO0SX4RDXXWIJU2AUQ6X
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Sun Dec 11 12:08:11 2022 CET
SMART support is: Available - device has SMART capability.
SMART support is: Disabled
Temperature Warning: Disabled or Not Supported

START OF READ SMART DATA SECTION

SMART Health Status: OK
Current Drive Temperature: 0 C
Drive Trip Temperature: 0 C

Error Counter logging not supported

Device does not support Self Test logging
root@truenas[~]# smartctl -d cciss,3 --all /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

START OF INFORMATION SECTION

Device Model: QNAP QDA-A2MAR RAID1
Serial Number: ZO0SX4RDXXWIJU2AUQ6X
Firmware Version: 52015100
User Capacity: 250,014,072,832 bytes [250 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
TRIM Command: Unavailable
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ATA/ATAPI-7 (minor revision not indicated)
Local Time is: Sun Dec 11 12:08:40 2022 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

START OF READ SMART DATA SECTION

SMART Status not supported: Incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

General SMART Values:
Offline data collection status: (0x00) Offline data collection activity

was never started.
Auto Offline Data Collection: Disabled.

Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x00) Offline data collection not supported.
SMART capabilities: (0x0000) Automatic saving of SMART data is not implemented.
Error logging capability: (0x00) Error logging NOT supported.

No General Purpose Logging support.

SMART Error Log not supported

SMART Self-test Log not supported

Selective Self-tests/Logging not supported

Version 0, edited 17 months ago by maska (next)

comment:4 by Christian Franke, 17 months ago

Then we need to wait for a volunteer with access to such a device who is willing to reverse engineer this new protocol variant.

Leaving ticket open as undecided for now.

comment:5 by Christian Franke, 17 months ago

Related: ticket #1290.

Note: See TracTickets for help on using tickets.