NetBSD-Bugs archive

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

bin/37967: add some SMART attributes to atactl



>Number:         37967
>Category:       bin
>Synopsis:       add some SMART attributes to atactl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 05 22:55:00 +0000 2008
>Originator:     Henry Bent
>Release:        NetBSD 4.99.51
>Organization:
>Environment:
NetBSD aelfric 4.99.51 NetBSD 4.99.51 (AELFRIC) #1: Tue Jan 29 04:01:25 EST 
2008  root@aelfric:/usr/obj/src-current/sys/arch/i386/compile/AELFRIC i386
>Description:
atactl does not label SMART attributes 189 and 190, which are "High Fly Writes" 
and "Airflow Temperature."  Note that 190 will return values identical to 194 
("Temperature"), so I marked it as a valid reporter of temperature.
>How-To-Repeat:
n/a
>Fix:
--- sbin/atactl/atactl.c.orig   2007-12-19 15:26:34.000000000 -0500
+++ sbin/atactl/atactl.c        2008-02-05 17:38:00.000000000 -0500
@@ -272,6 +272,8 @@
        {  10,          "Spin retry count", NULL },
        {  11,          "Calibration retry count", NULL },
        {  12,          "Device power cycle count", NULL },
+       { 189,          "High Fly Writes", NULL },
+       { 190,          "Airflow Temperature", device_smart_temp },
        { 191,          "Gsense error rate", NULL },
        { 192,          "Power-off retract count", NULL },
        { 193,          "Load cycle count", NULL },




Home | Main Index | Thread Index | Old Index