From: Christian Franke <Christian.Franke@t-online.de>
To: cygwin@cygwin.com
Subject: Re: Recent x86_64 update broke administrator use of smartctl.exe
Date: Sat, 28 Mar 2015 16:21:00 -0000 [thread overview]
Message-ID: <5516D0AA.70101@t-online.de> (raw)
In-Reply-To: <5515FB35.9020709@abattoir.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
prev parent reply other threads:[~2015-03-28 16:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-28 6:14 banshee
2015-03-28 12:41 ` Marco Atzeri
2015-03-28 16:21 ` Christian Franke [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5516D0AA.70101@t-online.de \
--to=christian.franke@t-online.de \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).