Opened 5 years ago

Last modified 22 months ago

#1290 new enhancement

QNAP-TR002 Port Multiplier does not provide SMART data

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

Description

I've originally commented on this issue at github:
https://github.com/smartmontools/smartmontools/pull/47#issuecomment-578816101

As it seems the TR002 uses a different chipset (JMS578) than the TR004, I'm opening a new ticket here.
I've attached a USBPCap capture file recorded while using the "QNAP External Windows Manager" to read S.M.A.R.T values.
I'm not proficient in interpreting the capture but it seems the general technique is similar, at least I'm seeing several read and write requests to LBA 39.

Attachments (1)

qnap tr-002 reading smart data via qnap external raid manager on windows.pcap (387.3 KB ) - added by Hendrik 5 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 by Christian Franke, 5 years ago

Component: smartctlall
Keywords: jmicron added
Milestone: undecided

See comment in PR.

comment:2 by Hendrik, 5 years ago

As -d jmb93x-q,... and original -d jmb93x,... both fail here's the output with ioctl,2.
The "Read response sector 1" section contains the string "JMS56X H/W RAID".

pi@raspberrypi:~$ sudo smartctl -d jmb39x-q,0,force -a /dev/sda -r ioctl,2
smartctl 7.2 2020-01-11 r5029 [armv7l-linux-4.19.75-v7l+] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

>>>> do_scsi_cmnd_io: sg_io_ver=3
 [read capacity(16): 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00 ]
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
  Incoming data, len=32:
 00     00 00 00 03 a3 7f ff ff  00 00 02 00 00 03 00 00
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
JMB39x: Read original data at LBA 39
>>>> do_scsi_cmnd_io: sg_io_ver=3
 [<unknown opcode>: 28 00 00 00 00 27 00 00 01 00 ]
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=10 milliseconds  resid=0
  Incoming data, len=512 [only first 256 bytes shown]:
 00     08 00 78 00 18 00 78 00  20 08 78 00 f6 02 00 10
 10     00 00 05 00 00 00 00 00  88 06 00 00 00 10 54 ee
 20     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 30     00 00 00 00 00 00 00 00  68 87 00 00 00 00 00 00
 40     09 00 78 00 19 00 78 00  20 09 78 00 00 00 00 10
 50     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 d2 e0
 60     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 70     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 80     0a 00 78 00 1a 00 78 00  20 0a 78 00 00 00 00 10
 90     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 e1 a3
 a0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 b0     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 c0     0b 00 78 00 1b 00 78 00  20 0b 78 00 00 00 00 10
 d0     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 5f 4f
 e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 f0     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 00     08 00 78 00 18 00 78 00  20 08 78 00 f6 02 00 10    ..x...x. .x.....
 10     00 00 05 00 00 00 00 00  88 06 00 00 00 10 54 ee    ..............T.
 20     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 30     00 00 00 00 00 00 00 00  68 87 00 00 00 00 00 00    ........h.......
 40     09 00 78 00 19 00 78 00  20 09 78 00 00 00 00 10    ..x...x. .x.....
 50     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 d2 e0    .........*......
 60     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 70     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
 80     0a 00 78 00 1a 00 78 00  20 0a 78 00 00 00 00 10    ..x...x. .x.....
 90     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 e1 a3    .........*......
 a0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 b0     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
 c0     0b 00 78 00 1b 00 78 00  20 0b 78 00 00 00 00 10    ..x...x. .x.....
 d0     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 5f 4f    .........*...._O
 e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 f0     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
 100    0c 00 78 00 1c 00 78 00  20 0c 78 00 00 00 00 10    ..x...x. .x.....
 110    00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 87 25    .........*.....%
 120    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 130    00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
 140    0d 00 78 00 1d 00 78 00  20 0d 78 00 00 00 00 10    ..x...x. .x.....
 150    00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 39 c9    .........*....9.
 160    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 170    00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
 180    0e 00 78 00 1e 00 78 00  20 0e 78 00 00 00 00 10    ..x...x. .x.....
 190    00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 0a 8a    .........*......
 1a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1b0    00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
 1c0    0f 00 78 00 1f 00 78 00  20 0f 78 00 00 00 00 10    ..x...x. .x.....
 1d0    00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 b4 66    .........*.....f
 1e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1f0    00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
JMB39x: Write wakeup sector #1
 00     25 03 7b 19 0b a8 75 3c  00 00 00 00 00 00 00 00    %.{...u<........
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff    ................
 100    00 01 02 03 04 05 06 07  08 09 0a 0b 0c 0d 0e 0f    ................
 110    10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 120    20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 130    30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 140    40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 150    50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 160    60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 170    70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 180    80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 190    90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 1a0    a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 1b0    b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 1c0    c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 1d0    d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 1e0    e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 1f0    f0 f1 f2 f3 f4 f5 f6 f7  db a1 ec 10 d9 10 6d 70    ..............mp
>>>> do_scsi_cmnd_io: sg_io_ver=3
 00     25 03 7b 19 0b a8 75 3c  00 00 00 00 00 00 00 00
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff
 [<unknown opcode>: 2a 00 00 00 00 27 00 00 01 00 ]
  Outgoing data, len=512 [only first 256 bytes shown]:
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
JMB39x: Write wakeup sector #2
 00     25 03 7b 19 37 e3 88 03  00 00 00 00 00 00 00 00    %.{.7...........
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff    ................
 100    00 01 02 03 04 05 06 07  08 09 0a 0b 0c 0d 0e 0f    ................
 110    10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 120    20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 130    30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 140    40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 150    50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 160    60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 170    70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 180    80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 190    90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 1a0    a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 1b0    b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 1c0    c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 1d0    d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 1e0    e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 1f0    f0 f1 f2 f3 f4 f5 f6 f7  db a1 ec 10 1e 51 58 69    .............QXi
>>>> do_scsi_cmnd_io: sg_io_ver=3
 00     25 03 7b 19 37 e3 88 03  00 00 00 00 00 00 00 00
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff
 [<unknown opcode>: 2a 00 00 00 00 27 00 00 01 00 ]
  Outgoing data, len=512 [only first 256 bytes shown]:
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
JMB39x: Write wakeup sector #3
 00     25 03 7b 19 f3 05 97 68  00 00 00 00 00 00 00 00    %.{....h........
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff    ................
 100    00 01 02 03 04 05 06 07  08 09 0a 0b 0c 0d 0e 0f    ................
 110    10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 120    20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 130    30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 140    40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 150    50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 160    60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 170    70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 180    80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 190    90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 1a0    a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 1b0    b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 1c0    c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 1d0    d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 1e0    e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 1f0    f0 f1 f2 f3 f4 f5 f6 f7  db a1 ec 10 07 4b 23 fe    .............K#.
>>>> do_scsi_cmnd_io: sg_io_ver=3
 00     25 03 7b 19 f3 05 97 68  00 00 00 00 00 00 00 00
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff
 [<unknown opcode>: 2a 00 00 00 00 27 00 00 01 00 ]
  Outgoing data, len=512 [only first 256 bytes shown]:
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
JMB39x: Write wakeup sector #4
 00     25 03 7b 19 3a 52 0c e0  00 00 00 00 00 00 00 00    %.{.:R..........
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff    ................
 100    00 01 02 03 04 05 06 07  08 09 0a 0b 0c 0d 0e 0f    ................
 110    10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 120    20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 130    30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 140    40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 150    50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 160    60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 170    70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 180    80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 190    90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 1a0    a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 1b0    b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 1c0    c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 1d0    d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 1e0    e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 1f0    f0 f1 f2 f3 f4 f5 f6 f7  db a1 ec 10 db 7a e5 5b    .............z.[
>>>> do_scsi_cmnd_io: sg_io_ver=3
 00     25 03 7b 19 3a 52 0c e0  00 00 00 00 00 00 00 00
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff
 [<unknown opcode>: 2a 00 00 00 00 27 00 00 01 00 ]
  Outgoing data, len=512 [only first 256 bytes shown]:
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
JMB39x: Write request sector #1
 00     93 03 7b 19 01 00 00 00  00 01 01 ff 00 00 00 00    ..{.............
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 20     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 30     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 40     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 50     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 60     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 70     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 80     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 90     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 a0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 b0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 c0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 d0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 f0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 100    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 110    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 120    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 130    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 140    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 150    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 160    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 170    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 180    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 190    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1f0    00 00 00 00 00 00 00 00  00 00 00 00 7c ab 11 68    ............|..h
>>>> do_scsi_cmnd_io: sg_io_ver=3
 00     9b c2 1c 5d 05 91 0d 3d  9c 45 da 9e ba 63 00 5c
 10     48 78 c4 19 9f c8 8a 1f  8f a3 7f 83 08 cf 7a 71
 20     89 a4 1d cd e7 d2 32 e1  27 ad d4 fa 0e 03 99 eb
 30     f7 83 50 50 11 2d 79 be  3c b4 f1 e3 8f d9 3b 9f
 40     d9 b0 f3 67 87 90 e0 5d  ff f9 f0 60 61 55 1a 2e
 50     81 52 af 73 ee 25 ad c7  01 6e ce 6b 01 8d 49 74
 60     9c 9e ed 7e e9 3b f3 a2  8e 45 a0 39 0f cd 96 6b
 70     90 3c a7 b4 5a 6f 72 ba  08 6b 58 1f 35 42 2a c6
 80     4f f4 51 a2 a1 48 6e 89  e9 36 6d c8 3b 12 ec 3a
 90     ad 89 2f 37 ab 1a de 63  2f ef 74 ee c7 a9 51 d1
 a0     ae 63 ad 92 1b 78 98 f1  b6 40 bb fa 22 07 f3 22
 b0     95 b7 46 a3 ca 2b 16 85  40 41 0a c5 f3 61 c7 ad
 c0     53 fb 1b 65 ac c9 55 ee  73 c1 02 a0 29 fe 53 15
 d0     8f 1f ad 8d 77 de 15 ef  6b f3 1b d8 44 96 e3 aa
 e0     5a 2a dc 10 7b 96 da 3c  8b f2 3d 38 a4 81 f3 2c
 f0     58 41 f5 54 73 45 9d 73  c5 fd e8 2a be c6 30 50
 [<unknown opcode>: 2a 00 00 00 00 27 00 00 01 00 ]
  Outgoing data, len=512 [only first 256 bytes shown]:
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
>>>> do_scsi_cmnd_io: sg_io_ver=3
 [<unknown opcode>: 28 00 00 00 00 27 00 00 01 00 ]
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
  Incoming data, len=512 [only first 256 bytes shown]:
 00     9b c2 1c 5d 05 91 0d 3d  9c 45 da 61 b1 63 03 f5
 10     46 78 c4 7b 49 37 87 1f  8e a3 58 83 08 cf 7a 71
 20     c3 e9 4e f8 d1 8a 12 a9  08 fa f4 a8 4f 4a dd eb
 30     f7 83 50 50 11 2d 79 be  3c b4 f1 e3 8f d9 3b 9f
 40     93 fd 9a 04 f5 ff 8e 7d  ab 9c 93 08 0f 3a 76 41
 50     e6 2b 8f 30 81 57 dd e9  01 6e ce 6b 01 8d 49 74
 60     9d 9e e5 7e e9 3b f3 a2  b2 45 bc 39 0f cd 96 6b
 70     90 3c a7 b4 5a 6f 72 ba  08 6b 58 1f 35 42 2a c6
 80     f7 f5 ae a2 a1 48 6e 89  e9 36 6d c8 3b 12 ec 3a
 90     ad 89 2f 37 ab 1a de 63  2f ef 74 ee c7 a9 51 d1
 a0     ae 63 ad 92 1b 78 98 f1  94 42 bb fa 23 07 88 3b
 b0     95 b7 46 a3 ca 2b 16 85  40 41 0a c5 f3 61 c7 ad
 c0     53 fb 1b 65 ac c9 55 ee  73 c1 02 a0 29 fe 53 15
 d0     8f 1f ad 8d 77 de 15 ef  6b f3 1b d8 44 96 e3 aa
 e0     5a 2a dc 10 7b 96 da 3c  8b f2 3d 38 a4 81 f3 2c
 f0     58 41 f5 54 73 45 9d 73  c5 fd e8 2a be c6 30 50
JMB39x: Read response sector #1
 00     93 03 7b 19 01 00 00 00  00 01 01 00 0b 00 03 a9    ..{.............
 10     0e 00 00 62 d6 ff 0d 00  01 00 27 00 00 00 00 00    ...b......'.....
 20     4a 4d 53 35 36 58 20 48  2f 57 20 52 41 49 44 00    JMS56X H/W RAID.
 30     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 40     4a 4d 69 63 72 6f 6e 20  54 65 63 68 6e 6f 6c 6f    JMicron Technolo
 50     67 79 20 43 6f 72 70 2e  00 00 00 00 00 00 00 00    gy Corp.........
 60     01 00 08 00 00 00 00 00  3c 00 1c 00 00 00 00 00    ........<.......
 70     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 80     b8 01 ff 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 90     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 a0     00 00 00 00 00 00 00 00  22 02 00 00 01 00 7b 19    ........".....{.
 b0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 c0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 d0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 f0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 100    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 110    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 120    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 130    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 140    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 150    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 160    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 170    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 180    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 190    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1f0    03 00 00 00 01 00 00 00  00 80 00 00 18 e0 8c af    ................
JMB39x: Restore original sector (not zero filled)
>>>> do_scsi_cmnd_io: sg_io_ver=3
 00     08 00 78 00 18 00 78 00  20 08 78 00 f6 02 00 10
 10     00 00 05 00 00 00 00 00  88 06 00 00 00 10 54 ee
 20     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 30     00 00 00 00 00 00 00 00  68 87 00 00 00 00 00 00
 40     09 00 78 00 19 00 78 00  20 09 78 00 00 00 00 10
 50     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 d2 e0
 60     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 70     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 80     0a 00 78 00 1a 00 78 00  20 0a 78 00 00 00 00 10
 90     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 e1 a3
 a0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 b0     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 c0     0b 00 78 00 1b 00 78 00  20 0b 78 00 00 00 00 10
 d0     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 5f 4f
 e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 f0     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 [<unknown opcode>: 2a 00 00 00 00 27 00 00 01 00 ]
  Outgoing data, len=512 [only first 256 bytes shown]:
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
Smartctl open device: /dev/sda [jmb39x_disk_0] failed: No device connected to JMB39x port 0

comment:3 by Christian Franke, 5 years ago

As it seems the TR002 uses a different chipset (JMS578) than the TR004, ...

If this is really a JMS578, which is an USB -> 1xSATA bridge, there is likely another port multiplier (JMBxxx) between USB-bridge and disks.

Related: tickets #705, #1283.

Leaving ticket as undecided until someone has enough spare time to analyze the protocol.

comment:4 by Christian Franke, 5 years ago

Related: ticket #1314.

comment:5 by Christian Franke, 4 years ago

Please test smartctl -d jms56x,N ..., see ticket #1314.

comment:6 by Hendrik, 4 years ago

Thanks for the patch, unfortunately, it's not working yet.
There's no more string which says "JMS56x" in the response sector and the error message at the end is different.

Here's the output of "sudo smartctl -d jms56x,0,force /dev/sda -r ioctl,2":

pi@raspberrypi:~/src/smartmontools-7.2$ sudo smartctl -d jms56x,0,force /dev/sda -r ioctl,2
smartctl 7.2 2020-04-05 r5049 [armv7l-linux-4.19.97-v7l+] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

>>>> do_scsi_cmnd_io: sg_io_ver=3
 [read capacity(16): 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00 ]
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
  Incoming data, len=32:
 00     00 00 00 03 a3 7f ff ff  00 00 02 00 00 03 00 00
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
JMB39x: Read original data at LBA 33
>>>> do_scsi_cmnd_io: sg_io_ver=3
 [<unknown opcode>: 28 00 00 00 00 21 00 00 01 00 ]
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
  Incoming data, len=512 [only first 256 bytes shown]:
 00     08 00 60 00 18 00 60 00  20 08 60 00 00 00 00 10
 10     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 98 84
 20     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 30     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 40     09 00 60 00 19 00 60 00  20 09 60 00 00 00 00 10
 50     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 26 68
 60     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 70     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 80     0a 00 60 00 1a 00 60 00  20 0a 60 00 00 00 00 10
 90     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 15 2b
 a0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 b0     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 c0     0b 00 60 00 1b 00 60 00  20 0b 60 00 00 00 00 10
 d0     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 ab c7
 e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 f0     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 00     08 00 60 00 18 00 60 00  20 08 60 00 00 00 00 10    ..`...`. .`.....
 10     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 98 84    .........*......
 20     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 30     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
 40     09 00 60 00 19 00 60 00  20 09 60 00 00 00 00 10    ..`...`. .`.....
 50     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 26 68    .........*....&h
 60     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 70     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
 80     0a 00 60 00 1a 00 60 00  20 0a 60 00 00 00 00 10    ..`...`. .`.....
 90     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 15 2b    .........*.....+
 a0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 b0     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
 c0     0b 00 60 00 1b 00 60 00  20 0b 60 00 00 00 00 10    ..`...`. .`.....
 d0     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 ab c7    .........*......
 e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 f0     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
 100    0c 00 60 00 1c 00 60 00  20 0c 60 00 00 00 00 10    ..`...`. .`.....
 110    00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 73 ad    .........*....s.
 120    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 130    00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
 140    0d 00 60 00 1d 00 60 00  20 0d 60 00 00 00 00 10    ..`...`. .`.....
 150    00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 cd 41    .........*.....A
 160    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 170    00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
 180    0e 00 60 00 1e 00 60 00  20 0e 60 00 00 00 00 10    ..`...`. .`.....
 190    00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 fe 02    .........*......
 1a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1b0    00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
 1c0    0f 00 60 00 1f 00 60 00  20 0f 60 00 00 00 00 10    ..`...`. .`.....
 1d0    00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 40 ee    .........*....@.
 1e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1f0    00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00    ........=.......
JMB39x: Write wakeup sector #1
 00     25 03 7b 19 0b a8 75 3c  00 00 00 00 00 00 00 00    %.{...u<........
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff    ................
 100    00 01 02 03 04 05 06 07  08 09 0a 0b 0c 0d 0e 0f    ................
 110    10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 120    20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 130    30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 140    40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 150    50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 160    60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 170    70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 180    80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 190    90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 1a0    a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 1b0    b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 1c0    c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 1d0    d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 1e0    e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 1f0    f0 f1 f2 f3 f4 f5 f6 f7  db a1 ec 10 d9 10 6d 70    ..............mp
>>>> do_scsi_cmnd_io: sg_io_ver=3
 00     25 03 7b 19 0b a8 75 3c  00 00 00 00 00 00 00 00
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff
 [<unknown opcode>: 2a 00 00 00 00 21 00 00 01 00 ]
  Outgoing data, len=512 [only first 256 bytes shown]:
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=10 milliseconds  resid=0
JMB39x: Write wakeup sector #2
 00     25 03 7b 19 37 e3 88 03  00 00 00 00 00 00 00 00    %.{.7...........
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff    ................
 100    00 01 02 03 04 05 06 07  08 09 0a 0b 0c 0d 0e 0f    ................
 110    10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 120    20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 130    30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 140    40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 150    50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 160    60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 170    70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 180    80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 190    90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 1a0    a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 1b0    b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 1c0    c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 1d0    d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 1e0    e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 1f0    f0 f1 f2 f3 f4 f5 f6 f7  db a1 ec 10 1e 51 58 69    .............QXi
>>>> do_scsi_cmnd_io: sg_io_ver=3
 00     25 03 7b 19 37 e3 88 03  00 00 00 00 00 00 00 00
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff
 [<unknown opcode>: 2a 00 00 00 00 21 00 00 01 00 ]
  Outgoing data, len=512 [only first 256 bytes shown]:
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
JMB39x: Write wakeup sector #3
 00     25 03 7b 19 f3 05 97 68  00 00 00 00 00 00 00 00    %.{....h........
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff    ................
 100    00 01 02 03 04 05 06 07  08 09 0a 0b 0c 0d 0e 0f    ................
 110    10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 120    20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 130    30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 140    40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 150    50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 160    60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 170    70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 180    80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 190    90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 1a0    a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 1b0    b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 1c0    c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 1d0    d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 1e0    e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 1f0    f0 f1 f2 f3 f4 f5 f6 f7  db a1 ec 10 07 4b 23 fe    .............K#.
>>>> do_scsi_cmnd_io: sg_io_ver=3
 00     25 03 7b 19 f3 05 97 68  00 00 00 00 00 00 00 00
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff
 [<unknown opcode>: 2a 00 00 00 00 21 00 00 01 00 ]
  Outgoing data, len=512 [only first 256 bytes shown]:
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
JMB39x: Write wakeup sector #4
 00     25 03 7b 19 3a 52 0c e0  00 00 00 00 00 00 00 00    %.{.:R..........
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff    ................
 100    00 01 02 03 04 05 06 07  08 09 0a 0b 0c 0d 0e 0f    ................
 110    10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f    ................
 120    20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f     !"#$%&'()*+,-./
 130    30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f    0123456789:;<=>?
 140    40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO
 150    50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\]^_
 160    60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno
 170    70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f    pqrstuvwxyz{|}~.
 180    80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f    ................
 190    90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f    ................
 1a0    a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af    ................
 1b0    b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf    ................
 1c0    c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf    ................
 1d0    d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df    ................
 1e0    e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef    ................
 1f0    f0 f1 f2 f3 f4 f5 f6 f7  db a1 ec 10 db 7a e5 5b    .............z.[
>>>> do_scsi_cmnd_io: sg_io_ver=3
 00     25 03 7b 19 3a 52 0c e0  00 00 00 00 00 00 00 00
 10     10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f
 20     20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f
 30     30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e 3f
 40     40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f
 50     50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e 5f
 60     60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e 6f
 70     70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e 7f
 80     80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e 8f
 90     90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e 9f
 a0     a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae af
 b0     b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be bf
 c0     c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce cf
 d0     d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de df
 e0     e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee ef
 f0     f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe ff
 [<unknown opcode>: 2a 00 00 00 00 21 00 00 01 00 ]
  Outgoing data, len=512 [only first 256 bytes shown]:
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
JMB39x: Write request sector #1
 00     62 05 7b 19 01 00 00 00  00 02 02 ff 00 00 00 00    b.{.............
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 20     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 30     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 40     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 50     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 60     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 70     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 80     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 90     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 a0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 b0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 c0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 d0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 f0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 100    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 110    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 120    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 130    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 140    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 150    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 160    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 170    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 180    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 190    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1f0    00 00 00 00 00 00 00 00  00 00 00 00 7a 19 dd e4    ............z...
>>>> do_scsi_cmnd_io: sg_io_ver=3
 00     6a c4 1c 5d 05 91 0d 3d  9c 46 d9 9e ba 63 00 5c
 10     48 78 c4 19 9f c8 8a 1f  8f a3 7f 83 08 cf 7a 71
 20     89 a4 1d cd e7 d2 32 e1  27 ad d4 fa 0e 03 99 eb
 30     f7 83 50 50 11 2d 79 be  3c b4 f1 e3 8f d9 3b 9f
 40     d9 b0 f3 67 87 90 e0 5d  ff f9 f0 60 61 55 1a 2e
 50     81 52 af 73 ee 25 ad c7  01 6e ce 6b 01 8d 49 74
 60     9c 9e ed 7e e9 3b f3 a2  8e 45 a0 39 0f cd 96 6b
 70     90 3c a7 b4 5a 6f 72 ba  08 6b 58 1f 35 42 2a c6
 80     4f f4 51 a2 a1 48 6e 89  e9 36 6d c8 3b 12 ec 3a
 90     ad 89 2f 37 ab 1a de 63  2f ef 74 ee c7 a9 51 d1
 a0     ae 63 ad 92 1b 78 98 f1  b6 40 bb fa 22 07 f3 22
 b0     95 b7 46 a3 ca 2b 16 85  40 41 0a c5 f3 61 c7 ad
 c0     53 fb 1b 65 ac c9 55 ee  73 c1 02 a0 29 fe 53 15
 d0     8f 1f ad 8d 77 de 15 ef  6b f3 1b d8 44 96 e3 aa
 e0     5a 2a dc 10 7b 96 da 3c  8b f2 3d 38 a4 81 f3 2c
 f0     58 41 f5 54 73 45 9d 73  c5 fd e8 2a be c6 30 50
 [<unknown opcode>: 2a 00 00 00 00 21 00 00 01 00 ]
  Outgoing data, len=512 [only first 256 bytes shown]:
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=10 milliseconds  resid=0
>>>> do_scsi_cmnd_io: sg_io_ver=3
 [<unknown opcode>: 28 00 00 00 00 21 00 00 01 00 ]
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
  Incoming data, len=512 [only first 256 bytes shown]:
 00     6a c4 1c 5d 05 91 0d 3d  9c 46 d9 9e ba 63 00 5c
 10     48 78 c4 19 9f c8 8a 1f  8f a3 7f 83 08 cf 7a 71
 20     89 a4 1d cd e7 d2 32 e1  27 ad d4 fa 0e 03 99 eb
 30     f7 83 50 50 11 2d 79 be  3c b4 f1 e3 8f d9 3b 9f
 40     d9 b0 f3 67 87 90 e0 5d  ff f9 f0 60 61 55 1a 2e
 50     81 52 af 73 ee 25 ad c7  01 6e ce 6b 01 8d 49 74
 60     9c 9e ed 7e e9 3b f3 a2  8e 45 a0 39 0f cd 96 6b
 70     90 3c a7 b4 5a 6f 72 ba  08 6b 58 1f 35 42 2a c6
 80     4f f4 51 a2 a1 48 6e 89  e9 36 6d c8 3b 12 ec 3a
 90     ad 89 2f 37 ab 1a de 63  2f ef 74 ee c7 a9 51 d1
 a0     ae 63 ad 92 1b 78 98 f1  b6 40 bb fa 22 07 f3 22
 b0     95 b7 46 a3 ca 2b 16 85  40 41 0a c5 f3 61 c7 ad
 c0     53 fb 1b 65 ac c9 55 ee  73 c1 02 a0 29 fe 53 15
 d0     8f 1f ad 8d 77 de 15 ef  6b f3 1b d8 44 96 e3 aa
 e0     5a 2a dc 10 7b 96 da 3c  8b f2 3d 38 a4 81 f3 2c
 f0     58 41 f5 54 73 45 9d 73  c5 fd e8 2a be c6 30 50
JMB39x: Read response sector #1
 00     62 05 7b 19 01 00 00 00  00 02 02 ff 00 00 00 00    b.{.............
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 20     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 30     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 40     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 50     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 60     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 70     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 80     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 90     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 a0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 b0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 c0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 d0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 f0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 100    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 110    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 120    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 130    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 140    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 150    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 160    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 170    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 180    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 190    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 1f0    00 00 00 00 00 00 00 00  00 00 00 00 7a 19 dd e4    ............z...
JMB39x: Restore original sector (not zero filled)
>>>> do_scsi_cmnd_io: sg_io_ver=3
 00     08 00 60 00 18 00 60 00  20 08 60 00 00 00 00 10
 10     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 98 84
 20     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 30     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 40     09 00 60 00 19 00 60 00  20 09 60 00 00 00 00 10
 50     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 26 68
 60     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 70     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 80     0a 00 60 00 1a 00 60 00  20 0a 60 00 00 00 00 10
 90     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 15 2b
 a0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 b0     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 c0     0b 00 60 00 1b 00 60 00  20 0b 60 00 00 00 00 10
 d0     00 00 05 00 00 00 00 00  8c 2a 00 00 00 10 ab c7
 e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 f0     00 00 00 00 00 00 00 00  3d 1d 00 00 00 00 00 00
 [<unknown opcode>: 2a 00 00 00 00 21 00 00 01 00 ]
  Outgoing data, len=512 [only first 256 bytes shown]:
  scsi_status=0x0, sg_transport_status=0x0, sg_driver_status=0x0
  sg_info=0x0  sg_duration=0 milliseconds  resid=0
Smartctl open device: /dev/sda [jmb39x_disk_0] failed: No JMB39x response detected

comment:7 by matty678, 4 years ago

Hi,
I have the TR 002 too.
It´s not working. Is there any progess?

comment:8 by Christian Franke, 4 years ago

No - this ticket is still undecided. This will only change if JMicron provides documentation (unlikely) or someone with access to a device and enough spare time reverse engineers the protocol and provides a patch. Even this may not help for all similar devices as it is unknown whether the protocol variant depends on the firmware version.

comment:9 by matty678, 4 years ago

Thx for your reply Christian.
So I´ll give the drive back and search for another Raid Box with supported Smart Device State.

comment:10 by Christian Franke, 22 months ago

Keywords: jmb39x jms56x added

Related: ticket #1674.

Note: See TracTickets for help on using tickets.