Custom Query (1095 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (67 - 69 of 1095)

Ticket Resolution Summary Owner Reporter
#548 fixed smartctl mistakenly reports error where none is... Christian Franke Dave Purdy
Description

The offending line/output is: SMART Status command failed: scsi error medium or hardware error (serious)

I noticed this odd behavior when I upgraded from smartmontools from 5.41 to 6.4 (automatically triggered in Debian when diet-upgrading from Wheezy to Jessie).

I had several SATA drives (SSD and rotational) that I had tested when connected via SATA and they tested fine, in both 5.41 and in 6.4. When connected to a supported USB FA-GoFlex? Desk device, it worked fine under 5.41. After upgrading to 6.4, I saw this erroneous output :

smartctl 6.4 2014-10-07 r4002 [armv5tel-linux-3.14.0-kirkwood-tld-1] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD10EFRX-68FYTN0
Serial Number:    WD-WCC4J4YR09FP
LU WWN Device Id: 5 0014ee 2b64e6f60
Firmware Version: 82.00A82
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 1.5 Gb/s)
Local Time is:    Sat May  9 16:52:44 2015 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Status command failed: scsi error medium or hardware error (serious)
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(13620) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 155) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x303d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   253   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   100   253   021    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       3
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   100   253   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       0
 10 Spin_Retry_Count        0x0032   100   253   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       3
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       4
194 Temperature_Celsius     0x0022   114   114   000    Old_age   Always       -       29
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   253   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%         0         -
# 2  Short offline       Completed without error       00%         0         -
# 3  Short offline       Completed without error       00%         0         -
# 4  Short offline       Completed without error       00%         0         -
# 5  Short offline       Completed without error       00%         0         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.


Again, this has been replicated w/ known good drives. Downgrading to 5.41 mitigates the error.

#169 fixed smartctl man page outdated (SMART offline test ranges) Christian Franke koitsu2009
Description

The man page for smartctl(8) on version 5.40 states the following about smartctl -t vendor,XXX:

vendor,N  - [ATA only] issues the ATA command SMART EXECUTE OFF-
            LINE IMMEDIATE with subcommand N in LBA LOW register.  The  sub-
            command  is  specified as a hex value in the range 0x00 to 0xff.
            Subcommands 0x40-0x7f and 0x90-0xff are reserved for vendor spe-
            cific use, see table 61 of T13/1699-D Revision 6a (ATA8-ACS).

This information has been deprecated per working draft of ATA-8 ACS, T13/2015-D Revision 3 (dated June 18, 2010), table 152, provides a more accurate portrait of what the current vendor and reserved SMART test ranges are for OFF-LINE IMMEDIATE:

00h = Execute SMART off-line routine immediately in off-line mode
01h = Execute SMART Short self-test routine immediately in off-line mode
02h = Execute SMART Extended self-test routine immediately in off-line mode
03h = Execute SMART Conveyance self-test routine immediately in off-line mode
04h = Execute SMART Selective self-test routine immediately in off-line mode
05h-3Fh = Reserved
40h-7Eh = Vendor specific
7Fh = Abort off-line mode self-test routine
80h = Reserved
81h = Execute SMART Short self-test routine immediately in captive mode
82h = Execute SMART Extended self-test routine immediately in captive mode
83h = Execute SMART Conveyance self-test routine immediately in captive mode
84h = Execute SMART Selective self-test routine immediately in captive mode
85h-8Fh = Reserved
90h-FFh = Vendor specific

Let me know and I can come up with a patch for smartctl.8.in with this information.

#305 wontfix smartctl loses 1 byte from response to scsiModeSense in FreeBSD Alex Samorukov fedsim
Description

smartctl -a (and smartd as well) gives an error when trying to examine some disks because the response to a mode sense command cannot be parsed (see attached file smartctl.log).

However, if the same command is sent with camcontrol, the response is correct (note the leading byte in camcontrol.log, which is not present in smartctl.log).

Note: See TracQuery for help on using queries.