linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gerald Hopf <linux-ide@nv-systems.net>
To: linux-ide@vger.kernel.org
Subject: 'hdparm -C' problems with libata-dev
Date: Fri, 08 Apr 2005 16:03:21 +0200	[thread overview]
Message-ID: <42568F29.6020800@nv-systems.net> (raw)

Hi everyone,

I've been trying to get the hdparm and hddtemp tools to work with my 
Seagate SATA Drives.

I have 4 Drives connected to an nVidia nForce 3 SATA Controller, and 1 
Drive connected to a Promise SATA 150 TX2.

After some reading, i found out that SMART support for reading the 
harddrive's temperature is not yet in the kernel, so i got the 
libata-dev patch from here: 
http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/2.6.11-libata-dev1.patch.bz2

and patched the 2.6.11.7 kernel with it. (Worked fine, but i'm not sure 
if that was the right patch file? The BK patches are newer, are those 
the "right" ones, or are they only for such a specific BK version of a 
kernel?)

Everything worked fine, and after updating hddtemp to the latest 
v0.3_beta13, i even am able to get temperature readings from the drives.

What's not fully working as expected, however, is hdparm. If I (for 
example) want to check the drive's power status, i get the following:

root # hdparm -C /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde
/dev/sda: \ drive state is:  standby
/dev/sdb: \ drive state is:  standby
/dev/sdc: \ drive state is:  standby
/dev/sdd: \ drive state is:  standby
/dev/sde: \ drive state is:  standby

The drives are of course, NOT in standby, but are in the state 
"active/idle".

When setting the standby parameter for a drive, everything seems to work 
normally.

root # hdparm -S 241 /dev/sda
/dev/sda:  setting standby to 241 (30 minutes)

I wasn't able to check that this really works (because of missing hdparm 
-C) but i think it acually does. At least hdparm -y is able to standby a 
drive.

I'm using hdparm v5.9, which is IMHO the most recent version.
Is there anything i can do to make this ('hdparm -C') work? Is this a 
libata bug or missing feature? A Seagate Firmware bug? A hdparm problem? 
Or just not possible with SATA Drives?

I'd gratefully appreciate any help/comments ;-)

Gerald


             reply	other threads:[~2005-04-08 14:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-08 14:03 Gerald Hopf [this message]
2005-04-12 14:00 ` 'hdparm -C' problems with libata-dev John W. Linville
2005-04-12 20:55   ` Greg Freemyer

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=42568F29.6020800@nv-systems.net \
    --to=linux-ide@nv-systems.net \
    --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).