Re: SMART Self-test: Reserved (0x80)

Christian Franke <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Andreas Mohr wrote:
> Hi,
>
> On Sun, Sep 14, 2014 at 10:26:27PM +0000, [email protected] wrote:
>
>> Hello
>> Could you explain me what does it mean:
>>
>> SMART Self-test log structure revision number 0
>> Warning: ATA Specification requires self-test log structure revision number = 1
>> Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
>> # 1  Reserved (0x80)     Aborted by host               60%     42798         -
>> # 2  Short offline       Completed without error       00%     42787         -
>> # 3  Short offline       Aborted by host               00%     42763         -
>>
>> I'm interested about #1 test. what does it mean: Reserved (0x80) ?
>> The system was under heavy load, so i had to abort the test.
>
> And especially: which device was it?

Bogus test types in self-test logs are not common for various SSDs 
(Intel, ...)


>
> For reference, atacmds.cpp ataPrintSmartSelfTestEntry() says:
>
>
>    std::string msgtest;
>    switch (test_type) {
>      case 0x00: msgtest = "Offline";            break;
>      case 0x01: msgtest = "Short offline";      break;
>      case 0x02: msgtest = "Extended offline";   break;
>      case 0x03: msgtest = "Conveyance offline"; break;
>      case 0x04: msgtest = "Selective offline";  break;
>      case 0x7f: msgtest = "Abort offline test"; break;
>      case 0x81: msgtest = "Short captive";      break;
>      case 0x82: msgtest = "Extended captive";   break;
>      case 0x83: msgtest = "Conveyance captive"; break;
>      case 0x84: msgtest = "Selective captive";  break;
>      default:
>        if ((0x40 <= test_type && test_type <= 0x7e) || 0x90 <= test_type)
>          msgtest = strprintf("Vendor (0x%02x)", test_type);
>        else
>          msgtest = strprintf("Reserved (0x%02x)", test_type);
>    }
>
> Or perhaps 0x80 indeed has changed from "reserved" to a specific meaning

Even recent ACS-4 drafts define 0x80 as "Reserved". Bit 7 normally marks 
captive tests, but a captive version of the "Offline" test does not exist.

I presume this a harmless firmware bug.

Thanks,
Christian


------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.