Bug 6765 - CPUFREQ doesn't work in 2.6.17 kernel (Pentium M CPU)
Summary: CPUFREQ doesn't work in 2.6.17 kernel (Pentium M CPU)
Status: CLOSED CODE_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Processor (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: acpi_power-processor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-29 00:54 UTC by Cijoml Cijomlovic Cijomlov
Modified: 2006-08-10 09:51 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.17, 2.6.18-rc1
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
pmtools dump (72.04 KB, text/plain)
2006-06-29 00:56 UTC, Cijoml Cijomlovic Cijomlov
Details
cpuinfo (432 bytes, text/plain)
2006-06-29 00:58 UTC, Cijoml Cijomlovic Cijomlov
Details
dmesg (16.81 KB, text/plain)
2006-06-29 00:59 UTC, Cijoml Cijomlovic Cijomlov
Details
lspci (1.85 KB, text/plain)
2006-06-29 01:00 UTC, Cijoml Cijomlovic Cijomlov
Details
/proc/config.gz (11.31 KB, application/gzip)
2006-06-29 01:02 UTC, Cijoml Cijomlovic Cijomlov
Details

Description Cijoml Cijomlovic Cijomlov 2006-06-29 00:54:59 UTC
Most recent kernel where this bug did not occur: 2.6.17
Distribution: Debian testing
Hardware Environment: Pentium M, Intel board
Software Environment: Debian testing
Problem Description: CPUFREQ stopped working in 2.6.17, before worked

Steps to reproduce:
Comment 1 Cijoml Cijomlovic Cijomlov 2006-06-29 00:56:14 UTC
Created attachment 8447 [details]
pmtools dump

Listik:/home/listicka/pmtools-20051111# ./acpidump/acpidump -o
/tmp/acpidump_20060629
Wrong checksum for generic table!
Comment 2 Cijoml Cijomlovic Cijomlov 2006-06-29 00:58:25 UTC
Created attachment 8448 [details]
cpuinfo

cpuinfo
Comment 3 Cijoml Cijomlovic Cijomlov 2006-06-29 00:59:26 UTC
Created attachment 8449 [details]
dmesg

dmesg
Comment 4 Cijoml Cijomlovic Cijomlov 2006-06-29 01:00:28 UTC
Created attachment 8450 [details]
lspci

lspci
Comment 5 Cijoml Cijomlovic Cijomlov 2006-06-29 01:02:43 UTC
Created attachment 8451 [details]
/proc/config.gz

/proc/config.gz
Comment 6 Len Brown 2006-07-01 10:06:45 UTC
please describe exactly how cpufreq does not work.
does it fail to load, fail to change the frequencey?

Perhaps you could dump the files in /sys/devices/system/cpu/cpu0/cpufreq/

attaching your .conifg and lsmod output might also help.

Comment 7 Cijoml Cijomlovic Cijomlov 2006-07-01 10:14:46 UTC
Hi Len,

see dmesg. CPUFREQ simply don't stop, but it is compiled into kernel, not
module. There is config.gz included.

There are no external modules, only modules included inside 2.6.17, but cpufreq
is not compiled as module.
Comment 8 Cijoml Cijomlovic Cijomlov 2006-07-01 10:16:52 UTC
Hi Len,

see dmesg. CPUFREQ simply don't stop, but it is compiled into kernel, not
module. There is config.gz included.

There are no external modules, only modules included inside 2.6.17, but cpufreq
is not compiled as module.

There are also no /sys files created, which I used up to 2.6.16 kernel.
Comment 9 Thomas Renninger 2006-07-03 08:55:37 UTC
Have you made up this config yourself?
Better try some default config.
Not sure for now (sorry, and not worth looking at if you build up your own 
stuff...) but maybe it's that one missing:
# CONFIG_X86_SPEEDSTEP_LIB is not set
Comment 10 Thomas Renninger 2006-07-03 08:57:04 UTC
You should also compile in:
CONFIG_CPU_FREQ_DEBUG=y
and add boot param: cpufreq.debug=7

Comment 11 Cijoml Cijomlovic Cijomlov 2006-07-03 22:25:47 UTC
Hi,

this is debug output:

cpufreq-core: trying to register driver centrino
cpufreq-core: adding CPU 0
speedstep-centrino: <6>speedstep-centrino: obtaining ACPI data failed
speedstep-centrino: <6>speedstep-centrino: no table support for CPU model
"Intel(R) Pentium(R) M processor 1.70GHz"
cpufreq-core: initialization failed
cpufreq-core: no CPU initialized for driver centrino
cpufreq-core: unregistering CPU 0
acpi-cpufreq: acpi_cpufreq_init
cpufreq-core: trying to register driver acpi-cpufreq
cpufreq-core: adding CPU 0
acpi-cpufreq: acpi_cpufreq_cpu_init
cpufreq-core: initialization failed
cpufreq-core: no CPU initialized for driver acpi-cpufreq
cpufreq-core: unregistering CPU 0


Looks like somethink went wrong in logic - up to 2.6.16 this worked and support
was found
Comment 12 Alexey Starikovskiy 2006-07-17 02:41:12 UTC
This string in your DSDT means, that you have EST(DBS) disabled in your BIOS.
You need to have it enabled in order to get ACPI cpufreq to work for you.
--------------------------------------------------------------------
OperationRegion (SSDT, SystemMemory, 0xFFFF0000, 0xFFFF)
                                     ~~~~~~~~~~
--------------------------------------------------------------------
Comment 13 Cijoml Cijomlovic Cijomlov 2006-07-17 08:41:52 UTC
Hi,

it is nice, that this is not setted up, but I have never seen booting my laptop
more than 658 MHz. Then I can tune it up in Windows and up to 2.6.15 in Linux.
Any  "nice" additional check added to speedstep code?

I have set all tuning features to enabled (also frequency), but it is still
658MHz in BIOS.

Also still can't tune via /sys

Any Intel tool to flash this?! 

http://www.prestigio.cz/drivers/notes/Nobile159W/259IAxV109.rar

My BIOS is some OEM one, so no more support :( Just watch it and if needed ADD
FORCE OPTION! :(
Comment 14 Cijoml Cijomlovic Cijomlov 2006-08-10 09:51:48 UTC
Fixed in 2.6.18-rc4

Note You need to log in before you can comment on or make changes to this bug.