SMART problem in Win7PESE

Thane Sherrington <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
I've been using smartctl in a BartPE/UBCD4Win environment for years, 
and it works great (provided I switch AHCI to IDE before booting to PE).

Now I'm trying Win7PESE, and I'm getting random failures like the one 
below.  On this computer, there is no AHCI setting (so it's in IDE or 
compatible mode by default), and the tests run fine when run from 
UBCD4Win.  It's running standard Windows SATA drivers.

Here is the -a results.

smartctl 6.3 2014-07-26 r3976 [i686-w64-mingw32-win7-sp1] (sf-6.3-1)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Black
Device Model:     WDC WD1002FAEX-00Z3A0
Serial Number:    WD-WCATR4920100
LU WWN Device Id: 5 0014ee 2aff7a099
Firmware Version: 05.01D05
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Wed Dec 31 12:08:13 2014
SMART support is: Available - device has SMART capability.
                   Enabled status cached by OS, trying SMART RETURN STATUS cmd.
SMART support is: Disabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enable failed: Input/output error


=== START OF READ SMART DATA SECTION ===
SMART Status command failed: Input/output error
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
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: 		(17280) 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: 	 ( 200) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3037)	SCT Status 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   200   200   051    Pre-fail  Always 
      -       0
   3 
Spin_Up_Time            0x0027   175   175   021    Pre-fail  Always 
      -       4225
   4 
Start_Stop_Count        0x0032   100   100   000    Old_age   Always 
      -       242
   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   099   099   000    Old_age   Always 
      -       1330
  10 
Spin_Retry_Count        0x0032   100   100   000    Old_age   Always 
      -       0
  11 Calibration_Retry_Count 
0x0032   100   100   000    Old_age   Always       -       0
  12 
Power_Cycle_Count       0x0032   100   100   000    Old_age   Always 
      -       214
192 Power-Off_Retract_Count 
0x0032   200   200   000    Old_age   Always       -       110
193 
Load_Cycle_Count        0x0032   200   200   000    Old_age   Always 
      -       131
194 
Temperature_Celsius     0x0022   112   080   000    Old_age   Always 
      -       35
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   200   200   000    Old_age   Offline 
      -       0
199 
UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always 
      -       1
200 
Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline 
      -       0

Read SMART Log Directory failed: Input/output error

Read SMART Error Log failed: Input/output error

Read SMART Self-test Log failed: Input/output error

Read SMART Selective Self-test Log failed: Input/output error

Even when I turn on smart with -s on or add -T permissive or 
verypermissive, I can't get it to run tests on the drive, and it 
gives me the input/output error.

Any idea how I can fix this?

T




------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
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.