Discussion:
[backports] hdparm
unknown
2010-09-01 08:45:19 UTC
Permalink
÷ /etc/sysconfig/harddisks ÐÅÒÅÐÒÏÂÏ×ÁÌ ×ÓÅ ÞÔÏ ÍÏÖÎÏ:
-B255 "-B255" "-B255 /dev/sda"

ïÂÎÏ×ÉÌ ÐÁËÅÔ ÉÚ ÓÉÚÉÆÁ, ÓÏÚÄÁÌ /etc/sysconfig/harddisk/sda:
EXTRA_PARAMS=-B255

é ÐÒÉ ×ÙËÌÀÞÅÎÉÉ ÎÏÕÔÂÕËÁ ×ÓÅ ÒÁ×ÎÏ ÎÁÓÔÒÏÊËÉ ÓÂÒÁÓÙ×ÁÀÔÓÑ:
$sudo hdparm -I /dev/sda | grep Advanced

Advanced power management level: 128
* Advanced Power Management feature set

$sudo hdparm -B255 /dev/sda

/dev/sda:
setting Advanced Power Management level to disabled
APM_level = off

çÄÅ ÅÝÅ ËÏÐÁÔØ?
unknown
2010-09-01 10:00:17 UTC
Permalink
Post by unknown
çÄÅ ÅÝÅ ËÏÐÁÔØ?
þÔÏ ÄÅÌÁÌÏÓØ ÐÒÉ ×ËÌÀÞÅÎÉÉ/ÐÒÏÓÙÐÁÎÉÉ.
çÒÅÐÎÉÔÅ /etc, ËÔÏ ÔÁÍ ÜÔÉÍ ËÁÔÁÌÏÇÏÍ ÐÏÌØÚÕÅÔÓÑ.

îÁÓÌÅÄÓÔ×ÅÎÎÏÅ:

---
home:~> cat /etc/sysconfig/harddisk/hda
MULTIPLE_IO=16
EIDE_32BIT=1
LOOKAHEAD=1
EXTRA_PARAMS=-X69u1
---

PS: ÜÔÏ ÎÅ Ë ÂÜËÐÏÒÔÁÍ, Á × community@ ÓÔÏÉÔ :)
--
---- WBR, Michael Shigorin <mike ÎÁ altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
unknown
2010-09-01 10:08:17 UTC
Permalink
On Wed, Sep 01, 2010 at 12:45:19PM +0400, Mihail Kolchin wrote:

÷ÏÐÒÏÓ ÎÏÍÅÒ ÒÁÚ - Á ÐÒÉ Þ£Í ÔÕÔ backports?
á ÜÔÏ ÎÅ ÂÕÄÅÔ ÒÁÂÏÔÁÔØ. /etc/rc.d/scripts/idetune (ËÏÔÏÒÙÊ
ÏÂÒÁÂÁÔÙ×ÁÅÔ /etc/sysconfig/harddisk) ÂÕÄÅÔ ÒÁÂÏÔÁÔØ ÔÏÌØËÏ Ó
/dev/hd[a-t]:

21 for i in a b c d e f g h i j k l m n o p r s t; do
22 if [ -e "/proc/ide/hd$i/media" ]; then
23 hdmedia=`cat /proc/ide/hd$i/media`
24 if [ "$hdmedia" = disk ]; then
...
33 SourceIfNotEmpty /etc/sysconfig/harddisks && sourced=1
34 SourceIfNotEmpty /etc/sysconfig/harddisk/hd$i && sourced=1
...
58 elif [ "$hdmedia" = cdrom ]; then
...

é ÔÁË ÄÁÌÅÅ...

ôÁË ÞÔÏ ÐÉÛÉÔÅ Ñ×ÎÙÊ ×ÙÚÏ× hdparm × rc.local.

óÍ. ÔÁËÖ. https://bugzilla.altlinux.org/20197
--
Regards, --
Sir Raorn. --- http://thousandsofhate.blogspot.com/
----------- ÓÌÅÄÕÀÝÁÑ ÞÁÓÔØ -----------
âÙÌÏ ÕÄÁÌÅÎÏ ×ÌÏÖÅÎÉÅ ÎÅ × ÔÅËÓÔÏ×ÏÍ ÆÏÒÍÁÔÅ...
éÍÑ : ÏÔÓÕÔÓÔ×ÕÅÔ
ôÉÐ : application/pgp-signature
òÁÚÍÅÒ : 198 ÂÁÊÔÏ×
ïÐÉÓÁÎÉÅ: Digital signature
Url : <http://lists.altlinux.org/pipermail/backports/attachments/20100901/06b1d5cf/attachment.bin>
unknown
2010-09-01 13:03:06 UTC
Permalink
Post by unknown
÷ÏÐÒÏÓ ÎÏÍÅÒ ÒÁÚ - Á ÐÒÉ Þ£Í ÔÕÔ backports?
ôÁË Ñ × ËÏÍÍÕÎÉÔÉ ÃÅÌÉÌÓÑ. úÁ ÎÏÞØ ÓÏ×ÓÅÍ ÚÁËÒÁÓÎÏÇÌÁÚÉÌ. :)
Post by unknown
ôÁË ÞÔÏ ÐÉÛÉÔÅ Ñ×ÎÙÊ ×ÙÚÏ× hdparm × rc.local.
ôÁË É ÓÄÅÌÁÌ. óÐÁÓÉÂÏ.

Continue reading on narkive:
Loading...