Bug#489187: libcpufreq0: sysfs_set_policy sets up freqs in wrong order

2008-07-11 Thread Dominik Brodowski
On Fri, Jul 04, 2008 at 12:13:10AM +0400, Alexander Inyukhin wrote:
 sysfs_set_policy() sets freqs using fixed order (first max, then min),
 but kernel do not accept max value if it is lower than current min value.

Bug is fixed in the cpufrequtils git tree, which will be released as
cpufrequtils-004 soon.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#489187: libcpufreq0: sysfs_set_policy sets up freqs in wrong order

2008-07-03 Thread Alexander Inyukhin
Package: libcpufreq0
Version: 002-7.2
Severity: normal

sysfs_set_policy() sets freqs using fixed order (first max, then min),
but kernel do not accept max value if it is lower than current min value.

This breaks cpufreqd which is not able to switch policies and floods syslog:
  Jul  3 06:25:22 shurick cpufreqd: cpufreqd_set_profile : Couldn't set 
profile Powersave Low set for cpu0 (1596000-1596000-powersave) 
  Jul  3 06:25:22 shurick cpufreqd: cpufreqd_loop: Cannot set 
policy, Rule unchanged (Movie Watcher). 
  Jul  3 06:25:24 shurick cpufreqd: cpufreqd_set_profile : Couldn't set 
profile Powersave Low set for cpu0 (1596000-1596000-powersave) 
  Jul  3 06:25:24 shurick cpufreqd: cpufreqd_loop: Cannot set 
policy, Rule unchanged (Movie Watcher). 
  Jul  3 06:25:26 shurick cpufreqd: cpufreqd_set_profile : Couldn't set 
profile Powersave Low set for cpu0 (1596000-1596000-powersave) 
  Jul  3 06:25:26 shurick cpufreqd: cpufreqd_loop: Cannot set 
policy, Rule unchanged (Movie Watcher). 


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.8-avi (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libcpufreq0 depends on:
ii  libc6 2.7-10 GNU C Library: Shared libraries
ii  libsysfs2 2.1.0-4interface library to sysfs

libcpufreq0 recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]