Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#638913: linux-source-3.0.0: cpu frequency speedstep_centrino Intel(R) Pentium(R) M processor

0 views
Skip to first unread message

rumi

unread,
Aug 22, 2011, 6:00:01 PM8/22/11
to
Package: linux-source-3.0.0
Version: 3.0.0-1
Severity: normal

#modproble speedstep-centrino
throws "No such device" for Intel(R) Pentium(R) M processor (thinkpad T42)

diff my-speedstep-centrino.c speedstep-centrino.c:
c
46d45
< CPU_DOTHAN_C0,
55,57c54,55
< [CPU_DOTHAN_B0] = { 6, 13, 6 },
< [CPU_DOTHAN_C0] = { 6, 13, 8 },
< [CPU_MP4HT_D0] = {15, 3, 4 },
---
> [CPU_DOTHAN_B0] = { 6, 13, 6 },
> [CPU_MP4HT_D0] = {15, 3, 4 },
198,276d195
< #define OPEX(mhz, base, mva, mvb, mvc, mvd) \
< { \
< .frequency = (mhz) * 1000, \
< .index = (((mhz)/(base)) << 8) | ((mva - 700) / 16) \
< }
<
< /* Intel Pentium M processor 730 / 1.60 GHz (Sonoma) */
< static struct cpufreq_frequency_table sonoma_1596[] =
< {
< OPEX( 798, 133, 988, 988, 988, 988),
< OPEX(1064, 133, 1116, 1111, 1084, 1079),
< OPEX(1330, 133, 1244, 1233, 1180, 1169),
< OPEX(1596, 133, 1356, 1356, 1260, 1260),
< { .frequency = CPUFREQ_TABLE_END }
< };
<
< /* Intel Pentium M processor 740 / 1.73 GHz (Sonoma) */
< static struct cpufreq_frequency_table sonoma_1729[] =
< {
< OPEX( 798, 133, 988, 988, 988, 988),
< OPEX(1064, 133, 1100, 1093, 1068, 1066),
< OPEX(1330, 133, 1212, 1198, 1148, 1143),
< OPEX(1729, 133, 1356, 1356, 1260, 1260),
< { .frequency = CPUFREQ_TABLE_END }
< };
<
< /* Intel Pentium M processor 750 / 1.86 GHz (Sonoma) */
< static struct cpufreq_frequency_table sonoma_1862[] =
< {
< OPEX( 798, 133, 988, 988, 988, 988),
< OPEX(1064, 133, 1084, 1080, 1068, 1056),
< OPEX(1330, 133, 1180, 1172, 1132, 1124),
< OPEX(1596, 133, 1276, 1264, 1196, 1192),
< OPEX(1862, 133, 1356, 1356, 1260, 1260),
< { .frequency = CPUFREQ_TABLE_END }
< };
<
< /* Intel Pentium M processor 760 / 2.00 GHz (Sonoma) */
< static struct cpufreq_frequency_table sonoma_1995[] =
< {
< OPEX( 798, 133, 988, 988, 988, 988),
< OPEX(1064, 133, 1084, 1070, 1052, 1048),
< OPEX(1330, 133, 1164, 1152, 1116, 1109),
< OPEX(1596, 133, 1244, 1233, 1180, 1169),
< OPEX(1995, 133, 1356, 1356, 1260, 1260),
< { .frequency = CPUFREQ_TABLE_END }
< };
< /* Intel Pentium M processor 770 / 2.13 GHz (Sonoma) */
< static struct cpufreq_frequency_table sonoma_2128[] =
< {
< OPEX( 798, 133, 988, 988, 988, 988),
< OPEX(1064, 133, 1068, 1065, 1052, 1042),
< OPEX(1330, 133, 1148, 1142, 1100, 1097),
< OPEX(1596, 133, 1228, 1218, 1164, 1151),
< OPEX(1862, 133, 1308, 1295, 1212, 1206),
< OPEX(2128, 133, 1372, 1372, 1260, 1260),
< { .frequency = CPUFREQ_TABLE_END }
< };
<
< /* Intel Pentium M processor 780 / 2.26 GHz (Sonoma) */
< static struct cpufreq_frequency_table sonoma_2261[] =
< {
< OPEX( 798, 133, 988, 988, 988, 988),
< OPEX(1064, 133, 1068, 1064, 1052, 1037),
< OPEX(1330, 133, 1148, 1139, 1100, 1087),
< OPEX(1596, 133, 1228, 1215, 1148, 1136),
< OPEX(1862, 133, 1292, 1291, 1196, 1186),
< OPEX(2261, 133, 1404, 1404, 1260, 1260),
< { .frequency = CPUFREQ_TABLE_END }
< };
<
< #undef OPEX
<
< #define SONOMA(cpuid, max, base, name) \
< { .cpu_id = cpuid, \
< .model_name = "Intel(R) Pentium(R) M processor " name "GHz", \
< .max_freq = (max)*1000, \
< .op_points = sonoma_##max, \
< }
299,306d217
<
< /* Builtin tables for Dothan C0 CPUs, a.k.a Sonoma */
< SONOMA(&cpu_ids[CPU_DOTHAN_C0], 1596, 133, "1.60"),
< SONOMA(&cpu_ids[CPU_DOTHAN_C0], 1729, 133, "1.73"),
< SONOMA(&cpu_ids[CPU_DOTHAN_C0], 1862, 133, "1.86"),
< SONOMA(&cpu_ids[CPU_DOTHAN_C0], 1995, 133, "2.00"),
< SONOMA(&cpu_ids[CPU_DOTHAN_C0], 2128, 133, "2.13"),
< SONOMA(&cpu_ids[CPU_DOTHAN_C0], 2261, 133, "2.26"),
root@chase:/usr/src# man diff
root@chase:/usr/src# man patch
root@chase:/usr/src# diff linux-source-3.0.0-7/drivers/cpufreq/speedstep-centrino.c linux-source-3.0.0/drivers/cpufreq/speedstep-centrino.c
46d45
< CPU_DOTHAN_C0,
55,57c54,55
< [CPU_DOTHAN_B0] = { 6, 13, 6 },
< [CPU_DOTHAN_C0] = { 6, 13, 8 },
< [CPU_MP4HT_D0] = {15, 3, 4 },
---
> [CPU_DOTHAN_B0] = { 6, 13, 6 },
> [CPU_MP4HT_D0] = {15, 3, 4 },
198,276d195
< #define OPEX(mhz, base, mva, mvb, mvc, mvd) \
< { \
< .frequency = (mhz) * 1000, \
< .index = (((mhz)/(base)) << 8) | ((mva - 700) / 16) \
< }
<
< /* Intel Pentium M processor 730 / 1.60 GHz (Sonoma) */
< static struct cpufreq_frequency_table sonoma_1596[] =
< {
< OPEX( 798, 133, 988, 988, 988, 988),
< OPEX(1064, 133, 1116, 1111, 1084, 1079),
< OPEX(1330, 133, 1244, 1233, 1180, 1169),
< OPEX(1596, 133, 1356, 1356, 1260, 1260),
< { .frequency = CPUFREQ_TABLE_END }
< };
<
< /* Intel Pentium M processor 740 / 1.73 GHz (Sonoma) */
< static struct cpufreq_frequency_table sonoma_1729[] =
< {
< OPEX( 798, 133, 988, 988, 988, 988),
< OPEX(1064, 133, 1100, 1093, 1068, 1066),
< OPEX(1330, 133, 1212, 1198, 1148, 1143),
< OPEX(1729, 133, 1356, 1356, 1260, 1260),
< { .frequency = CPUFREQ_TABLE_END }
< };
<
< /* Intel Pentium M processor 750 / 1.86 GHz (Sonoma) */
< static struct cpufreq_frequency_table sonoma_1862[] =
< {
< OPEX( 798, 133, 988, 988, 988, 988),
< OPEX(1064, 133, 1084, 1080, 1068, 1056),
< OPEX(1330, 133, 1180, 1172, 1132, 1124),
< OPEX(1596, 133, 1276, 1264, 1196, 1192),
< OPEX(1862, 133, 1356, 1356, 1260, 1260),
< { .frequency = CPUFREQ_TABLE_END }
< };
<
< /* Intel Pentium M processor 760 / 2.00 GHz (Sonoma) */
< static struct cpufreq_frequency_table sonoma_1995[] =
< {
< OPEX( 798, 133, 988, 988, 988, 988),
< OPEX(1064, 133, 1084, 1070, 1052, 1048),
< OPEX(1330, 133, 1164, 1152, 1116, 1109),
< OPEX(1596, 133, 1244, 1233, 1180, 1169),
< OPEX(1995, 133, 1356, 1356, 1260, 1260),
< { .frequency = CPUFREQ_TABLE_END }
< };
< /* Intel Pentium M processor 770 / 2.13 GHz (Sonoma) */
< static struct cpufreq_frequency_table sonoma_2128[] =
< {
< OPEX( 798, 133, 988, 988, 988, 988),
< OPEX(1064, 133, 1068, 1065, 1052, 1042),
< OPEX(1330, 133, 1148, 1142, 1100, 1097),
< OPEX(1596, 133, 1228, 1218, 1164, 1151),
< OPEX(1862, 133, 1308, 1295, 1212, 1206),
< OPEX(2128, 133, 1372, 1372, 1260, 1260),
< { .frequency = CPUFREQ_TABLE_END }
< };
<
< /* Intel Pentium M processor 780 / 2.26 GHz (Sonoma) */
< static struct cpufreq_frequency_table sonoma_2261[] =
< {
< OPEX( 798, 133, 988, 988, 988, 988),
< OPEX(1064, 133, 1068, 1064, 1052, 1037),
< OPEX(1330, 133, 1148, 1139, 1100, 1087),
< OPEX(1596, 133, 1228, 1215, 1148, 1136),
< OPEX(1862, 133, 1292, 1291, 1196, 1186),
< OPEX(2261, 133, 1404, 1404, 1260, 1260),
< { .frequency = CPUFREQ_TABLE_END }
< };
<
< #undef OPEX
<
< #define SONOMA(cpuid, max, base, name) \
< { .cpu_id = cpuid, \
< .model_name = "Intel(R) Pentium(R) M processor " name "GHz", \
< .max_freq = (max)*1000, \
< .op_points = sonoma_##max, \
< }
299,306d217
<
< /* Builtin tables for Dothan C0 CPUs, a.k.a Sonoma */
< SONOMA(&cpu_ids[CPU_DOTHAN_C0], 1596, 133, "1.60"),
< SONOMA(&cpu_ids[CPU_DOTHAN_C0], 1729, 133, "1.73"),
< SONOMA(&cpu_ids[CPU_DOTHAN_C0], 1862, 133, "1.86"),
< SONOMA(&cpu_ids[CPU_DOTHAN_C0], 1995, 133, "2.00"),
< SONOMA(&cpu_ids[CPU_DOTHAN_C0], 2128, 133, "2.13"),
< SONOMA(&cpu_ids[CPU_DOTHAN_C0], 2261, 133, "2.26"),

applying these changes fixes the problem on my:
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.73GHz
stepping : 8
cpu MHz : 798.000
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts est tm2
bogomips : 1196.20
clflush size : 64
cache_alignment : 64
address sizes : 32 bits physical, 32 bits virtual
power management:

reference:
https://bbs.archlinux.org/viewtopic.php?id=87274&p=1

maybe relevant: I have upgraded my BIOS to the newest and none of cpufreq modules were able to load.
The cpufreq was always: 598MHz.

rgds
rumi

-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-speedstep (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-source-3.0.0 depends on:
ii binutils 2.21.52.20110606-2 The GNU assembler, linker and bina
ii bzip2 1.0.5-6 high-quality block-sorting file co

Versions of packages linux-source-3.0.0 recommends:
ii gcc 4:4.6.1-2 GNU C compiler
ii libc6-dev [libc-dev] 2.13-16 Embedded GNU C Library: Developmen
ii make 3.81-8.1 An utility for Directing compilati

Versions of packages linux-source-3.0.0 suggests:
ii kernel-package 12.036+nmu1 A utility for building Linux kerne
ii libncurses5-dev [ncurses-dev 5.9-1 developer's libraries for ncurses
pn libqt4-dev <none> (no description available)

-- no debconf information

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Ben Hutchings

unread,
Aug 22, 2011, 6:40:02 PM8/22/11
to
Does acpi-cpufreq not work for this system?

If you want to propose a patch to the speedstep-centrino driver,
following the instructions in Documentation/SubmittingPatches.

Ben.

--
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus

Grzegorz Kochański

unread,
Aug 22, 2011, 6:50:02 PM8/22/11
to
Does acpi-cpufreq not work for this system?

no, it does not work:
# modprobe acpi-cpufreq
FATAL: Error inserting acpi_cpufreq (/lib/modules/3.0.0-speedstep/kernel/drivers/cpufreq/acpi-cpufreq.ko): No such device

If you want to propose a patch to the speedstep-centrino driver,
following the instructions in  Documentation/SubmittingPatches.

Ben.

I will.
rgds
rumi

Ben Hutchings

unread,
Aug 23, 2011, 12:00:02 AM8/23/11
to
On Tue, 2011-08-23 at 00:38 +0200, Grzegorz Kochański wrote:
> Does acpi-cpufreq not work for this system?
>
> no, it does not work:
> # modprobe acpi-cpufreq
> FATAL: Error inserting acpi_cpufreq
> (/lib/modules/3.0.0-speedstep/kernel/drivers/cpufreq/acpi-cpufreq.ko):
> No such device

It works on my T42 with the 1.8 GHz version of this processor, using
lenny, squeeze and sid kernel versions. The BIOS version is 3.05a.
Maybe there was a regression in a later BIOS version?

Ben.


signature.asc

Grzegorz Kochański

unread,
Aug 23, 2011, 3:40:02 AM8/23/11
to

It works on my T42 with the 1.8 GHz version of this processor, using
lenny, squeeze and sid kernel versions.  The BIOS version is 3.05a.
Maybe there was a regression in a later BIOS version?

Ben.


I have applied the newest BIOS version available at lenovo support for my T42 (model 2374):
BIOS Version   3.23 (1RETDRWW)
BIOS Date       2007-06-18
Embedded Controller Version 3.03
CPU Type    Intel(R) Pentium(R) M processr,
CPU Speed   1.53GHz

Changing BIOS setting from Slow to Max custom setting changes time between
"Grub loading." to "Welcome to GRUB!" from 15 to 5 cursor blinks :).
However, when system is loaded then mprime benchmark shows exactly the same (SLOW) result regardless of BIOS setting.

System initiation changes the frequency to the lowest one.
Loading patched speedstep-centrino module causes mprime benchmark faster results.

rgds
rumi

Bjørn Mork

unread,
Aug 23, 2011, 4:30:01 AM8/23/11
to
Grzegorz Kochański <rum...@gmail.com> writes:

>> It works on my T42 with the 1.8 GHz version of this processor, using
>> lenny, squeeze and sid kernel versions. The BIOS version is 3.05a.
>> Maybe there was a regression in a later BIOS version?
>>
>> Ben.
>>
>>
>> I have applied the newest BIOS version available at lenovo support for my
> T42 (model 2374):
> BIOS Version 3.23 (1RETDRWW)
> BIOS Date 2007-06-18
> Embedded Controller Version 3.03

Please see

http://support.lenovo.com/en_US/downloads/detail.page?&LegacyDocID=MIGR-50273#summary

which says

"Note: This BIOS version will only work with Embedded Controller
Program Version 3.04 (or higher)."

This may explain your issues unless the values above are a result of a
typo.


Bjørn

Ben Hutchings

unread,
Aug 23, 2011, 8:50:02 AM8/23/11
to
On Tue, 2011-08-23 at 09:33 +0200, Grzegorz Kochański wrote:
>
> It works on my T42 with the 1.8 GHz version of this processor,
> using
> lenny, squeeze and sid kernel versions. The BIOS version is
> 3.05a.
> Maybe there was a regression in a later BIOS version?
>
> Ben.
>
>
> I have applied the newest BIOS version available at lenovo support for
> my T42 (model 2374):
> BIOS Version 3.23 (1RETDRWW)
> BIOS Date 2007-06-18
> Embedded Controller Version 3.03
> CPU Type Intel(R) Pentium(R) M processr,
> CPU Speed 1.53GHz
[...]

Previously you said 1.73 GHz... and Wikipedia doesn't mention a 1.53 GHz
version so I think that was correct.

Is 'Intel(R) SpeedStep technology' enabled in the BIOS?

Have you run any other kernel version or distribution, in which the
acpi-cpufreq driver?

Ben.

signature.asc

Ben Hutchings

unread,
Aug 23, 2011, 9:10:01 AM8/23/11
to
...works?

Ben.

signature.asc

Grzegorz Kochański

unread,
Aug 24, 2011, 2:50:02 AM8/24/11
to


2011/8/23 Ben Hutchings <b...@decadent.org.uk>

sorry for so not long responding,
I was fighting with  Embedded Controller Version 3.03 and finally it is 3.04, but nothing else has changed.

I did not make a mistake BIOS presents:
CPU Speed   1.53GHz

what is the source of /proc/cpuinfo ?
when I load and unload patched speedstep-centrino module /proc/cpuinfo stucked with single frequency, even it was changed by ondemand kernel governor.

so it seems to be still BIOS problem...

rgds
rumi

Grzegorz Kochański

unread,
Aug 26, 2011, 4:20:01 PM8/26/11
to
Dear Ben,

I have tried, many BIOS versions compatible with
including Embeded Controller 3.03 (e.g. 3.05a mentioned by you) but
during downgrading for BIOS below 3.12 I always get:
"CPU ID is not correct for this system."

Lenovo support does not recognize their hardware.
type: 2374-g1g does not exists for them.

So it seems I sucked with this issue.
Thank you for your attention.
Please close the issue,
I will use patched speedstep-centrino for myself only.

rgds
rumi

Jonathan Nieder

unread,
Aug 26, 2011, 6:30:02 PM8/26/11
to
Hi Rumi,

Grzegorz Kochański wrote:

> I have tried, many BIOS versions compatible with
> including Embeded Controller 3.03 (e.g. 3.05a mentioned by you) but
> during downgrading for BIOS below 3.12 I always get:
> "CPU ID is not correct for this system."

Why not upgrade the Embedded Controller Program first, and then the
BIOS, as described at [1]?

[1] http://www.thinkwiki.org/wiki/BIOS_Upgrade#Two_Firmwares:_BIOS_and_ECP

Debian Bug Tracking System

unread,
Aug 27, 2011, 2:00:02 PM8/27/11
to
Your message dated Sat, 27 Aug 2011 12:48:17 -0500
with message-id <20110827174...@elie.gateway.2wire.net>
and subject line Re: linux-source-3.0.0: cpu frequency speedstep_centrino Intel(R) Pentium(R) M processor
has caused the Debian Bug report #638913,
regarding linux-source-3.0.0: cpu frequency speedstep_centrino Intel(R) Pentium(R) M processor
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


--
638913: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638913
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

0 new messages