X-Spam-Check-By: sourceware.org Message-ID: <4676E42C.4020900@t-online.de> Date: Mon, 18 Jun 2007 21:59:40 +0200 From: Christian Franke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Smartmontools don't work with /dev/stX, /dev/nstX References: <20070617115624 DOT GA31947 AT calimero DOT vinschen DOT de> <46754C80 DOT 1080803 AT t-online DOT de> <20070617161951 DOT GD4179 AT calimero DOT vinschen DOT de> <467569B1 DOT 5040605 AT t-online DOT de> <20070617184022 DOT GE4179 AT calimero DOT vinschen DOT de> <46758DF0 DOT 7060801 AT t-online DOT de> <20070618073240 DOT GG4179 AT calimero DOT vinschen DOT de> In-Reply-To: <20070618073240.GG4179@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ID: SyvBWkZT8eAKtvd3WGDQI7PEBrb4nTSeUlkl6TvT3w3ppxr1UM9Zgc X-TOI-MSGID: 43b5611d-deac-4c1d-b455-91ad3dcb4011 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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". > 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/