Kernel doesn't scale my CPU.

Bug #93331 reported by Uwe Pfeifer
8
Affects Status Importance Assigned to Milestone
Linux
Invalid
Unknown
linux-source-2.6.20 (Ubuntu)
Fix Released
Medium
Ben Collins
linux-source-2.6.22 (Ubuntu)
New
Undecided
Unassigned

Bug Description

On my Amilo M1437G CPU Frequency Scaling doesn't work.
It keeps running at 800Mhz.

root@loopy2:~# /etc/init.d/powernowd restart
 * Stopping powernowd: [ OK ]
 * Starting powernowd... /etc/init.d/powernowd: 156: cannot create /sys/devices/system/cpu/cpu0//cpufreq/scaling_governor: Directory nonexistent
 * CPU frequency scaling not supported

root@loopy2:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 2.00GHz
stepping : 8
cpu MHz : 800.055
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 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up est tm2
bogomips : 1601.64
clflush size : 64
On my Amilo M1437G CPU Frequency Scaling doesn't work.
It keeps running at 800Mhz.

root@loopy2:~# /etc/init.d/powernowd restart
 * Stopping powernowd: [ OK ]
 * Starting powernowd... /etc/init.d/powernowd: 156: cannot create /sys/devices/system/cpu/cpu0//cpufreq/scaling_governor: Directory nonexistent
 * CPU frequency scaling not supported

root@loopy2:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 2.00GHz
stepping : 8
cpu MHz : 800.055
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 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up est tm2
bogomips : 1601.64
clflush size : 64

On my Amilo M1437G CPU Frequency Scaling doesn't work.
It keeps running at 800Mhz.

root@loopy2:~# /etc/init.d/powernowd restart
 * Stopping powernowd: [ OK ]
 * Starting powernowd... /etc/init.d/powernowd: 156: cannot create /sys/devices/system/cpu/cpu0//cpufreq/scaling_governor: Directory nonexistent
 * CPU frequency scaling not supported

root@loopy2:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 2.00GHz
stepping : 8
cpu MHz : 800.055
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 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up est tm2
bogomips : 1601.64
clflush size : 64
On my Amilo M1437G CPU Frequency Scaling doesn't work.
It keeps running at 800Mhz.

root@loopy2:~# /etc/init.d/powernowd restart
 * Stopping powernowd: [ OK ]
 * Starting powernowd... /etc/init.d/powernowd: 156: cannot create /sys/devices/system/cpu/cpu0//cpufreq/scaling_governor: Directory nonexistent
 * CPU frequency scaling not supported

root@loopy2:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 2.00GHz
stepping : 8
cpu MHz : 800.055
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 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up est tm2
bogomips : 1601.64
clflush size : 64

If you need any more information, please contact me.

ProblemType: Bug
Architecture: i386
Date: Sun Mar 18 11:00:03 2007
DistroRelease: Ubuntu 7.04
Uname: Linux loopy2 2.6.20-11-generic #2 SMP Thu Mar 15 08:03:07 UTC 2007 i686 GNU/Linux

Revision history for this message
Uwe Pfeifer (alphatrax) wrote :

I seem to have pasted something multiple times by mistake.
Sorry. :)

Revision history for this message
magilus (magilus) wrote :

Thanks for taking the time to report this bug. Unfortunately we can't fix it, because your description doesn't yet have enough information.

Please include the following additional information, if you have not already done so (please pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
1. Please include the output of the command "uname -a" in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
2. Please run the command "dmesg > dmesg.log" and attach the resulting file "dmesg.log" to this bug report.
3. Please run the command "lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.

For your reference, the full description of procedures for kernel-related bug reports is available at [WWW] http://wiki.ubuntu.com/DebuggingKernelProblems . Thanks in advance!

Could you also post if it happened with Ubuntu versions prior to Feisty?

Changed in linux-source-2.6.20:
assignee: nobody → pirast
status: Unconfirmed → Needs Info
Revision history for this message
Uwe Pfeifer (alphatrax) wrote :

Thank's for your reply. Here the additional information:

Yes it also happened with Dapper and Edgy.

root@loopy2:~# uname -a
Linux loopy2 2.6.20-11-generic #2 SMP Thu Mar 15 08:03:07 UTC 2007 i686 GNU/Linux

The dmesg.log and lspci-vnn.log are attached.

Revision history for this message
Uwe Pfeifer (alphatrax) wrote :

Now the lspci-vnn.log ;)

Revision history for this message
magilus (magilus) wrote :

Alright, thanks :)

Changed in linux-source-2.6.20:
assignee: pirast → nobody
status: Needs Info → Unconfirmed
Revision history for this message
magilus (magilus) wrote :

You could try if the same bug appears with other Linux distributions (OpenSuSE, Fedora) using a livecd.

If the bug also appears with other distributions, please open a bug at http://bugzilla.kernel.org and write down the link here.

Thanks :)

Revision history for this message
Uwe Pfeifer (alphatrax) wrote :

I have filed the bug at bugzilla.kernel.org :) It also doesn't work with openSuSE.

Changed in linux:
status: Unknown → Confirmed
Changed in linux-source-2.6.20:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Daniel Swarbrick (pressureman) wrote :

That appears to be a Dothan core. My cpuinfo shows (same family & model, different frequency):

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.60GHz
stepping : 6
cpu MHz : 600.051
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 mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe up est tm2
bogomips : 1201.24
clflush size : 64

Frequency scaling used to work with speedstep-centrino, up to and including Edge (kernel 2.6.17). I _think_ it worked with 2.6.18, early on in the Feisty development cycle, but it hasn't worked with any of the 2.6.19 or 2.6.20 kernels. Since the Dothan freq/voltage pairs have never been officially coded into speedstep-centrino, I can only presume that it obtained them via ACPI (still using the speedstep-centrino driver however).

Since the ACPI code in speedstep-centrino was deprecated, and copied to acpi-cpufreq, it hasn't worked. The acpi-cpufreq module does not work either. This is really frustrating - not only does my notebook fan never turn off now, but the CPU is stuck running at 600MHz, instead of floating between 600MHz and 1.6GHz.

I've also opened a bug on bugzilla.kernel.org: http://bugzilla.kernel.org/show_bug.cgi?id=8245

Revision history for this message
Daniel Swarbrick (pressureman) wrote :

Forgot to mention, my notebook is a Fujitsu Siemens Amilo M 1425. No BIOS updates are available - it's as if the hardware has been pretty much orphaned from a support point of view.

Revision history for this message
Ben Collins (ben-collins) wrote :

Hopefully fixed with the linux-phc provided centrino speedstep tables.

Changed in linux-source-2.6.20:
assignee: ubuntu-kernel-team → ben-collins
status: Confirmed → Fix Committed
Revision history for this message
Uwe Pfeifer (alphatrax) wrote :

Is that fix allready in the ubuntu packages?
There was a updated kernel package yesterday but it still isn't working.

Revision history for this message
Daniel Swarbrick (pressureman) wrote :

Ben committed the patch to the Ubuntu kernel git tree, but I don't think the packages have been rebuilt as of yet. I applied the patch myself to existing linux-source-2.6.20 package, and speedstep works fine.

I guess it's only a matter of time (and getting approval from the release team) to sneak this one in before Feisty ships.

Revision history for this message
Uwe Pfeifer (alphatrax) wrote :

Hopefully this happens soon.
Thank You for your patch Ben! :)

Changed in linux-source-2.6.20:
status: Fix Committed → Fix Released
Revision history for this message
Uwe Pfeifer (alphatrax) wrote :

Thank you very much! The fix is working.

Changed in linux:
status: Confirmed → Needs Info
Revision history for this message
Uwe Pfeifer (alphatrax) wrote :

What kind of Info is needed?
Here's the link to the bugreport at bugzilla.kernel.org:
http://bugzilla.kernel.org/show_bug.cgi?id=8228

There is some additional information.

Revision history for this message
magilus (magilus) wrote :

The info has already been provided by you, but you have not set the bug back to NEW.

I did that for you :)

Revision history for this message
Len Brown (len-brown) wrote :

> Hopefully fixed with the linux-phc provided centrino speedstep tables.

That would be unfortunate,
as it would paper over the upstream cause of this bug.

Changed in linux:
status: Needs Info → Confirmed
Revision history for this message
Wang Daolong (ahlongxp-gmail) wrote :

My PM 753 ULV keeps runnint at 600MHz.

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.20GHz
stepping : 8
cpu MHz : 600.101
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 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx est tm2
bogomips : 1201.50

Changed in linux:
status: Confirmed → Needs Info
Changed in linux:
status: Needs Info → Rejected
Changed in linux:
status: Invalid → Incomplete
Revision history for this message
Daniel Swarbrick (pressureman) wrote :

I updated the BIOS on my Fujitsu-Siemens Amilo M1425 to BIOS version 1.08 (released December 2004, only two weeks after my previous, buggy BIOS, ver 1.06c).

With the new BIOS, acpi-cpufreq now loads successfully, detects the clock speeds available, and scales the cpu frequency correctly. This is on Gutsy kernel 2.6.22-7.

Windows also no longer needs the assistance of the third party freq scaling app, Notebook Hardware Control. Looks like it was buggy ACPI all along.

Changed in linux:
status: Incomplete → Invalid
Revision history for this message
Uwe Pfeifer (alphatrax) wrote :

Since I upgraded to gutsy it doesn't work anymore for me.
Still the same hardware, and the most recent BIOS Version.
With linux-phc it worked but my laptop sometimes just turned itself off, probably because it became too hot.

Revision history for this message
Rockfirm Bear (basal) wrote :

I had the same problem with my Gericom Blockbuster Excellent 7000 259IA7 (Intel Pentium M Dothan 1,6GHz) since a dist-upgrade to Gutsy Gibbon. speedstep-centrino didn't load.

A bios update to the BIOS from 25.01.2005 solved the problem.
After the update, acpi_cpufreq was loaded by kubuntu itself.

Revision history for this message
Uwe Pfeifer (alphatrax) wrote :

I have the newest BIOS - for me cpu frequency scaling doesn't work.

Revision history for this message
Leszek Tarkowski (leszek-tarkowski) wrote :

Same here: frequency scaling not working, neither by acpi-cpufreq nor speedstep-centrino.
Notebook Maxdata 8100X (PentiumM 1.6GHz) ICH4

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.60GHz
stepping : 6
cpu MHz : 1593.583
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 mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe up est tm2
bogomips : 3189.32
clflush size : 64

what is maybe more important:
sudo modprobe acpi-cpufreq
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.22-14-generic/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device

after that, in dmesg:
ACPI: Invalid _PSS data: freq is zero

sudo modprobe speedstep-centrino
FATAL: Error inserting speedstep_centrino (/lib/modules/2.6.22-14-generic/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko): No such device

nothing in dmesg after that.

for dmesg output, please see:

https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/152445

with BTW seems to be duplicat of this bug

Revision history for this message
Stefano Manelli (marcomarini2003) wrote :

Hello,
I had the same problem described here, on my FSC Amilo M1425.
I solved the problem reflshing BIOS and selecting "Load optimized settings" (I think the latter was the key). Now ACPI is working.
My BIOS i 1.08c

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.