FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-28-2010, 10:30 PM
Mick
 
Default hdparm, CONFIG_ATA_SFF and KDE-4.4.4

The title may not make immediately sense, but this is what I have observed.

I switched to CONFIG_ATA_SFF instead of the deprecated CONFIG_IDE. Up until
that point I had passed -M 128 to hdparm once and my drive retained the
settings between reboots and kept quiet.

With the new kernel I noticed that KDE-4.4.4 switches it back to -M 254 and
becomes noisy as KDE kicks in (when the system settings symbol comes up during
login).

I tried adding hdparm in the default runlevel and also added:

sda_arg="-M 128"

in /etc/conf.d/hdparm but it doesn't seem to work. KDE resets it to full
pelt.

Is there a fix to this?
--
Regards,
Mick
 
Old 07-29-2010, 08:33 AM
Volker Armin Hemmann
 
Default hdparm, CONFIG_ATA_SFF and KDE-4.4.4

On Donnerstag 29 Juli 2010, Mick wrote:
> The title may not make immediately sense, but this is what I have observed.
>
> I switched to CONFIG_ATA_SFF instead of the deprecated CONFIG_IDE. Up
> until that point I had passed -M 128 to hdparm once and my drive retained
> the settings between reboots and kept quiet.
>
> With the new kernel I noticed that KDE-4.4.4 switches it back to -M 254 and
> becomes noisy as KDE kicks in (when the system settings symbol comes up
> during login).
>
> I tried adding hdparm in the default runlevel and also added:
>
> sda_arg="-M 128"
>
> in /etc/conf.d/hdparm but it doesn't seem to work. KDE resets it to full
> pelt.
>
> Is there a fix to this?

KDE doesn't do that. It can't.
 
Old 07-29-2010, 10:29 PM
Mick
 
Default hdparm, CONFIG_ATA_SFF and KDE-4.4.4

On 29 July 2010 09:33, Volker Armin Hemmann <volkerarmin@googlemail.com> wrote:
> On Donnerstag 29 Juli 2010, Mick wrote:
>> The title may not make immediately sense, but this is what I have observed.
>>
>> I switched to CONFIG_ATA_SFF instead of the deprecated CONFIG_IDE. *Up
>> until that point I had passed -M 128 to hdparm once and my drive retained
>> the settings between reboots and kept quiet.
>>
>> With the new kernel I noticed that KDE-4.4.4 switches it back to -M 254 and
>> becomes noisy as KDE kicks in (when the system settings symbol comes up
>> during login).
>>
>> I tried adding hdparm in the default runlevel and also added:
>>
>> sda_arg="-M 128"
>>
>> in /etc/conf.d/hdparm but it doesn't seem to work. *KDE resets it to full
>> pelt.
>>
>> Is there a fix to this?
>
> KDE doesn't do that. It can't.

I hear what you say. However, ... it does! O_O

I ran hdparm -iI /dev/sda once from the console and once after I
logged into KDE. As you can see the KDE command shows:

Recommended acoustic management value: 128, current value: 254

and

Automatic Acoustic Management feature set


while the console shows:

Recommended acoustic management value: 128, current value: 128

and

* Automatic Acoustic Management feature set

Also there are some differences at the Security tags at the bottom,
should that make any difference. Both of the commands were run
without /etc/init.d/hdparm being started at boot time or since.

If I run -M 128 the drive goes quiet and stays so surviving a reboot,
until I login into KDE again. So, if KDE switches of the Acoustic
Management for some reason, there should be some way of asking it not
to?
--
Regards,
Mick

/dev/sda:

Model=WDC, FwRev=08.02D08, SerialNo=WD-WMAL71304147
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=488397168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6

* signifies the current active mode


ATA device, with non-removable media
Model Number: WDC WD2500JD-22HBB0
Serial Number: WD-WMAL71304147
Firmware Revision: 08.02D08
Standards:
Supported: 6 5 4
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 488397168
Logical/Physical Sector size: 512 bytes
device size with M = 1024*1024: 238475 MBytes
device size with M = 1000*1000: 250059 MBytes (250 GB)
cache/buffer size = 8192 KBytes (type=DualPortCache)
Capabilities:
LBA, IORDY(can be disabled)
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 128, current value: 128
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
SET_MAX security extension
* Automatic Acoustic Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* Gen1 signaling speed (1.5Gb/s)
* Host-initiated interface power management
* SMART Command Transport (SCT) feature set
* SCT Long Sector Access (AC1)
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
Security:
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
Checksum: correct

/dev/sda:

Model=WDC, FwRev=08.02D08, SerialNo=WD-WMAL71304147
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=488397168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6

* signifies the current active mode


ATA device, with non-removable media
Model Number: WDC WD2500JD-22HBB0
Serial Number: WD-WMAL71304147
Firmware Revision: 08.02D08
Standards:
Supported: 6 5 4
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 488397168
Logical/Physical Sector size: 512 bytes
device size with M = 1024*1024: 238475 MBytes
device size with M = 1000*1000: 250059 MBytes (250 GB)
cache/buffer size = 8192 KBytes (type=DualPortCache)
Capabilities:
LBA, IORDY(can be disabled)
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
SET_MAX security extension
Automatic Acoustic Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* Gen1 signaling speed (1.5Gb/s)
* Host-initiated interface power management
* SMART Command Transport (SCT) feature set
* SCT Long Sector Access (AC1)
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
Security:
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
Checksum: correct
 

Thread Tools




All times are GMT. The time now is 07:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org