Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CPUFreq Scaling problems [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
bob_napalm
n00b
n00b


Joined: 08 Jul 2004
Posts: 10

PostPosted: Tue Sep 20, 2005 2:15 am    Post subject: CPUFreq Scaling problems [SOLVED] Reply with quote

I have tried to get cpufrequency scaling working to no avail on my IBM Thinkpad. I have a 1.7ghz Pentium-m dothan thingy in here and I believe I have compiled all relevent stuff in my kernel but when I boot up I get a message saying "CPUFreq support has not been compiled into the kernel". This pops up striaght after acpid loads up.

Heres my kernel .config

Code:
#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION=""

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=m

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
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

#
# CPUFreq processor drivers
#
CONFIG_X86_ACPI_CPUFREQ=m
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_GX_SUSPMOD is not set
CONFIG_X86_SPEEDSTEP_CENTRINO=y
CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y
# CONFIG_X86_SPEEDSTEP_ICH is not set
# CONFIG_X86_SPEEDSTEP_SMI is not set
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set



When I run cpufreq-info it tells me:

Quote:
localhost napalm # cpufreq-info
cpufrequtils 0.3: cpufreq-info (C) Dominik Brodowski 2004
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
localhost napalm #


I don't seem to be getting anywhere with this at the moment...It's like smacking my head against a brick wall lol....anyone know where I'm going wrong?


Last edited by bob_napalm on Tue Sep 20, 2005 10:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
fourhead
l33t
l33t


Joined: 03 Sep 2003
Posts: 875
Location: Cologne, Germany

PostPosted: Tue Sep 20, 2005 12:25 pm    Post subject: Reply with quote

Code:

# CONFIG_ACPI_IBM is not set


Since you have an IBM machine, perhaps you should enable this. I don't know if this is the problem though, I have basically the same settings here, and cpudyn works fine, though cpufreqd also never worked for me. Perhaps just try cpudyn, it does the same...

Tom
Back to top
View user's profile Send private message
Magic Michael
n00b
n00b


Joined: 02 Aug 2004
Posts: 53
Location: Berlin (West) / Deutschland

PostPosted: Tue Sep 20, 2005 7:17 pm    Post subject: Reply with quote

You have to add the dothans to the speedstep_centrino.c (part of the kernel sources). Search for the thread with a title containing "undervolting", the patch / the entries for the dothans are there. Worked for me and my desktop pentium-m-board.
Back to top
View user's profile Send private message
bob_napalm
n00b
n00b


Joined: 08 Jul 2004
Posts: 10

PostPosted: Tue Sep 20, 2005 10:01 pm    Post subject: Reply with quote

Thanks for the help guys I think I just got it sorted :D

fourhead: I got the acpi_ibm package emerged because it was a newer version...that works fine.

Magic Michael: Gave that thread a read and was like :? So recompiled the kernel with my centrino speedstep bit as a module with the debug info so I could see what was going on...modprobed it and it worked which is very strange but I'm not complaining. Just been messing around with the ondemand governor which seems to be working fine too.

I love Gentoo! I almost got this machine setup perfectly :twisted:
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