Quantcast

WD myBook: working USB device

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

WD myBook: working USB device

Manfred Schwarb
Hi Christian,

here another one for your collection:

smartctl option: "-d sat" (linux)

  idVendor           0x1058 Western Digital Technologies, Inc.
  idProduct          0x1102
  bcdDevice           10.28
  iManufacturer           1 Western Digital
  iProduct                2 My Book



# ./smartctl -dsat -ic -q noserial /dev/sdb1
smartctl 5.39 2009-04-28 21:11 [x86_64-suse-linux-gnu] (local build)
Copyright (C) 2002-9 by Bruce Allen,
http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD10EVCS-63E0B0
Firmware Version: 01.01A01
User Capacity:    1'000'204'886'016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Thu Apr 30 00:00:08 2009 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
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:                 (23400) 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:        ( 255) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x303f) SCT Status supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.



------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Smartmontools-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WD myBook: working USB device

Christian Franke
Hi Manfred,

Manfred Schwarb wrote:

> Hi Christian,
>
> here another one for your collection:
>
> smartctl option: "-d sat" (linux)
>
>   idVendor           0x1058 Western Digital Technologies, Inc.
>   idProduct          0x1102
>   bcdDevice           10.28
>   iManufacturer           1 Western Digital
>   iProduct                2 My Book
>
>
>  

Thanks for info. Added to Wiki and to USB ID table in scsiata.cpp.

Does it actually work with '-d sat' instead of '-d sat,12' on Linux?
Is this issue probably fixed in newer kernels?

Could you please try whether 48-bit ATA commands work, e.g:
'-l directory', '-l sataphy', '-l scttemp'.

Cheers,
    Christian


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Smartmontools-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WD myBook: working USB device

Manfred Schwarb

> Hi Manfred,
>
> Manfred Schwarb wrote:
> > Hi Christian,
> >
> > here another one for your collection:
> >
> > smartctl option: "-d sat" (linux)
> >
> >   idVendor           0x1058 Western Digital Technologies, Inc.
> >   idProduct          0x1102
> >   bcdDevice           10.28
> >   iManufacturer           1 Western Digital
> >   iProduct                2 My Book
> >
> >
> >  
>
> Thanks for info. Added to Wiki and to USB ID table in scsiata.cpp.
>
> Does it actually work with '-d sat' instead of '-d sat,12' on Linux?
> Is this issue probably fixed in newer kernels?
>

Yes. I'm on OpenSuse 11.1 (2.6.27.21-0.1), and it works with
"-d sat". However, on OpenSuse 10.3 I need "-d sat,12". So this
seems to have been fixed.


I see some strange behaviour though when using no "-d" option.
If I point to the device (/dev/sdb), I get different output than
pointing to the partition (/dev/sdb1) [when using "-d sat", output
is identical]:

# ./smartctl -a -q noserial /dev/sdb
smartctl 5.39 2009-04-28 21:11 [x86_64-suse-linux-gnu] (local build)
Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net

/dev/sdb: Unknown USB bridge [0x1058:0x1102 (0x1028)]
Smartctl: please specify device type with the -d option.

Use smartctl -h to get a usage summary


# ./smartctl -a -q noserial /dev/sdb1
smartctl 5.39 2009-04-28 21:11 [x86_64-suse-linux-gnu] (local build)
Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net

Device: WD       My Book          Version: 1028
Device type: disk
Local Time is: Thu Apr 30 00:25:22 2009 CEST
Device does not support SMART

Error Counter logging not supported
Device does not support Self Test logging




> Could you please try whether 48-bit ATA commands work, e.g:
> '-l directory', '-l sataphy', '-l scttemp'.
>

# ./smartctl -d sat -l directory /dev/sdb
smartctl 5.39 2009-04-28 21:11 [x86_64-suse-linux-gnu] (local build)                      
Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net                 

General Purpose Logging (GPL) feature set supported
General Purpose Log Directory Version 1            
SMART           Log Directory Version 1 [multi-sector log support]
GP/S  Log at address 0x00 has    1 sectors [Log Directory]        
SMART Log at address 0x01 has    1 sectors [Summary SMART error log]
SMART Log at address 0x02 has    5 sectors [Comprehensive SMART error log]
GP    Log at address 0x03 has    6 sectors [Ext. Comprehensive SMART error log]
SMART Log at address 0x06 has    1 sectors [SMART self-test log]              
GP    Log at address 0x07 has    1 sectors [Extended self-test log]            
SMART Log at address 0x09 has    1 sectors [Selective self-test log]          
GP    Log at address 0x10 has    1 sectors [NCQ Command Error]                
GP    Log at address 0x11 has    1 sectors [SATA Phy Event Counters]          
GP    Log at address 0x21 has    1 sectors [Write stream error log]            
GP    Log at address 0x22 has    1 sectors [Read stream error log]            
GP/S  Log at address 0x80 has   16 sectors [Host vendor specific log]          
GP/S  Log at address 0x81 has   16 sectors [Host vendor specific log]          
GP/S  Log at address 0x82 has   16 sectors [Host vendor specific log]          
GP/S  Log at address 0x83 has   16 sectors [Host vendor specific log]          
GP/S  Log at address 0x84 has   16 sectors [Host vendor specific log]          
GP/S  Log at address 0x85 has   16 sectors [Host vendor specific log]          
GP/S  Log at address 0x86 has   16 sectors [Host vendor specific log]          
GP/S  Log at address 0x87 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x88 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x89 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x8a has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x8b has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x8c has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x8d has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x8e has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x8f has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x90 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x91 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x92 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x93 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x94 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x95 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x96 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x97 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x98 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x99 has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x9a has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x9b has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x9c has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x9d has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x9e has   16 sectors [Host vendor specific log]
GP/S  Log at address 0x9f has   16 sectors [Host vendor specific log]
GP/S  Log at address 0xa0 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa1 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa2 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa3 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa4 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa5 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa6 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa7 has   16 sectors [Device vendor specific log]
GP/S  Log at address 0xa8 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xa9 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xaa has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xab has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xac has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xad has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xae has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xaf has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb0 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb1 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb2 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb3 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb4 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb5 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb6 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xb7 has    1 sectors [Device vendor specific log]
GP/S  Log at address 0xc0 has    1 sectors [Device vendor specific log]
GP    Log at address 0xc1 has   24 sectors [Device vendor specific log]
GP/S  Log at address 0xe0 has    1 sectors [SCT Command/Status]
GP/S  Log at address 0xe1 has    1 sectors [SCT Data Transfer]



# ./smartctl -d sat -l sataphy /dev/sdb
smartctl 5.39 2009-04-28 21:11 [x86_64-suse-linux-gnu] (local build)
Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net

General Purpose Logging (GPL) feature set supported
SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x000a  2            1  Device-to-host register FISes sent due to a COMRESET
0x8000  4          280  Vendor specific



# ./smartctl -d sat -l scttemp /dev/sdb
smartctl 5.39 2009-04-28 21:11 [x86_64-suse-linux-gnu] (local build)                    
Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net               

=== START OF READ SMART DATA SECTION ===
SCT Status Version:                  2  
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1          
Device State:                        SMART Off-line Data Collection executing in background (4)
Current Temperature:                    26 Celsius                                            
Power Cycle Min/Max Temperature:     24/26 Celsius                                            
Lifetime    Min/Max Temperature:     24/56 Celsius                                            
Under/Over Temperature Limit Count:   0/0                                                      
SCT Temperature History Version:     2                                                        
Temperature Sampling Period:         1 minute                                                  
Temperature Logging Interval:        1 minute                                                  
Min/Max recommended Temperature:      0/60 Celsius                                            
Min/Max Temperature Limit:           -41/85 Celsius                                            
Temperature History Size (Index):    478 (446)                                                

Index    Estimated Time   Temperature Celsius
 447    2009-05-03 15:35    26  *******      
 448    2009-05-03 15:36    38  *******************
 ...    ..( 20 skipped).    ..  *******************
 469    2009-05-03 15:57    38  *******************
 470    2009-05-03 15:58    39  ********************
 471    2009-05-03 15:59    38  *******************
 472    2009-05-03 16:00    39  ********************
 ...    ..( 20 skipped).    ..  ********************
  15    2009-05-03 16:21    39  ********************
  16    2009-05-03 16:22    40  *********************
 ...    ..( 25 skipped).    ..  *********************
  42    2009-05-03 16:48    40  *********************
  43    2009-05-03 16:49     ?  -                    
  44    2009-05-03 16:50    40  *********************
  45    2009-05-03 16:51    40  *********************
  46    2009-05-03 16:52    40  *********************
  47    2009-05-03 16:53    41  **********************
  48    2009-05-03 16:54    41  **********************
  49    2009-05-03 16:55    42  ***********************
 ...    ..(  2 skipped).    ..  ***********************
  52    2009-05-03 16:58    42  ***********************
  53    2009-05-03 16:59    43  ************************
  54    2009-05-03 17:00    43  ************************
  55    2009-05-03 17:01    43  ************************
  56    2009-05-03 17:02    44  *************************
  57    2009-05-03 17:03    44  *************************
  58    2009-05-03 17:04    45  **************************
  59    2009-05-03 17:05    45  **************************
  60    2009-05-03 17:06    45  **************************
  61    2009-05-03 17:07    46  ***************************
 ...    ..(  2 skipped).    ..  ***************************
  64    2009-05-03 17:10    46  ***************************
  65    2009-05-03 17:11    47  ****************************
  66    2009-05-03 17:12    48  *****************************
 ...    ..(  3 skipped).    ..  *****************************
  70    2009-05-03 17:16    48  *****************************
  71    2009-05-03 17:17    49  ******************************
 ...    ..( 13 skipped).    ..  ******************************
  85    2009-05-03 17:31    49  ******************************
  86    2009-05-03 17:32    50  *******************************
 ...    ..(  6 skipped).    ..  *******************************
  93    2009-05-03 17:39    50  *******************************
  94    2009-05-03 17:40    51  ********************************
 ...    ..(  5 skipped).    ..  ********************************
 100    2009-05-03 17:46    51  ********************************
 101    2009-05-03 17:47    52  *********************************
 ...    ..(  6 skipped).    ..  *********************************
 108    2009-05-03 17:54    52  *********************************
 109    2009-05-03 17:55    53  **********************************
 ...    ..(  8 skipped).    ..  **********************************
 118    2009-05-03 18:04    53  **********************************
 119    2009-05-03 18:05    54  ***********************************
 ...    ..(  8 skipped).    ..  ***********************************
 128    2009-05-03 18:14    54  ***********************************
 129    2009-05-03 18:15    55  ************************************
 ...    ..(  9 skipped).    ..  ************************************
 139    2009-05-03 18:25    55  ************************************
 140    2009-05-03 18:26    54  ***********************************
 ...    ..( 11 skipped).    ..  ***********************************
 152    2009-05-03 18:38    54  ***********************************
 153    2009-05-03 18:39    55  ************************************
 ...    ..( 18 skipped).    ..  ************************************
 172    2009-05-03 18:58    55  ************************************
 173    2009-05-03 18:59    56  *************************************
 174    2009-05-03 19:00    55  ************************************
 ...    ..(  2 skipped).    ..  ************************************
 177    2009-05-03 19:03    55  ************************************
 178    2009-05-03 19:04    56  *************************************
 179    2009-05-03 19:05    55  ************************************
 ...    ..(  3 skipped).    ..  ************************************
 183    2009-05-03 19:09    55  ************************************
 184    2009-05-03 19:10    56  *************************************
 ...    ..( 11 skipped).    ..  *************************************
 196    2009-05-03 19:22    56  *************************************
 197    2009-05-03 19:23    55  ************************************
 198    2009-05-03 19:24    56  *************************************
 ...    ..(  4 skipped).    ..  *************************************
 203    2009-05-03 19:29    56  *************************************
 204    2009-05-03 19:30    55  ************************************
 ...    ..( 22 skipped).    ..  ************************************
 227    2009-05-03 19:53    55  ************************************
 228    2009-05-03 19:54    56  *************************************
 ...    ..(  2 skipped).    ..  *************************************
 231    2009-05-03 19:57    56  *************************************
 232    2009-05-03 19:58     ?  -                                    
 233    2009-05-03 19:59    25  ******                              
 234    2009-05-03 20:00    25  ******                              
 235    2009-05-03 20:01    25  ******                              
 236    2009-05-03 20:02    26  *******                              
 237    2009-05-03 20:03    26  *******                              
 238    2009-05-03 20:04    27  ********                            
 239    2009-05-03 20:05    28  *********                            
 240    2009-05-03 20:06    29  **********                          
 241    2009-05-03 20:07    30  ***********                          
 242    2009-05-03 20:08    30  ***********                          
 243    2009-05-03 20:09    31  ************                        
 244    2009-05-03 20:10    32  *************                        
 245    2009-05-03 20:11    33  **************                      
 246    2009-05-03 20:12    33  **************                      
 247    2009-05-03 20:13    33  **************                      
 248    2009-05-03 20:14    34  ***************                      
 249    2009-05-03 20:15    34  ***************                      
 250    2009-05-03 20:16    35  ****************                    
 251    2009-05-03 20:17    36  *****************                    
 252    2009-05-03 20:18    37  ******************                  
 ...    ..(  3 skipped).    ..  ******************                  
 256    2009-05-03 20:22    37  ******************                  
 257    2009-05-03 20:23    38  *******************                  
 258    2009-05-03 20:24    38  *******************                  
 259    2009-05-03 20:25    39  ********************                
 260    2009-05-03 20:26    39  ********************                
 261    2009-05-03 20:27    40  *********************                
 262    2009-05-03 20:28    40  *********************                
 263    2009-05-03 20:29    40  *********************                
 264    2009-05-03 20:30    41  **********************              
 265    2009-05-03 20:31    41  **********************              
 266    2009-05-03 20:32    42  ***********************              
 ...    ..(  3 skipped).    ..  ***********************              
 270    2009-05-03 20:36    42  ***********************              
 271    2009-05-03 20:37    43  ************************            
 272    2009-05-03 20:38    44  *************************            
 273    2009-05-03 20:39    43  ************************            
 ...    ..( 21 skipped).    ..  ************************            
 295    2009-05-03 21:01    43  ************************            
 296    2009-05-03 21:02     ?  -                                    
 297    2009-05-03 21:03    43  ************************            
 298    2009-05-03 21:04    42  ***********************              
 299    2009-05-03 21:05    42  ***********************              
 300    2009-05-03 21:06    42  ***********************              
 301    2009-05-03 21:07    43  ************************            
 302    2009-05-03 21:08    43  ************************            
 303    2009-05-03 21:09    44  *************************            
 304    2009-05-03 21:10    44  *************************            
 305    2009-05-03 21:11    44  *************************            
 306    2009-05-03 21:12    45  **************************          
 307    2009-05-03 21:13    46  ***************************          
 308    2009-05-03 21:14    45  **************************          
 309    2009-05-03 21:15    45  **************************          
 310    2009-05-03 21:16    46  ***************************          
 ...    ..(  2 skipped).    ..  ***************************          
 313    2009-05-03 21:19    46  ***************************          
 314    2009-05-03 21:20    47  ****************************        
 ...    ..(  2 skipped).    ..  ****************************        
 317    2009-05-03 21:23    47  ****************************        
 318    2009-05-03 21:24    48  *****************************        
 ...    ..(  3 skipped).    ..  *****************************        
 322    2009-05-03 21:28    48  *****************************        
 323    2009-05-03 21:29    49  ******************************      
 ...    ..(  2 skipped).    ..  ******************************      
 326    2009-05-03 21:32    49  ******************************      
 327    2009-05-03 21:33    50  *******************************      
 ...    ..(  6 skipped).    ..  *******************************      
 334    2009-05-03 21:40    50  *******************************      
 335    2009-05-03 21:41    51  ********************************    
 336    2009-05-03 21:42    51  ********************************    
 337    2009-05-03 21:43    51  ********************************    
 338    2009-05-03 21:44    52  *********************************    
 ...    ..( 16 skipped).    ..  *********************************
 355    2009-05-03 22:01    52  *********************************
 356    2009-05-03 22:02    53  **********************************
 ...    ..( 17 skipped).    ..  **********************************
 374    2009-05-03 22:20    53  **********************************
 375    2009-05-03 22:21    54  ***********************************
 ...    ..(  7 skipped).    ..  ***********************************
 383    2009-05-03 22:29    54  ***********************************
 384    2009-05-03 22:30     ?  -
 385    2009-05-03 22:31    24  *****
 386    2009-05-03 22:32    25  ******
 387    2009-05-03 22:33    25  ******
 388    2009-05-03 22:34    25  ******
 389    2009-05-03 22:35    26  *******
 390    2009-05-03 22:36    26  *******
 391    2009-05-03 22:37    27  ********
 392    2009-05-03 22:38    28  *********
 393    2009-05-03 22:39    29  **********
 394    2009-05-03 22:40    29  **********
 395    2009-05-03 22:41    30  ***********
 396    2009-05-03 22:42    30  ***********
 397    2009-05-03 22:43    31  ************
 398    2009-05-03 22:44    32  *************
 ...    ..(  4 skipped).    ..  *************
 403    2009-05-03 22:49    32  *************
 404    2009-05-03 22:50    33  **************
 ...    ..(  3 skipped).    ..  **************
 408    2009-05-03 22:54    33  **************
 409    2009-05-03 22:55    34  ***************
 ...    ..( 12 skipped).    ..  ***************
 422    2009-05-03 23:08    34  ***************
 423    2009-05-03 23:09    35  ****************
 ...    ..(  2 skipped).    ..  ****************
 426    2009-05-03 23:12    35  ****************
 427    2009-05-03 23:13     ?  -
 428    2009-05-03 23:14    35  ****************
 429    2009-05-03 23:15    35  ****************
 430    2009-05-03 23:16    35  ****************
 431    2009-05-03 23:17     ?  -
 432    2009-05-03 23:18    35  ****************
 433    2009-05-03 23:19     ?  -
 434    2009-05-03 23:20    35  ****************
 435    2009-05-03 23:21     ?  -
 436    2009-05-03 23:22    35  ****************
 ...    ..(  2 skipped).    ..  ****************
 439    2009-05-03 23:25    35  ****************
 440    2009-05-03 23:26     ?  -
 441    2009-05-03 23:27    24  *****
 442    2009-05-03 23:28     ?  -
 443    2009-05-03 23:29    24  *****
 444    2009-05-03 23:30    24  *****
 445    2009-05-03 23:31    25  ******
 446    2009-05-03 23:32    25  ******


Thanks,
Manfred


> Cheers,
>     Christian

--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Smartmontools-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WD myBook: working USB device

Dan Lukes
Manfred Schwarb wrote:
> I see some strange behaviour though when using no "-d" option.
> If I point to the device (/dev/sdb), I get different output than
> pointing to the partition (/dev/sdb1)

The smartctl is the utility for speaking with (SMART enabled) disc
devices. Partition, directory, file or so - they are not disc devices,
even it may (or may not) be located on some (SMART-enabled) disc drive.

The result of run on non-disk devices is undefined (and such behavior
isn't bug, IMHO).

Well, it's interesting a lot the /dev/sdb is detected as "unknown
device" but /dev/sdb1 is detected as known, but non-SMART enabled disc
drive. It seems the Linux's code autodetection routine mis-identify
non-disc /dev/sdb1 device as disc drive.

                                        Dan


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Smartmontools-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WD myBook: working USB device

Christian Franke
In reply to this post by Manfred Schwarb
Manfred Schwarb wrote:
>> Does it actually work with '-d sat' instead of '-d sat,12' on Linux?
>> Is this issue probably fixed in newer kernels?
>>    
>
> Yes. I'm on OpenSuse 11.1 (2.6.27.21-0.1), and it works with
> "-d sat". However, on OpenSuse 10.3 I need "-d sat,12". So this
> seems to have been fixed.
>
>  

Thanks for testing.

Does anybody know which 2.6.x kernel version fixes this problem?


> I see some strange behaviour though when using no "-d" option.
> If I point to the device (/dev/sdb), I get different output than
> pointing to the partition (/dev/sdb1) [when using "-d sat", output
> is identical]:
>
> # ./smartctl -a -q noserial /dev/sdb
> smartctl 5.39 2009-04-28 21:11 [x86_64-suse-linux-gnu] (local build)
> Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net
>
> /dev/sdb: Unknown USB bridge [0x1058:0x1102 (0x1028)]
> Smartctl: please specify device type with the -d option.
>
>  

Auto-detection of this device should now work with current CVS.


> # ./smartctl -a -q noserial /dev/sdb1
> smartctl 5.39 2009-04-28 21:11 [x86_64-suse-linux-gnu] (local build)
> Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net
>
> Device: WD       My Book          Version: 1028
> Device type: disk
>
>
>  

This is as expected. USB auto-detection uses /sys/block/sdX/device
symlink and does only work for /dev/sdX. For partions, the default
/dev/sd* device type (-d scsi) is selected.


>> Could you please try whether 48-bit ATA commands work, e.g:
>> '-l directory', '-l sataphy', '-l scttemp'.
>>    
>
> # ./smartctl -d sat -l directory /dev/sdb
> smartctl 5.39 2009-04-28 21:11 [x86_64-suse-linux-gnu] (local build)                      
> Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net                 
>
> General Purpose Logging (GPL) feature set supported
> General Purpose Log Directory Version 1            
> SMART           Log Directory Version 1 [multi-sector log support]
> GP/S  Log at address 0x00 has    1 sectors [Log Directory]        
> SMART Log at address 0x01 has    1 sectors [Summary SMART error log]
>
>
>  

48-bit commands seem to work - Cool!


> # ./smartctl -d sat -l scttemp /dev/sdb
> [...]
> Current Temperature:                    26 Celsius
> Power Cycle Min/Max Temperature:     24/26 Celsius
> Lifetime    Min/Max Temperature:     24/56 Celsius
>
>  

Max 56 degrees - Not cool :-)
Disk Temperature is often a problem of these fanless devices.

Cheers,
    Christian


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Smartmontools-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
Loading...