From: Mark Lord <mlord@pobox.com>
To: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: linux-ide@vger.kernel.org, dgilbert@interlog.com
Subject: Re: SATL support for hdparm?
Date: Sat, 14 Feb 2009 19:17:35 -0500 [thread overview]
Message-ID: <49975F1F.8090900@pobox.com> (raw)
In-Reply-To: <20090215001355.GL17914@xi.wantstofly.org>
Lennert Buytenhek wrote:
..
>>> [root@heth hdparm-9.10]# ./hdparm -B 254 /dev/sdb
..
> ioctl(3, SG_IO, {'S', SG_DXFER_NONE, cmd[12]=[a1, 06, 20, 05, fd, 00, 00, 00, 40, ef, 00, 00], mx_sb_len=32, iovec_count=0, dxfer_len=0, timeout=5000, flags=0, status=02, masked_status=01, sb[22]=[72, 0b, 00, 00, 00, 00, 00, 0e, 09, 0c, 00, 04, 00, fd, 00, 00, 00, 00, 00, 00, 40, 51], host_status=0, driver_status=0x8, resid=0, duration=1, info=0x1}) = 0
>
> Does that mean the drive doesn't support SET_FEATURES/{05,85} (weird)?
..
The -I (IDENTIFY) flag will tell whether the drive supports Advanced Power
Management, so try that.
Also, not all drives like 254. To turn it off, use -B 255 instead.
Cheers
--
Mark Lord
Real-Time Remedies Inc.
mlord@pobox.com
next prev parent reply other threads:[~2009-02-15 0:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-14 22:21 SATL support for hdparm? Lennert Buytenhek
2009-02-14 23:57 ` Mark Lord
2009-02-15 0:06 ` Lennert Buytenhek
2009-02-15 0:09 ` Mark Lord
2009-02-15 0:13 ` Lennert Buytenhek
2009-02-15 0:15 ` Mark Lord
2009-02-15 0:17 ` Lennert Buytenhek
2009-02-15 0:20 ` Mark Lord
2009-02-15 0:23 ` Lennert Buytenhek
2009-02-15 0:17 ` Mark Lord [this message]
2009-02-15 0:19 ` Lennert Buytenhek
2009-02-15 0:21 ` Mark Lord
2009-02-15 0:25 ` Lennert Buytenhek
2009-02-15 0:14 ` Douglas Gilbert
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=49975F1F.8090900@pobox.com \
--to=mlord@pobox.com \
--cc=buytenh@wantstofly.org \
--cc=dgilbert@interlog.com \
--cc=linux-ide@vger.kernel.org \
/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 NNTP newsgroup(s).