Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cpufreqd won't start after upgrade to 2.6.23 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pgf
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2004
Posts: 121
Location: Toronto, Ontario

PostPosted: Thu Dec 13, 2007 8:23 pm    Post subject: cpufreqd won't start after upgrade to 2.6.23 [SOLVED] Reply with quote

I have upgraded my kernel from 2.6.21 to 2.6.23 (gentoo) and cpufreqd will not start any more. Error message is:
"cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ", but my kernel does have that option enabled:
# zgrep CONFIG_CPU_FREQ /proc/config.gz
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=m
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=m
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=m
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m

Hardware is Fujitsu Lifebook S series. Frequency scaling was working well before the upgrade. I reported this a while ago on the cpufreqd sourceforge site but that looks like there is no recent activity there. Any ideas?


Last edited by pgf on Sat Feb 09, 2008 2:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Sat Dec 15, 2007 1:18 am    Post subject: Reply with quote

I don't have that laptop but I'm on kernel 2.6.23 too.

Can you manually switch frequencies using cpufrequtils, or does that give an error too?
Code:
cpufreq-info
cpufreq-set -g <different governor>

EDIT:
Try building-in the governors instead of loading modules.
Quote:
# zgrep CONFIG_CPU_FREQ /proc/config.gz
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_DEBUG=y
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y

_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
pgf
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2004
Posts: 121
Location: Toronto, Ontario

PostPosted: Sat Dec 15, 2007 1:29 am    Post subject: Reply with quote

om wrote:
I don't have that laptop but I'm on kernel 2.6.23 too.

Can you manually switch frequencies using cpufrequtils, or does that give an error too?


Good point, but...

Code:
#cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
analyzing CPU 1:
  no or unknown cpufreq driver is active on this CPU
# cpufreq-set -g performance
wrong, unknown or unhandled CPU?


I will try rebuilding the kernel as you suggest.
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Tue Feb 05, 2008 8:46 am    Post subject: Reply with quote

I'm having this very same issue. Did anybody find a solution?
Back to top
View user's profile Send private message
Paapaa
l33t
l33t


Joined: 14 Aug 2005
Posts: 955
Location: Finland

PostPosted: Tue Feb 05, 2008 9:02 am    Post subject: Reply with quote

Do you have the correct driver (not governor, but processor specific driver) selected in -> Power management options -> CPU Frequency scaling?
_________________
Paludis, the way packages are meant to be managed.
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Tue Feb 05, 2008 11:48 am    Post subject: Reply with quote

I don't actually know what's the correct driver for me (I used to think it was Intel Enhanced Speedstep) so I compiled every driver built in and now it's working.
Back to top
View user's profile Send private message
Paapaa
l33t
l33t


Joined: 14 Aug 2005
Posts: 955
Location: Finland

PostPosted: Tue Feb 05, 2008 6:30 pm    Post subject: Reply with quote

theRealMorpheu5 wrote:
I don't actually know what's the correct driver for me (I used to think it was Intel Enhanced Speedstep) so I compiled every driver built in and now it's working.


Which processor you have? The exact brand and model?
_________________
Paludis, the way packages are meant to be managed.
Back to top
View user's profile Send private message
dr0bz
n00b
n00b


Joined: 24 Nov 2005
Posts: 20

PostPosted: Wed Feb 06, 2008 11:12 pm    Post subject: Reply with quote

Hi,

i've just faced this problem upgrading from 2.6.22 to 2.6.23. I saw some other threads complaining about this issue. I have a pentium-m core with centrino and always used CONFIG_X86_SPEEDSTEP_CENTRINO option. After hours of trying :evil: i've build the 2.6.24 and saw the following help near the centrino(Intel Enhanced SpeedStep (deprecated) ):

This is deprecated and this functionality is now merged into
acpi_cpufreq (X86_ACPI_CPUFREQ). Use that driver instead of
speedstep_centrino.
This adds the CPUFreq driver for Enhanced SpeedStep enabled
mobile CPUs. This means Intel Pentium M (Centrino) CPUs
or 64bit enabled Intel Xeons.
:!:

this message is one version too late, eh? :lol:

anyway, CONFIG_X86_ACPI_CPUFREQ is now managing centrino cpu's...

greets
Back to top
View user's profile Send private message
pgf
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2004
Posts: 121
Location: Toronto, Ontario

PostPosted: Sat Feb 09, 2008 2:58 pm    Post subject: Reply with quote

dr0bz wrote:


anyway, CONFIG_X86_ACPI_CPUFREQ is now managing centrino cpu's...



I did finally get mine working the same way. Here are the relevant options:

$ zgrep CPUFREQ /proc/config.gz
CONFIG_X86_ACPI_CPUFREQ=y
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set

$ zgrep CPU_FREQ /proc/config.gz
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=m
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y

Work for me now. :D Thanks for all the input.
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 959
Location: we the north

PostPosted: Tue Mar 25, 2008 12:22 pm    Post subject: Reply with quote

i am also having this issue. I have a desktop intel x86_64 pentium D chip. Which option should I have turned on? is it also x86_acpi_cpufreq as well?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum