Bug 428646 - APML shows unknown setting for my harddrive
Summary: APML shows unknown setting for my harddrive
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: hdparm
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-14 11:56 UTC by Zdenek Kabelac
Modified: 2008-01-14 13:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-14 12:15:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Zdenek Kabelac 2008-01-14 11:56:59 UTC
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):
hdparm-7.7-1.fc8.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Karsten Hopp 2008-01-14 12:15:55 UTC
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 12:52:00 UTC
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 13:09:33 UTC
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.