Custom Query (1405 matches)
Results (4 - 6 of 1405)
Ticket |
---|
#198 |
Description |
SCT error counters query on freebsd is broken and always return strange numbers like: SCT Error Recovery Control:
Tested with ata and atacam drivers. On the same hw but with Linux counters are correct. Set values seems to work correctly. Below is debug output from the smartctl on FreeBSD 8 with atacam driver: bsd# smartctl -l scterc /dev/ada1 smartctl 5.41 2011-06-09 r3365 [FreeBSD 8.2-STABLE amd64] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net SCT Error Recovery Control: Read: 57344 (5734.4 seconds) Write: 57344 (5734.4 seconds) bsd# smartctl -l scterc /dev/ada1 -r ioctl,99 smartctl 5.41 2011-06-09 r3365 [FreeBSD 8.2-STABLE amd64] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net REPORT-IOCTL: Device=/dev/ada1 Command=IDENTIFY DEVICE Input: FR=...., SC=0x01, LL=...., LM=...., LH=...., DEV=...., CMD=0xec IN Output: ERR=0x00, SC=0x00, LL=0x00, LM=0x00, LH=0x00, DEV=...., STS=.... REPORT-IOCTL: Device=/dev/ada1 Command=IDENTIFY DEVICE returned 0 ===== [IDENTIFY DEVICE] DATA START (BASE-16) ===== 000-015: 5a 0c ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00 |Z..?7.......?...| 016-031: 00 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 |.... | 032-047: 56 36 46 4d 41 31 4c 36 00 00 00 80 04 00 43 43 |V6FMA1L6......CC| 048-063: 38 33 20 20 20 20 54 53 33 33 30 32 31 34 41 38 |83 TS330214A8| 064-079: 20 53 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | S | 080-095: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80 | ..| 096-111: 00 00 00 2f 00 40 00 02 00 02 07 00 ff 3f 10 00 |.../.@.......?..| 112-127: 3f 00 10 fc fb 00 10 01 ff ff ff 0f 00 00 07 00 |?...............| 128-143: 03 00 78 00 78 00 78 00 78 00 00 00 00 00 00 00 |..x.x.x.x.......| 144-159: 00 00 00 00 00 00 1f 00 06 05 00 00 48 00 40 00 |............H.@.| 160-175: f0 01 29 00 6b 34 01 7f 63 41 69 34 01 be 63 41 |..).k4..cAi4..cA| 176-191: 7f 40 1f 00 1f 00 00 00 fe ff 00 00 00 fe 00 00 |.@..............| 192-207: 00 00 00 00 00 00 00 00 b0 ea 42 25 00 00 00 00 |..........B%....| 208-223: 00 00 00 00 00 00 00 00 00 50 00 c5 88 27 74 a9 |.........P...'t.| 224-239: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1e 40 |...............@| 240-255: 1c 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |.@..............| 256-271: 29 00 b0 ea 42 25 b0 ea 42 25 20 20 02 00 40 01 |)...B%..B% ..@.| 272-287: 00 01 00 50 06 3c 0a 3c 00 00 3c 00 00 00 08 00 |...P.<.<..<.....| 288-303: 00 00 00 00 4f 00 80 02 00 00 00 00 08 00 00 00 |....O...........| 304-319: 00 00 00 00 00 00 00 00 00 00 00 00 00 3f 00 98 |.............?..| 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 3f 10 00 00 |............?...| 416-431: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 432-447: 00 00 20 1c 00 00 00 00 00 00 00 00 10 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 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 a5 b3 |................| ===== [IDENTIFY DEVICE] DATA END (512 Bytes) ===== REPORT-IOCTL: Device=/dev/ada1 Command=SMART READ LOG InputParameter=224 Input: FR=0xd5, SC=0x01, LL=0xe0, LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 IN Output: ERR=0x00, SC=0x00, LL=0xe0, LM=0x4f, LH=0xc2, DEV=...., STS=.... REPORT-IOCTL: Device=/dev/ada1 Command=SMART READ LOG returned 0 ===== [SMART READ LOG] DATA START (BASE-16) ===== 000-015: 03 00 0a 02 01 00 00 00 00 00 00 00 00 00 00 00 |................| 016-031: 03 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 144-159: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 160-175: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 176-191: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 192-207: 00 00 00 00 00 00 00 00 21 17 21 12 2f 00 00 00 |........!.!./...| 208-223: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 224-239: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 240-255: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 256-271: 00 00 00 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: 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 00 |................| ===== [SMART READ LOG] DATA END (512 Bytes) ===== REPORT-IOCTL: Device=/dev/ada1 Command=SMART READ LOG InputParameter=224 Input: FR=0xd5, SC=0x01, LL=0xe0, LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 IN Output: ERR=0x00, SC=0x00, LL=0xe0, LM=0x4f, LH=0xc2, DEV=...., STS=.... REPORT-IOCTL: Device=/dev/ada1 Command=SMART READ LOG returned 0 ===== [SMART READ LOG] DATA START (BASE-16) ===== 000-015: 03 00 0a 02 01 00 00 00 00 00 00 00 00 00 00 00 |................| 016-031: 03 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 144-159: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 160-175: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 176-191: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 192-207: 00 00 00 00 00 00 00 00 21 17 21 12 2f 00 00 00 |........!.!./...| 208-223: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 224-239: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 240-255: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 256-271: 00 00 00 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: 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 00 |................| ===== [SMART READ LOG] DATA END (512 Bytes) ===== REPORT-IOCTL: Device=/dev/ada1 Command=SMART READ LOG InputParameter=224 Input: FR=0xd5, SC=0x01, LL=0xe0, LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 IN Output: ERR=0x00, SC=0x00, LL=0xe0, LM=0x4f, LH=0xc2, DEV=...., STS=.... REPORT-IOCTL: Device=/dev/ada1 Command=SMART READ LOG returned 0 ===== [SMART READ LOG] DATA START (BASE-16) ===== 000-015: 03 00 0a 02 01 00 00 00 00 00 00 00 00 00 00 00 |................| 016-031: 03 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 144-159: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 160-175: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 176-191: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 192-207: 00 00 00 00 00 00 00 00 21 17 21 12 2f 00 00 00 |........!.!./...| 208-223: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 224-239: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 240-255: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 256-271: 00 00 00 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: 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 00 |................| ===== [SMART READ LOG] DATA END (512 Bytes) ===== REPORT-IOCTL: Device=/dev/ada1 Command=SMART READ LOG InputParameter=224 Input: FR=0xd5, SC=0x01, LL=0xe0, LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 IN Output: ERR=0x00, SC=0x00, LL=0xe0, LM=0x4f, LH=0xc2, DEV=...., STS=.... REPORT-IOCTL: Device=/dev/ada1 Command=SMART READ LOG returned 0 ===== [SMART READ LOG] DATA START (BASE-16) ===== 000-015: 03 00 0a 02 01 00 00 00 00 00 00 00 00 00 00 00 |................| 016-031: 03 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 144-159: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 160-175: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 176-191: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 192-207: 00 00 00 00 00 00 00 00 21 17 21 12 2f 00 00 00 |........!.!./...| 208-223: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 224-239: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 240-255: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 256-271: 00 00 00 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: 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 00 |................| ===== [SMART READ LOG] DATA END (512 Bytes) ===== SCT Error Recovery Control: Read: 57344 (5734.4 seconds) Write: 57344 (5734.4 seconds) |
#943 |
Description |
Smartctl is broken on netbsd/sparc64 (BE) archTo test if smartctl still works on be i installed NetBSD7.0/sparc64 in the qemu. It was found that smart support is mostly broken. bash-4.4# uname -a NetBSD netbsd 7.0 NetBSD 7.0 (GENERIC.201509250726Z) sparc64 bash-4.4# ./smartctl -d ata /dev/wd0c -A smartctl 6.7 2017-11-16 r4625 [NetBSD 7.0 sparc64] (local build) Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org Read SMART Data failed: request failed, error code 0x02 === START OF READ SMART DATA SECTION === bash-4.4# ./smartctl -d ata /dev/wd0c -Ai smartctl 6.7 2017-11-16 r4625 [NetBSD 7.0 sparc64] (local build) Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Device Model: QEMU HARDDISK Serial Number: QM00001 Firmware Version: 2.5+ User Capacity: 5,368,709,120 bytes [5.36 GB] Sector Size: 512 bytes logical/physical Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ATA/ATAPI-7, ATA/ATAPI-5 published, ANSI NCITS 340-2000 Local Time is: Sun Nov 19 10:35:54 2017 UTC SMART support is: Available - device has SMART capability. SMART support is: Enabled Read SMART Data failed: request failed, error code 0x02 === START OF READ SMART DATA SECTION === At the same time native tool works correctly: bash-4.4# atactl wd0 smart status SMART supported, SMART enabled id value thresh crit collect reliability description raw 1 100 6 yes online positive Raw read error rate 0 3 100 0 yes online positive Spin-up time 16 4 100 20 no online positive Start/stop count 100 5 100 36 yes online positive Reallocated sector count 0 9 100 0 yes online positive Power-on hours count 1 12 100 0 yes online positive Device power cycle count 0 190 69 50 yes online positive Airflow Temperature 31 Lifetime min/max 31/0 Links: Todo:
Autodetection is broken in smartmontools 6.6/netbsdsparc64# ./smartctl /dev/wd0c smartctl 6.7 2017-11-16 r4625 [NetBSD 7.0 sparc64] (local build) Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org /dev/wd0c: Unable to detect device type Please specify device type with the -d option. Use smartctl -h to get a usage summary
Code in the |
#1153 |
Description |
Hi, When I used this command "smartctl -c -t short /dev/sdb" to verify SSD, smartctl (using smartctl -a)test result would show "Interrupt (host reset)" as following. # 6 Short captive Interrupted (host reset) 70% 2423 - # 7 Short captive Interrupted (host reset) 70% 2408 - And /dev/log/dmesg also occurred some error messages below. However, when I removed -C (captive mode), these issues would disappeared. I tried lots of SSDs (Intel, Samsung, HGST), I got the same symptom. Would you please advise if the parameter "-C" can't use with "-t" in the same test? Or is it a bug for smartctl tool? I will be grateful for any help you can provide. /var/log/dmesg ================================================================= [166867.098164] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen [166867.098172] ata2.00: failed command: SMART [166867.098180] ata2.00: cmd b0/d4:00:81:4f:c2/00:00:00:00:00/00 tag 25
[166867.098184] ata2.00: status: { DRDY } [166867.098189] ata2: hard resetting link [166867.403151] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [166867.403678] ata2.00: supports DRM functions and may not be fully accessible [166867.404715] ata2.00: supports DRM functions and may not be fully accessible [166867.405200] ata2.00: configured for UDMA/133 [166867.405218] ata2: EH complete |