Bug 428646 - APML shows unknown setting for my harddrive
APML shows unknown setting for my harddrive
Product: Fedora
Classification: Fedora
Component: hdparm (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Karsten Hopp
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-01-14 06:56 EST by Zdenek Kabelac
Modified: 2008-01-14 08:09 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-14 07:15:55 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Zdenek Kabelac 2008-01-14 06:56:59 EST
Description of problem:

# hdparm -I /dev/sda | grep Advanced
	Advanced power management level: unknown setting (0x80c0)
	   *	Advanced Power Management feature set

I get unknown setting for my APM level.
(I should probably see just 192 in this case)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Karsten Hopp 2008-01-14 07:15:55 EST
hdparm is of very limited use now that we have libata and all disks show up as
scsi discs. You can't use it to set most of the flags anymore and you can't
really rely on its output as it doesn't know how to handle libata devices and
libata doesn't have support for most of hdparm commands.
In short: Use hdparm only for /dev/hd* devices, but not for /dev/sd*
Comment 2 Zdenek Kabelac 2008-01-14 07:52:00 EST
Is there any other tool I can use for setting APM level of my /dev/sda ?

As for setting this parameter via hdparm - this work sufficiently well - at
least I could set the level 192 to limit the Heads spinning of my harddrive (se
my pm-utils & T61 bug report  382061)

The only problem is to retrieve this setting properly.

Comment 3 Karsten Hopp 2008-01-14 08:09:33 EST
sdparm maybe, although it isn't that easy to use as hdparm.

Note You need to log in before you can comment on or make changes to this bug.