View previous topic :: View next topic |
Author |
Message |
bob_napalm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Jul 2004 Posts: 10
|
Posted: Tue Sep 20, 2005 2:15 am Post subject: CPUFreq Scaling problems [SOLVED] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
fourhead l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/2101592520440ff166e1dc2.png)
Joined: 03 Sep 2003 Posts: 875 Location: Cologne, Germany
|
Posted: Tue Sep 20, 2005 12:25 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Magic Michael n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2004 Posts: 53 Location: Berlin (West) / Deutschland
|
Posted: Tue Sep 20, 2005 7:17 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
bob_napalm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Jul 2004 Posts: 10
|
Posted: Tue Sep 20, 2005 10:01 pm Post subject: |
|
|
Thanks for the help guys I think I just got it sorted
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 Evil :twisted:](images/smiles/icon_twisted.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|