[Bug 225600] New: powersaved: incorrect acoustic mgmt
https://bugzilla.novell.com/show_bug.cgi?id=225600 Summary: powersaved: incorrect acoustic mgmt Product: openSUSE 10.2 Version: RC 5 Platform: x86 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@gmx.de QAContact: qa@suse.de At first I thought my HD was going to die, since after upgrade to 10.2 it was significantly louder. However, as turned out, /etc/sysconfig/powersave/disk houses a setting HD_ACOUSTIC_PERF="-M 254" which seems like the logical source of the problem. A test showed this: 09:09 ichi:/etc/sysconfig/powersave # hdparm -M 128 /dev/hdc /dev/hdc: setting acoustic management to 128 acoustic = 128 (128=quiet ... 254=fast) 09:09 ichi:/etc/sysconfig/powersave # rcpowersaved restart Shutting down powersaved done Starting powersaved: done 09:09 ichi:/etc/sysconfig/powersave # hdparm -M /dev/hdc /dev/hdc: acoustic = 254 (128=quiet ... 254=fast) I turned down the value to 253 (this disk has 128..253=quiet, 254=fast) (and 129 for a second test) and restarted using `rcpowersaved restart`, but powersaved always sets 254. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225600 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jengelh@gmx.de ------- Comment #1 from mhorvath@novell.com 2006-12-04 05:51 MST ------- Please attach your /var/log/messages, output of the 'hwinfo --disk' and the powersave version. Thank you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225600 jengelh@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|jengelh@gmx.de |mhorvath@novell.com ------- Comment #2 from jengelh@gmx.de 2006-12-04 12:19 MST ------- # rpm -q powersaved powersaved-0.15.10-3 # hwinfo --disk (only hdc) 17: IDE 02.0: 10600 Disk [Created at block.218] UDI: /org/freedesktop/Hal/devices/storage_serial_030400026 Unique ID: Ztcu.L4UTBnJCrqB Parent ID: JCE+.8xKhCV5PH60 SysFS ID: /block/hdc SysFS BusID: 1.0 SysFS Device Link: /devices/pci0000:00/0000:00:02.5/ide1/1.0 Hardware Class: disk Model: "DIAMOND 250G 2B5400" Vendor: "DIAMOND" Device: "250G 2B5400" Revision: "RAMB1TU0" Serial ID: "030400026" Driver: "SIS_IDE", "ide-disk" Driver Modules: "sis5513", "ide_disk" Device File: /dev/hdc Device Files: /dev/hdc, /dev/disk/by-id/ata-DIAMOND_250G_2B5400_030400026, /dev/disk/by-path/pci-0000:00:02.5-ide-1:0 Device Number: block 22:0-22:63 BIOS id: 0x81 Geometry (Logical): CHS 30515/255/63 Size: 490234752 sectors a 512 bytes Geometry (BIOS Legacy): CHS 1024/255/63 Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #6 (IDE interface) /var/log/messages: Dec 4 20:15:46 ichi rcpowersaved: s2ram not installed. Dec 4 20:15:46 ichi powersaved[12162]: WARNING (CpufreqManagement:51) No capability cpufreq_control Dec 4 20:15:46 ichi powersaved[12162]: WARNING (CpufreqManagement:51) No capability cpufreq_control Dec 4 20:15:46 ichi powersave-set_disk_settings[12165]: WARNING: hdparm returned error '5' In the meantime, I found that there are more than one acoustic variable: # grep PERF disk HD_ACOUSTIC_PERF="-M 129" HDPARM_ACOUSTIC_PERF="130" HDPARM_STBY_PERF="131" HDPARM_RAW_PERF="" HD_LAPTOP_MODE_PERF="" HD_DO_REMOUNTS_PERF="" And after restarting powersaved, 130 is set according to `hdparm -M /dev/hdc`. Is HD_ACOUSTIC_PERF a leftover from an earlier SUSE Linux? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225600 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |hmacht@novell.com |screening@forge.provo.novell| |.com | Status|NEEDINFO |NEW Info Provider|mhorvath@novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225600 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seife@novell.com Status|NEW |NEEDINFO Info Provider| |seife@novell.com ------- Comment #3 from hmacht@novell.com 2006-12-06 07:04 MST ------- Seife, would you mind having a look at this? I have currently no laptop with IDE disk available. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225600 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fseidel@novell.com Status|NEEDINFO |ASSIGNED Info Provider|seife@novell.com | ------- Comment #4 from seife@novell.com 2006-12-06 09:02 MST ------- (In reply to comment #2)
In the meantime, I found that there are more than one acoustic variable:
# grep PERF disk HD_ACOUSTIC_PERF="-M 129" HDPARM_ACOUSTIC_PERF="130" HDPARM_STBY_PERF="131" HDPARM_RAW_PERF="" HD_LAPTOP_MODE_PERF="" HD_DO_REMOUNTS_PERF=""
And after restarting powersaved, 130 is set according to `hdparm -M /dev/hdc`.
But hopefully only if neither kpowersave nor gnome-power-manager are running?
Is HD_ACOUSTIC_PERF a leftover from an earlier SUSE Linux?
it looks so: seife@strolchi:/etc/powersave> grep PERF disk HD_LAPTOP_MODE_PERF="" HD_DO_REMOUNTS_PERF="" HDPARM_ACOUSTIC_PERF="254" HDPARM_STBY_PERF="254" HDPARM_RAW_PERF="" Also, nothing is using this variable: seife@strolchi:/usr/lib/powersave> grep PERF . -r /scripts/set_disk_settings: N="$HDPARM_STBY_PERF" /scripts/set_disk_settings: RAW="$HDPARM_RAW_PERF" /scripts/set_disk_settings: REMOUNT="$HD_DO_REMOUNTS_PERF" /scripts/set_disk_settings: LAPTOP="${HD_LAPTOP_MODE_PERF:-no}" ;; /scripts/set_disk_settings: N="$HDPARM_ACOUSTIC_PERF" ;; (clean 10.2 installation). What is the comment to this HD_ACOUSTIC_PERF variable? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225600 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jengelh@gmx.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225600 jengelh@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jengelh@gmx.de | ------- Comment #5 from jengelh@gmx.de 2006-12-06 14:25 MST ------- ## Path: System/Powermanagement/Powersave/Disk ## Type: string # # raw hdparm arguments for POWERSAVE_DISK_ACOUSTIC settings # "performance", "low" and "quiet". Change only if you know # what you are doing! HD_ACOUSTIC_PERF="-M 129" HD_ACOUSTIC_LOW="-M 128" HD_ACOUSTIC_QUIET="-M 128" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225600 ------- Comment #6 from seife@novell.com 2006-12-06 14:54 MST ------- These are old entries from around SUSE 9.1 (before 9.3, i verified that). They are from back when we had only /etc/sysconfig/powersave/common and /etc/sysconfig/powersave/hdparm. The question is, why weren't they removed by fillup... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225600#c10 Holger Macht <hmacht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX --- Comment #10 from Holger Macht <hmacht@novell.com> 2007-11-27 06:42:09 MST --- So this seems to be an update issue from 9.1 which I do not see the direct need of fixing because it is no real bug, it just has no effect. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=225600 Jan Engelhardt <jengelh@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com