Re: smartctl output for Crucial 512Gb SSD

Christian Franke <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Mike wrote:
> Greetings
>
> Following on from previous message, where running smartctl with the
> disk connected via SATA returns a 600PB disk (it is actually 512Gb
> Crucial M4), I followed advice from the Crucial message boards and
> left the disk idle over night in order to trigger automatic garbade
> collection.  No change the next morning, below is some smartctl
> output.  I've tried ddrescue to no avail, reads just fail completely.
> ...
> smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.13.0-34-generic] (local build)
> Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
>
> === START OF INFORMATION SECTION ===
> Model Family:     Crucial/Micron RealSSD m4/C400/P400
> Device Model:     M4-CT512M4SSD1
> ...
> Read SMART Log Directory failed: scsi error medium or hardware error (serious)
>

This error message is probably due to a limitation/bug in 
driver/firmware of the used (which?) controller. The device itself 
should support SMART Log Directory.


> General Purpose Log Directory Version 1
> Address    Access  R/W   Size  Description
> 0x00       GPL     R/O      1  Log Directory
> 0x03       GPL     R/O  16383  Ext. Comprehensive SMART error log
> 0x04       GPL     R/O    255  Device Statistics log
> 0x07       GPL     R/O   3449  Extended self-test log
> ..
> SMART Extended Comprehensive Error Log size 16383 not supported
>
> Read SMART Error Log failed: scsi error medium or hardware error (serious)
>
> SMART Extended Self-test Log size 3449 not supported
>
> Read SMART Self-test Log failed: scsi error medium or hardware error (serious)

The extended error/self-test logs may contain useful info. Unfortunately 
smartctl does not print the extended logs due to a historic size 
limitation. In the early days of these logs, sizes were <= 8.

If possible, apply the attached patch and try whether the logs could be 
read then.

Thanks,
Christian

------------------------------------------------------------------------------

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
large-ext-smart-logs.patch (text/x-patch, 947 B)
Index: ataprint.cpp
===================================================================
--- ataprint.cpp	(revision 3977)
+++ ataprint.cpp	(working copy)
@@ -3106,7 +3106,7 @@
     unsigned nsectors = GetNumLogSectors(gplogdir, 0x03, true);
     if (!nsectors)
       pout("SMART Extended Comprehensive Error Log (GP Log 0x03) not supported\n\n");
-    else if (nsectors >= 256)
+    else if (nsectors >= 20000)
       pout("SMART Extended Comprehensive Error Log size %u not supported\n\n", nsectors);
     else {
       raw_buffer log_03_buf(nsectors * 512);
@@ -3159,7 +3159,7 @@
     unsigned nsectors = GetNumLogSectors(gplogdir, 0x07, true);
     if (!nsectors)
       pout("SMART Extended Self-test Log (GP Log 0x07) not supported\n\n");
-    else if (nsectors >= 256)
+    else if (nsectors >= 20000)
       pout("SMART Extended Self-test Log size %u not supported\n\n", nsectors);
     else {
       raw_buffer log_07_buf(nsectors * 512);
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.