Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/atactl add a whole bunch of S.M.A.R.T. status i found a...



details:   https://anonhg.NetBSD.org/src/rev/df8b31cf76aa
branches:  trunk
changeset: 803171:df8b31cf76aa
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Oct 15 06:54:04 2014 +0000

description:
add a whole bunch of S.M.A.R.T. status i found around various sources.

now nothing on my new SSD is unknown, except #249.

diffstat:

 sbin/atactl/atactl.c |  26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)

diffs (57 lines):

diff -r 1de50db63831 -r df8b31cf76aa sbin/atactl/atactl.c
--- a/sbin/atactl/atactl.c      Wed Oct 15 05:11:36 2014 +0000
+++ b/sbin/atactl/atactl.c      Wed Oct 15 06:54:04 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atactl.c,v 1.73 2013/12/09 09:35:16 wiz Exp $  */
+/*     $NetBSD: atactl.c,v 1.74 2014/10/15 06:54:04 mrg Exp $  */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: atactl.c,v 1.73 2013/12/09 09:35:16 wiz Exp $");
+__RCSID("$NetBSD: atactl.c,v 1.74 2014/10/15 06:54:04 mrg Exp $");
 #endif
 
 
@@ -273,8 +273,27 @@
        {  11,          "Calibration retry count", NULL },
        {  12,          "Device power cycle count", NULL },
        {  13,          "Soft read error rate", NULL },
+       { 100,          "Erase/Program Cycles", NULL },
+       { 103,          "Translation Table Rebuild", NULL },
+       { 170,          "Reserved Block Count", NULL },
+       { 171,          "Program Fail Count", NULL },
+       { 172,          "Erase Fail Count", NULL },
+       { 173,          "Wear Leveller Worst Case Erase Count", NULL },
+       { 174,          "Unexpected Power Loss", NULL },
+       { 175,          "Program Fail Count", NULL },
+       { 176,          "Erase Fail Count", NULL },
+       { 177,          "Wear Leveling Count", NULL },
+       { 178,          "Used Reserved Block Count", NULL },
+       { 179,          "Used Reserved Block Count", NULL },
+       { 180,          "Unused Reserved Block Count", NULL },
+       { 181,          "Program Fail Count", NULL },
+       { 182,          "Erase Fail Count", NULL },
+       { 183,          "SATA Downshift Error Count", NULL },
        { 184,          "End-to-end error", NULL },
+       { 185,          "Head Stability", NULL },
+       { 186,          "Induced Op-Vibration Detection", NULL },
        { 187,          "Reported uncorrect", NULL },
+       { 188,          "Command Timeout", NULL },
        { 189,          "High Fly Writes", NULL },
        { 190,          "Airflow Temperature",          device_smart_temp },
        { 191,          "G-sense error rate", NULL },
@@ -310,7 +329,10 @@
        { 232,          "Available reserved space", NULL },
        { 233,          "Media wearout indicator", NULL },
        { 240,          "Head flying hours", NULL },
+       { 241,          "Total LBAs Written", NULL },
+       { 242,          "Total LBAs Read", NULL },
        { 250,          "Read error retry rate", NULL },
+       { 254,          "Free Fall Sensor", NULL },
        {   0,          "Unknown", NULL },
 };
 



Home | Main Index | Thread Index | Old Index