X-Spam-Check-By: sourceware.org Date: Mon, 18 Jun 2007 09:32:40 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Smartmontools don't work with /dev/stX, /dev/nstX Message-ID: <20070618073240.GG4179@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46758DF0.7060801@t-online.de> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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] ===== [IDENTIFY DEVICE] DATA START (BASE-16) ===== 000-015: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [...all bytes 00...] 496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [IDENTIFY DEVICE] DATA END (512 Bytes) ===== REPORT-IOCTL: DeviceFD=0 Command=IDENTIFY PACKET DEVICE IOCTL_ATA_PASS_THROUGH failed, Error=1 Input : CMD=0xa1, FR=0x00, SC=0x01, NS=0x00, CL=0x00, CH=0x00, SEL=0x00 IOCTL_IDE_PASS_THROUGH failed, Error=1 Input : CMD=0xa1, FR=0x00, SC=0x01, NS=0x00, CL=0x00, CH=0x00, SEL=0x00 REPORT-IOCTL: DeviceFD=0 Command=IDENTIFY PACKET DEVICE returned -1 errno=88 [Function not implemented] ===== [IDENTIFY PACKET DEVICE] DATA START (BASE-16) ===== 000-015: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [...all bytes 00...] ===== [IDENTIFY PACKET DEVICE] DATA END (512 Bytes) ===== Smartctl: Device Read Identity Failed (not an ATA/ATAPI device) A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. 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. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/