linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 'hdparm -C' problems with libata-dev
@ 2005-04-08 14:03 Gerald Hopf
  2005-04-12 14:00 ` John W. Linville
  0 siblings, 1 reply; 3+ messages in thread
From: Gerald Hopf @ 2005-04-08 14:03 UTC (permalink / raw)
  To: linux-ide

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-12 20:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-08 14:03 'hdparm -C' problems with libata-dev Gerald Hopf
2005-04-12 14:00 ` John W. Linville
2005-04-12 20:55   ` Greg Freemyer

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).