Subject: bin/18666: atactl(8) "smart status" not smart
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rafal@netbsd.org>
List: netbsd-bugs
Date: 10/15/2002 19:24:08
>Number:         18666
>Category:       bin
>Synopsis:       atactl claims SMART not supported if SMART present but disabled
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 15 16:25:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Rafal Boni
>Release:        NetBSD 1.6I
>Organization:
none
>Environment:
System: NetBSD fearless-vampire-killer.waterside.net 1.6I NetBSD 1.6I (FEARLESS_VAMPIRE_KILLER) #6: Tue Oct 15 01:38:45 EDT 2002 rafal@:/extra/src-current/sys/arch/sparc64/compile/FEARLESS_VAMPIRE_KILLER sparc64
Architecture: sparc64
Machine: sparc64
>Description:
	Running "atactl wd0 smart status" on a drive that has the SMART 
	capabilities but has SMART disabled reports "SMART not supported"
	after correctly noting that SMART is present but disabled, as in
	the following example:

# atactl wd0 identify
Model: ST38410A, Rev: 3.13, Serial #: <ommitted>
Device type: ATA, fixed
Cylinders: 16708, heads: 16, sec/track: 63, total sectors: 16841664
Device capabilities:
        ATA standby timer values
        IORDY operation
        IORDY disabling
Device supports following standards:
ATA-1 ATA-2 ATA-3 ATA-4 
Command set support:
        READ BUFFER command
        WRITE BUFFER command
        Host Protected Area feature set
        look-ahead
        write cache
        Power Management feature set
        SMART feature set
        Advanced Power Management feature set
        DOWNLOAD MICROCODE command
Command sets/features enabled:
        look-ahead
        write cache
        Advanced Power Management feature set
# atactl wd0 smart status
SMART supported, SMART disabled
SMART not supported
#

>How-To-Repeat:
	Run `atactl <drive> smart status' on a drive which supports SMART
	but has it disabled.

>Fix:
	Left as an exercise for the reader.

>Release-Note:
>Audit-Trail:
>Unformatted:
 		Source from 10/14/2002 ~ 2345 EDT