[Bug 191717] [isci] smartctl -H gives "ATA output registers missing" for a disk using the isci driver

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 7 16:31:50 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191717

--- Comment #8 from Matthew L. Dailey <matthew.l.dailey at dartmouth.edu> ---
FWIW, I think I've run into this on one of my systems running FreeBSD
10.2-RELEASE-p7 amd64 and smartctl 6.4 2015-06-04 r4109.

Unfortunately, this system is in production, so I can't try the kernel patch in
this bug report, but wanted to pass along this info in case it was helpful. If
I find another system exhibiting this behavior or am able to test the kernel
patch on this system, I'll update again.

The hardware looks like this (from dmesg):
ses0 at ahciem0 bus 0 scbus7 target 0 lun 0
ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ses0: SEMB SES Device
da0 at isci0 bus 0 scbus0 target 0 lun 0
da0: <ATA WDC WD1002F9YZ-0 1M03> Fixed Direct Access SCSI-5 device
da1 at isci0 bus 0 scbus0 target 1 lun 0
da1: <ATA INTEL SSDSC2BA10 0270> Fixed Direct Access SCSI-5 device
da0: Serial Number BTTV4494014Z100FGN
da0: 300.000MB/s transfers
da0: Command Queueing enabled
da0: 95396MB (195371568 512 byte sectors: 255H 63S/T 12161C)
da2 at isci0 bus 0 scbus0 target 2 lun 0
da3 at isci0 bus 0 scbus0 target 3 lun 0
da2: <ATA WDC WD1002F9YZ-0 1M03> Fixed Direct Access SCSI-5 device
da3: <ATA WDC WD1002F9YZ-0 1M03> Fixed Direct Access SCSI-5 device
da1: Serial Number      WD-WMC5K0D20LKL
da1: 300.000MB/s transfers
da1: Command Queueing enabled
da1: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C)
da2: Serial Number      WD-WMC5K0D1AM6Y
da3: Serial Number      WD-WMC5K0DAKT6E
da2: 300.000MB/s transfers
da3: 300.000MB/s transfers
da2: Command Queueing enabled
da2: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C)
da3: Command Queueing enabled
da3: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C)

Running smartctl -H on any of these devices shows this:
# smartctl -H /dev/da0
smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE-p7 amd64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

=== 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.

Full output is:
# smartctl -H -r ioctl,2 /dev/da0
smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE-p7 amd64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

 [inquiry: 12 00 00 00 24 00 ]
  CAM status=0x1, SCSI status=0x0, resid=0x0
  Incoming data, len=36:
 00     00 00 05 02 3e 00 00 02  41 54 41 20 20 20 20 20
 10     49 4e 54 45 4c 20 53 53  44 53 43 32 42 41 31 30
 20     30 32 37 30
  status=0x0
 [ata pass-through(16): 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00 ]
  CAM status=0x1, SCSI status=0x0, resid=0x0
  Incoming data, len=512 [only first 256 bytes shown]:
 00     40 00 ff 3f 37 c8 10 00  00 00 00 00 3f 00 00 00
 10     00 00 00 00 54 42 56 54  34 34 34 39 31 30 5a 34
 20     30 31 46 30 4e 47 20 20  00 00 00 00 00 00 44 35
 30     31 56 32 30 30 37 4e 49  45 54 20 4c 53 53 53 44
 40     32 43 41 42 30 31 47 30  20 33 20 20 20 20 20 20
 50     20 20 20 20 20 20 20 20  20 20 20 20 20 20 01 80
 60     00 40 00 2f 00 40 00 00  00 00 07 00 ff 3f 10 00
 70     3f 00 10 fc fb 00 01 b1  30 22 a5 0b 00 00 07 00
 80     03 00 78 00 78 00 78 00  78 00 30 40 00 00 00 00
 90     00 00 00 00 00 00 1f 00  0e 85 04 00 40 00 40 00
 a0     fc 03 10 01 6b 74 01 75  63 61 69 74 01 b4 63 61
 b0     7f 40 02 00 02 00 00 00  fe ff 00 00 00 00 00 00
 c0     00 00 00 00 00 00 00 00  30 22 a5 0b 00 00 00 00
 d0     00 00 06 00 03 60 00 00  cd 55 40 2e 73 4b af 5d
 e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 5c 40
 f0     1c 40 00 00 00 00 00 00  00 00 00 00 00 00 00 00
  status=0x0

REPORT-IOCTL: Device=/dev/da0 Command=IDENTIFY DEVICE
 Input:   FR=...., SC=0x01, LL=...., LM=...., LH=...., DEV=...., CMD=0xec IN
 [ata pass-through(16): 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00 ]
  CAM status=0x1, SCSI status=0x0, resid=0x0
  Incoming data, len=512 [only first 256 bytes shown]:
 00     40 00 ff 3f 37 c8 10 00  00 00 00 00 3f 00 00 00
 10     00 00 00 00 54 42 56 54  34 34 34 39 31 30 5a 34
 20     30 31 46 30 4e 47 20 20  00 00 00 00 00 00 44 35
 30     31 56 32 30 30 37 4e 49  45 54 20 4c 53 53 53 44
 40     32 43 41 42 30 31 47 30  20 33 20 20 20 20 20 20
 50     20 20 20 20 20 20 20 20  20 20 20 20 20 20 01 80
 60     00 40 00 2f 00 40 00 00  00 00 07 00 ff 3f 10 00
 70     3f 00 10 fc fb 00 01 b1  30 22 a5 0b 00 00 07 00
 80     03 00 78 00 78 00 78 00  78 00 30 40 00 00 00 00
 90     00 00 00 00 00 00 1f 00  0e 85 04 00 40 00 40 00
 a0     fc 03 10 01 6b 74 01 75  63 61 69 74 01 b4 63 61
 b0     7f 40 02 00 02 00 00 00  fe ff 00 00 00 00 00 00
 c0     00 00 00 00 00 00 00 00  30 22 a5 0b 00 00 00 00
 d0     00 00 06 00 03 60 00 00  cd 55 40 2e 73 4b af 5d
 e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 5c 40
 f0     1c 40 00 00 00 00 00 00  00 00 00 00 00 00 00 00
  status=0x0
 [Duration: 0.001s]
REPORT-IOCTL: Device=/dev/da0 Command=IDENTIFY DEVICE returned 0

===== [IDENTIFY DEVICE] DATA START (BASE-16) =====
000-015: 40 00 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00 |@..?7.......?...|
016-031: 00 00 00 00 54 42 56 54 34 34 34 39 31 30 5a 34 |....TBVT444910Z4|
032-047: 30 31 46 30 4e 47 20 20 00 00 00 00 00 00 44 35 |01F0NG  ......D5|
048-063: 31 56 32 30 30 37 4e 49 45 54 20 4c 53 53 53 44 |1V2007NIET LSSSD|
064-079: 32 43 41 42 30 31 47 30 20 33 20 20 20 20 20 20 |2CAB01G0 3      |
080-095: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 80 |              ..|
096-111: 00 40 00 2f 00 40 00 00 00 00 07 00 ff 3f 10 00 |. at ./. at .......?..|
112-127: 3f 00 10 fc fb 00 01 b1 30 22 a5 0b 00 00 07 00 |?.......0"......|
128-143: 03 00 78 00 78 00 78 00 78 00 30 40 00 00 00 00 |..x.x.x.x.0 at ....|
144-159: 00 00 00 00 00 00 1f 00 0e 85 04 00 40 00 40 00 |............ at .@.|
160-175: fc 03 10 01 6b 74 01 75 63 61 69 74 01 b4 63 61 |....kt.ucait..ca|
176-191: 7f 40 02 00 02 00 00 00 fe ff 00 00 00 00 00 00 |. at ..............|
192-207: 00 00 00 00 00 00 00 00 30 22 a5 0b 00 00 00 00 |........0"......|
208-223: 00 00 06 00 03 60 00 00 cd 55 40 2e 73 4b af 5d |.....`...U at .sK.]|
224-239: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5c 40 |..............\@|
240-255: 1c 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |. at ..............|
256-271: 21 00 1c 00 00 00 00 00 00 00 00 00 00 00 00 00 |!...............|
272-287: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
288-303: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
304-319: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
320-335: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
336-351: 03 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
352-367: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |                |
368-383: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |                |
384-399: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |                |
400-415: 20 20 20 20 20 20 20 20 20 20 20 20 3d 00 00 00 |            =...|
416-431: 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 |... at ............|
432-447: 00 00 01 00 00 00 00 00 00 00 00 00 1f 10 00 00 |................|
448-463: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
464-479: 00 00 00 00 01 00 ff ff 00 00 00 00 00 00 00 00 |................|
480-495: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a5 22 |..............."|
===== [IDENTIFY DEVICE] DATA END (512 Bytes) =====


REPORT-IOCTL: Device=/dev/da0 Command=SMART READ ATTRIBUTE VALUES
 Input:   FR=0xd0, SC=0x01, LL=...., LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 IN
 [ata pass-through(16): 85 08 0e 00 d0 00 01 00 00 00 4f 00 c2 00 b0 00 ]
  CAM status=0x1, SCSI status=0x0, resid=0x0
  Incoming data, len=512 [only first 256 bytes shown]:
 00     01 00 05 32 00 64 64 00  00 00 00 00 00 00 09 32
 10     00 64 64 c0 1d 00 00 00  00 00 0c 32 00 64 64 0c
 20     00 00 00 00 00 00 aa 33  00 64 64 00 00 00 00 00
 30     00 00 ab 32 00 64 64 00  00 00 00 00 00 00 ac 32
 40     00 64 64 00 00 00 00 00  00 00 ae 32 00 64 64 08
 50     00 00 00 00 00 00 af 33  00 64 64 66 02 a7 1e 2d
 60     00 00 b7 32 00 64 64 00  00 00 00 00 00 00 b8 33
 70     00 64 64 00 00 00 00 00  00 00 bb 32 00 64 64 00
 80     00 00 00 00 00 00 be 22  00 50 4e 14 00 13 1c 00
 90     00 00 c0 32 00 64 64 08  00 00 00 00 00 00 c2 22
 a0     00 64 64 1b 00 00 00 00  00 00 c5 32 00 64 64 00
 b0     00 00 00 00 00 00 c7 3e  00 64 64 00 00 00 00 00
 c0     00 00 e1 32 00 64 64 9b  17 1f 00 00 00 00 e2 32
 d0     00 64 64 14 08 00 00 00  00 00 e3 32 00 64 64 05
 e0     00 00 00 00 00 00 e4 32  00 64 64 ec f8 06 00 00
 f0     00 00 e8 33 00 64 64 00  00 00 00 00 00 00 e9 32
  status=0x0
 [Duration: 0.001s]
REPORT-IOCTL: Device=/dev/da0 Command=SMART READ ATTRIBUTE VALUES returned 0

===== [SMART READ ATTRIBUTE VALUES] DATA START (BASE-16) =====
000-015: 01 00 05 32 00 64 64 00 00 00 00 00 00 00 09 32 |...2.dd........2|
016-031: 00 64 64 c0 1d 00 00 00 00 00 0c 32 00 64 64 0c |.dd........2.dd.|
032-047: 00 00 00 00 00 00 aa 33 00 64 64 00 00 00 00 00 |.......3.dd.....|
048-063: 00 00 ab 32 00 64 64 00 00 00 00 00 00 00 ac 32 |...2.dd........2|
064-079: 00 64 64 00 00 00 00 00 00 00 ae 32 00 64 64 08 |.dd........2.dd.|
080-095: 00 00 00 00 00 00 af 33 00 64 64 66 02 a7 1e 2d |.......3.ddf...-|
096-111: 00 00 b7 32 00 64 64 00 00 00 00 00 00 00 b8 33 |...2.dd........3|
112-127: 00 64 64 00 00 00 00 00 00 00 bb 32 00 64 64 00 |.dd........2.dd.|
128-143: 00 00 00 00 00 00 be 22 00 50 4e 14 00 13 1c 00 |.......".PN.....|
144-159: 00 00 c0 32 00 64 64 08 00 00 00 00 00 00 c2 22 |...2.dd........"|
160-175: 00 64 64 1b 00 00 00 00 00 00 c5 32 00 64 64 00 |.dd........2.dd.|
176-191: 00 00 00 00 00 00 c7 3e 00 64 64 00 00 00 00 00 |.......>.dd.....|
192-207: 00 00 e1 32 00 64 64 9b 17 1f 00 00 00 00 e2 32 |...2.dd........2|
208-223: 00 64 64 14 08 00 00 00 00 00 e3 32 00 64 64 05 |.dd........2.dd.|
224-239: 00 00 00 00 00 00 e4 32 00 64 64 ec f8 06 00 00 |.......2.dd.....|
240-255: 00 00 e8 33 00 64 64 00 00 00 00 00 00 00 e9 32 |...3.dd........2|
256-271: 00 62 62 00 00 00 00 00 00 00 ea 32 00 64 64 00 |.bb........2.dd.|
272-287: 00 00 00 00 00 00 f1 32 00 64 64 9b 17 1f 00 00 |.......2.dd.....|
288-303: 00 00 f2 32 00 64 64 89 a5 01 00 00 00 00 00 00 |...2.dd.........|
304-319: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
320-335: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
336-351: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
352-367: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 79 |...............y|
368-383: 03 00 01 00 01 02 02 00 00 00 00 00 00 00 00 00 |................|
384-399: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
400-415: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
416-431: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
432-447: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
448-463: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
464-479: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
480-495: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2e |................|
===== [SMART READ ATTRIBUTE VALUES] DATA END (512 Bytes) =====


REPORT-IOCTL: Device=/dev/da0 Command=SMART READ ATTRIBUTE THRESHOLDS
 Input:   FR=0xd1, SC=0x01, LL=0x01, LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 IN
 [ata pass-through(16): 85 08 0e 00 d1 00 01 00 01 00 4f 00 c2 00 b0 00 ]
  CAM status=0x1, SCSI status=0x0, resid=0x0
  Incoming data, len=512 [only first 256 bytes shown]:
 00     01 00 05 00 00 00 00 00  00 00 00 00 00 00 09 00
 10     00 00 00 00 00 00 00 00  00 00 0c 00 00 00 00 00
 20     00 00 00 00 00 00 aa 0a  00 00 00 00 00 00 00 00
 30     00 00 ab 00 00 00 00 00  00 00 00 00 00 00 ac 00
 40     00 00 00 00 00 00 00 00  00 00 ae 00 00 00 00 00
 50     00 00 00 00 00 00 af 0a  00 00 00 00 00 00 00 00
 60     00 00 b7 00 00 00 00 00  00 00 00 00 00 00 b8 5a
 70     00 00 00 00 00 00 00 00  00 00 bb 00 00 00 00 00
 80     00 00 00 00 00 00 be 00  00 00 00 00 00 00 00 00
 90     00 00 c0 00 00 00 00 00  00 00 00 00 00 00 c2 00
 a0     00 00 00 00 00 00 00 00  00 00 c5 00 00 00 00 00
 b0     00 00 00 00 00 00 c7 00  00 00 00 00 00 00 00 00
 c0     00 00 e1 00 00 00 00 00  00 00 00 00 00 00 e2 00
 d0     00 00 00 00 00 00 00 00  00 00 e3 00 00 00 00 00
 e0     00 00 00 00 00 00 e4 00  00 00 00 00 00 00 00 00
 f0     00 00 e8 0a 00 00 00 00  00 00 00 00 00 00 e9 00
  status=0x0
REPORT-IOCTL: Device=/dev/da0 Command=SMART READ ATTRIBUTE THRESHOLDS returned
0

===== [SMART READ ATTRIBUTE THRESHOLDS] DATA START (BASE-16) =====
000-015: 01 00 05 00 00 00 00 00 00 00 00 00 00 00 09 00 |................|
016-031: 00 00 00 00 00 00 00 00 00 00 0c 00 00 00 00 00 |................|
032-047: 00 00 00 00 00 00 aa 0a 00 00 00 00 00 00 00 00 |................|
048-063: 00 00 ab 00 00 00 00 00 00 00 00 00 00 00 ac 00 |................|
064-079: 00 00 00 00 00 00 00 00 00 00 ae 00 00 00 00 00 |................|
080-095: 00 00 00 00 00 00 af 0a 00 00 00 00 00 00 00 00 |................|
096-111: 00 00 b7 00 00 00 00 00 00 00 00 00 00 00 b8 5a |...............Z|
112-127: 00 00 00 00 00 00 00 00 00 00 bb 00 00 00 00 00 |................|
128-143: 00 00 00 00 00 00 be 00 00 00 00 00 00 00 00 00 |................|
144-159: 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 c2 00 |................|
160-175: 00 00 00 00 00 00 00 00 00 00 c5 00 00 00 00 00 |................|
176-191: 00 00 00 00 00 00 c7 00 00 00 00 00 00 00 00 00 |................|
192-207: 00 00 e1 00 00 00 00 00 00 00 00 00 00 00 e2 00 |................|
208-223: 00 00 00 00 00 00 00 00 00 00 e3 00 00 00 00 00 |................|
224-239: 00 00 00 00 00 00 e4 00 00 00 00 00 00 00 00 00 |................|
240-255: 00 00 e8 0a 00 00 00 00 00 00 00 00 00 00 e9 00 |................|
256-271: 00 00 00 00 00 00 00 00 00 00 ea 00 00 00 00 00 |................|
272-287: 00 00 00 00 00 00 f1 00 00 00 00 00 00 00 00 00 |................|
288-303: 00 00 f2 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
304-319: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
320-335: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
336-351: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
352-367: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
368-383: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
384-399: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
400-415: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
416-431: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
432-447: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
448-463: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
464-479: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
480-495: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 |................|
===== [SMART READ ATTRIBUTE THRESHOLDS] DATA END (512 Bytes) =====

=== START OF READ SMART DATA SECTION ===

REPORT-IOCTL: Device=/dev/da0 Command=SMART STATUS CHECK
 Input:   FR=0xda, SC=...., LL=...., LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0
 [ata pass-through(16): 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00 ]
  CAM status=0x8c, SCSI status=0x2, resid=0x0
  sense_len=0x20, sense_resid=0xe
  >>> Sense buffer, len=18:
 00     f0 00 01 00 50 00 00 00  00 c2 4f 00 00 1d 00 00
 10     00 00
  status=0x2: sense_key=0x1 asc=0x0 ascq=0x1d
 [Duration: 0.001s]
REPORT-IOCTL: Device=/dev/da0 Command=SMART STATUS CHECK returned -1 errno=78
[Incomplete response, ATA output registers missing]
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-scsi mailing list