Opened 14 years ago

Closed 14 years ago

#27 closed enhancement (fixed)

Improve error handling of SMART STATUS if output registers are unknown

Reported by: Christian Franke Owned by: Christian Franke
Priority: minor Milestone: Release 5.40
Component: all Version: 5.39
Keywords: Cc:

Description

The ATA SMART RETURNS STATUS command provides the result in the ATA output registers. Buggy ATA/SATA drivers and SAT Layers often do not properly return the registers values.

If a SAT Layer does not provide an ATA Return Descriptor with the output registers, smartctl 5.39 prints the following message and aborts:

Error SMART Status command failed
Please get assistance from http://smartmontools.sourceforge.net/
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

Smartctl should not abort in this case and print a more specific warning message. The output for 'smartctl -H ...' should be as follows:

SMART overall-health self-assessment test result: UNKNOWN

Change History (2)

comment:1 by Christian Franke, 14 years ago

Owner: changed from somebody to Christian Franke
Status: newaccepted

comment:2 by Christian Franke, 14 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.