This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Recent x86_64 update broke administrator use of smartctl.exe
- From: Christian Franke <Christian dot Franke at t-online dot de>
- To: cygwin at cygwin dot com
- Date: Sat, 28 Mar 2015 17:02:50 +0100
- Subject: Re: Recent x86_64 update broke administrator use of smartctl.exe
- Authentication-results: sourceware.org; auth=none
- References: <5515FB35 dot 9020709 at abattoir dot com>
banshee wrote:
I have two windows 7 x64 boxes, one running cygwin x86 and the other
x86_64. I run smartctl on both boxes. One can run smartctl as
administrator or not, but it produces a fuller information set with
admin rights. A recent change to the x86_64 cygwin has broken
administrator use of smartctl as detailed below. It still runs fine
on the x86 cygwin.
I'm not certain which version of cygwin broke the functionality, but
it was working last week.
Any driver updates performed since then?
Do both machines have similar SATA controllers and drivers?
...
x86_64 running as ADMIN fails to run smartctl
$ /usr/sbin/smartctl.exe -a /dev/sda
smartctl 6.3 2014-07-26 r3976 [x86_64-unknown-cygwin-win7-sp1]
(cygwin-6.3-1)
Copyright (C) 2002-14, Bruce Allen, Christian Franke,
www.smartmontools.org
Read Device Identity failed: Input/output error
Could not reproduce this.
The Windows IO-controls IOCTL_ATA_PASS_THROUGH or SMART_RCV_DRIVE_DATA
possibly return some unexpected error code. This is typically a SATA
driver issue. The output of "smartctl -r ioctl,2 -i /dev/sda" should
provide more details.
Could you possibly repeat the above test this with the "native"
(non-Cygwin) Windows version of smartctl?
This is likely not a Cygwin specific issue. Smartctl does not use any
Cygwin functionality to do ATA/SCSI pass-through access. Cygwin and
native version of smartctl share the same code. We could continue the
discussion by private mail or on smartmontools-support mailing list if
desired.
Christian
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple