Bug 6005
Summary: | can't change cpu frequency on pentium M | ||
---|---|---|---|
Product: | ACPI | Reporter: | Ruben (nahoo82) |
Component: | Power-Processor | Assignee: | Venkatesh Pallipadi (venki) |
Status: | CLOSED INVALID | ||
Severity: | blocking | ||
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.16-rc2 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
kernel config
acpidump |
Description
Ruben
2006-02-03 13:28:54 UTC
Make sure you have the following things selected in your config. Power Management ACPI->Processor cpufreq->Enhanced speedstep cpufreq->Enhanced speedstep->ACPI cpufreq->acpi cpufreq If you have all these and still you don't see /sys/..../cpu0/cpufreq then - Add you .config file as attachment (don't inline, add it as attachement please) - Add output of acpidump as an attachement. Use the latest pmtools here http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/ for acpidump. Thanks, Venki Reply-To: nahoo82@gmail.com Am Freitag, den 03.02.2006, 16:57 -0800 schrieb bugme-daemon@bugzilla.kernel.org: > Make sure you have the following things selected in your config. > > Power Management > ACPI->Processor > > cpufreq->Enhanced speedstep > cpufreq->Enhanced speedstep->ACPI > > cpufreq->acpi cpufreq > > If you have all these and still you don't see /sys/..../cpu0/cpufreq > then > - Add you .config file as attachment (don't inline, add it as attachement please) > - Add output of acpidump as an attachement. Use the latest pmtools here > http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/ for acpidump. Here it is. BTW, did you noted the dmesg ACPI errors? Created attachment 7233 [details]
kernel config
Created attachment 7234 [details]
acpidump
Can you make all of the following as 'y' in your config. Instead of 'm' or 'not set' That will compile in all the required code into the kernel itself and wont depend on your init scripts adding these modules to get the freq changing capability. I haven't yet looked into the acpidump output yet. If things doesn't work even after adding all the below into your kernel, then we can debug further. -- CONFIG_ACPI_PROCESSOR=m 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 # # CPUFreq processor drivers # CONFIG_X86_ACPI_CPUFREQ=m CONFIG_X86_SPEEDSTEP_CENTRINO=m CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y > Can you make all of the following as 'y' in your config. Instead of 'm' or > 'not set' > > That will compile in all the required code into the kernel itself and wont > depend on your init scripts adding these modules to get the freq changing > capability. I think this is unlikely the problem, because the init scripts works right up to 2.6.16-rc1 (included) > I haven't yet looked into the acpidump output yet. If things doesn't work > even > after adding all the below into your kernel, then we can debug further. I'll report tomorrow back without modules. Reply-To: nahoo82@gmail.com > > I haven't yet looked into the acpidump output yet. If things doesn't work even > > after adding all the below into your kernel, then we can debug further. > > I'll report tomorrow back without modules. When everything is compiled into the kernel it works as expected. Great! The summary of this bug: 1) BIOSes can support both acpi-cpufreq and speedstep-centrino drivers. 2) When both are supported, using speedstep-centrino driver is preferred as it provides faster frequency transitions. BIOS supports acpi-cpufreq only for the legacy systems that do not have speedstep-centrino kind of driver. 3) Recently, there was a change in the way we write ACPI _PDC. As a result of the change, acpi-cpufreq driver won't work any more when BIOS also supports speedstep-centrino. We are asking all the users to enable speedstep-centrino driver (along with SPEEDSTEP_CENTRINO_ACPI config option), so that they can be using better of the two drivers here. 4) The same change, also avoids crashes on some other systems as well. So, we are sure that compiling in both the drivers (speedstep-centrino and acpi-cpufreq) and picking the best one depending on what BIOS supports is the right way to go. Thanks. |