Smartmontools don't work with /dev/stX, /dev/nstX
Christian Franke
Christian.Franke@t-online.de
Mon Jun 18 19:59:00 GMT 2007
Corinna Vinschen wrote:
> On Jun 17 21:39, Christian Franke wrote:
>
>> Corinna Vinschen wrote:
>>
>>> The drive is a Samsung 1614C which definitely supports SMART. Oh well,
>>> so the answer is just "too bad", I assume...
>>>
>> Yes.
>> The device driver is likely a SCSI miniport driver and does not
>> implement SMART functions.
>> http://smartmontools.sourceforge.net/#FAQ-win-ata-as-scsi
>> Try option "-r ioctl,2" for a more detailed diagnostic output.
>>
>
> Done. -r ioctl,2 /dev/hda returns:
>
> REPORT-IOCTL: DeviceFD=0 Command=IDENTIFY DEVICE
> SMART_GET_VERSION failed, Error=1117
> ATA/SATA driver is possibly a SCSI class driver not supporting SMART.
> If this is a SCSI disk, try "scsi<adapter><id>".
> IOCTL_ATA_PASS_THROUGH failed, Error=1
> Input : CMD=0xec, FR=0x00, SC=0x01, NS=0x00, CL=0x00, CH=0x00, SEL=0x00
> IOCTL_IDE_PASS_THROUGH failed, Error=1
> Input : CMD=0xec, FR=0x00, SC=0x01, NS=0x00, CL=0x00, CH=0x00, SEL=0x00
> REPORT-IOCTL: DeviceFD=0 Command=IDENTIFY DEVICE returned -1 errno=88
> [Function not implemented]
>
>
None of the three ATA ioctl calls work.
> ...
>
> The same on /dev/sda:
>
> $ /usr/sbin/smartctl.exe -i -r ioctl,2 /dev/sda
> smartctl version 5.37 [i686-cygwin-xp-sp2] Copyright (C) 2002-6 Bruce Allen
> Home page is http://smartmontools.sourceforge.net/
>
> [inquiry: 12 00 00 00 24 00 ]
> Incoming data, len=36:
> 00 00 00 02 02 2c 00 00 13 41 54 49 20 20 20 20 20
> 10 31 2b 30 20 4a 42 4f 44 20 20 20 20 20 20 20 20
> 20 31 2e 31 30
> Device: ATI 1+0 JBOD Version: 1.10
> [mode sense: 1a 00 1c 00 40 00 ]
> IOCTL_SCSI_PASS_THROUGH_DIRECT failed, Error=87
> [inquiry: 12 01 80 00 40 00 ]
> status=2: sense_key=5 asc=24 ascq=0
> Incoming data, len=64:
> 00 00 00 02 02 2c 00 00 13 41 54 49 20 20 20 20 20
> 10 31 2b 30 20 4a 42 4f 44 20 20 20 20 20 20 20 20
> 20 31 2e 31 30 00 00 00 00 00 00 00 00 00 00 00 00
> 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> Vital Product Data (VPD) INQUIRY failed [3]
> Device type: disk
> [mode sense: 1a 00 19 00 40 00 ]
> status=2: sense_key=5 asc=20 ascq=0
> Incoming data, len=64:
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> [mode sense(10): 5a 00 19 00 00 00 00 00 40 00 ]
> status=2: sense_key=5 asc=20 ascq=0
> Incoming data, len=64:
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> Local Time is: Mon Jun 18 09:18:16 2007 WEST
> [test unit ready: 00 00 00 00 00 00 ]
> Device does not support SMART [Input/Output error]
>
> The error 87 on IOCTL_SCSI_PASS_THROUGH_DIRECT looks a bit interesting,
> but maybe doesn't mean much either.
>
>
Yes. The MODE SENSE of "Informational Exceptions Control mode page"
fails with ERROR_INVALID_PARAMETER.
This mode page is requested to detect USB devices which may lock up on
some commands.
Thanks
Christian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list