From: Robert Heller on 13 Feb 2010 18:33 At Sat, 13 Feb 2010 23:04:06 +0100 J G Miller <miller(a)yoyo.ORG> wrote: > > On Sat, 13 Feb 2010 15:38:27 -0600, Robert Heller asked: > > > What does 'smarctl -a /dev/sdd' give you? > > Sadly, not very much, but it does give details of two features which > are not supported. > > smartctl -a /dev/sdd > > Device: WD 10EAVS External Version: 1.75 > > scsiModePageOffset: response length too short, > resp_len=4 offset=4 bd_len=0 > > >> Terminate command early due to bad response to IEC mode page > A mandatory SMART command failed: exiting. > To continue, add one or more '-T permissive' options. > > smartctl -a -T verypermissive /dev/sdd > > Device: WD 10EAVS External Version: 1.75 > scsiModePageOffset: response length too short, > resp_len=4 offset=4 bd_len=0 > > >> Terminate command early due to bad response to IEC mode page > > Error Counter logging not supported > > scsiModePageOffset: response length too short, > resp_len=4 offset=4 bd_len=0 > > Device does not support Self Test logging OK, either the hard drive is not really SMART capable OR the USB bridge is not really SMART capable. Either way, smartctl is not going to be really useful with this drive. > -- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows heller(a)deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/
From: Robert Nichols on 13 Feb 2010 21:56 In article <MPGdnWZ1n99-q-rWnZ2dnUVZ_g-dnZ2d(a)posted.localnet>, Robert Heller <heller(a)deepsoft.com> wrote: : :OK, either the hard drive is not really SMART capable OR the USB bridge :is not really SMART capable. Either way, smartctl is not going to be :really useful with this drive. Not smartctl 5.38, anyway. It might be interesting to see how 'lsusb' identifies the interface chip, though, to see if it happens to be one that version 5.39 knows how to handle. -- Bob Nichols AT comcast.net I am "RNichols42"
From: J G Miller on 13 Feb 2010 23:49 On Sat, 13 Feb 2010 20:56:45 -0600, Robert Nichols wrote: > It might be interesting to see how 'lsusb' identifies the interface > chip, though, to see if it happens to be one that version 5.39 knows > how to handle. Or even 5.39.1 And I am most impressed! smartctl -a /dev/sdd ------------------------------------------------------------------------------- smartctl 5.39.1 2010-01-28 r3054 [i686-pc-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Western Digital Caviar Green family Device Model: WDC WD10EAVS-00M4B0 Serial Number: WD-WCAV50793611 Firmware Version: 01.00A01 User Capacity: 1,000,204,886,016 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Sun Feb 14 05:40:09 2010 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x84) Offline data collection activity was suspended by an interrupting command from host. 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: (21600) 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: ( 248) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x303f) 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 104 103 021 Pre-fail Always - 7791 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 249 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 - 494 10 Spin_Retry_Count 0x0032 100 100 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 - 71 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 37 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 1721 194 Temperature_Celsius 0x0022 122 104 000 Old_age Always - 25 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 - 0 200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] 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. ------------------------------------------------------------------------------------
From: Thomas Schmidt on 15 Feb 2010 15:20 James H. Markowitz wrote: > On Thu, 11 Feb 2010 22:01:44 -0500, David W. Hodgins wrote: > >> On Thu, 11 Feb 2010 21:40:25 -0500, James H. Markowitz >> <noone(a)nowhere.net> wrote: >> >>> Unfortunately, /sys/module/usbcore/parameters/autosuspend doesn't >>> exist in my Slackware 12.1 box, running a 2.6.24.5 kernel. >> See if the fourth answer in >> http://www.linuxquestions.org/questions/linux-hardware-18/how-can-one- > get-usb-external-disk-drive-to-sleep-667762/ >> helps. > > Thanks. Still no joy, unfortunately: autosuspend is nowhere to > bee seen in my /sys/bus/usb/devices subdirectories, and trying to echo > anything into it makes no difference. > > Maybe the autosuspend file is in another directory like /sys/devices/... You could try to find out with find /sys/ -name "autosuspend"
From: James H. Markowitz on 15 Feb 2010 15:37
On Mon, 15 Feb 2010 21:20:36 +0100, Thomas Schmidt wrote: > James H. Markowitz wrote: >> On Thu, 11 Feb 2010 22:01:44 -0500, David W. Hodgins wrote: >> >>> On Thu, 11 Feb 2010 21:40:25 -0500, James H. Markowitz >>> <noone(a)nowhere.net> wrote: >>> >>>> Unfortunately, /sys/module/usbcore/parameters/autosuspend doesn't >>>> exist in my Slackware 12.1 box, running a 2.6.24.5 kernel. >>> See if the fourth answer in >>> http://www.linuxquestions.org/questions/linux-hardware-18/how-can-one- >> get-usb-external-disk-drive-to-sleep-667762/ >>> helps. >> >> Thanks. Still no joy, unfortunately: autosuspend is nowhere to >> bee seen in my /sys/bus/usb/devices subdirectories, and trying to echo >> anything into it makes no difference. >> >> >> > Maybe the autosuspend file is in another directory like /sys/devices/... > You could try to find out with find /sys/ -name "autosuspend" There is no autosuspend (or any file/directory name) contaning the string "suspend" in my /sys directory. |