frequency scaling / detection broken on this box

Bug #85814 reported by Sebastien Vajda
22
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I own a Core Duo 2 desktop system with an Abit AW9D-Max motherboard. The content on /proc/cpuinfo is:

svajda@blackstone:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
stepping : 6
cpu MHz : 600.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
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 pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 4900.54
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
stepping : 6
cpu MHz : 600.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
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 pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 4897.17
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

The problem is that the detection of the available CPU frequencies seems to be broken as reported by the following /sys/ files:

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
acpi-cpufreq

/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
900000 600000

/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
conservative

/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
900000

/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
600000

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver
acpi-cpufreq

/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies
900000 600000

/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
conservative

/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq
900000

/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq
600000

Revision history for this message
Sebastien Vajda (sebvajda) wrote :

Forgot to tell:

Running Ubuntu 7.04 with latest updates (kenel 2.6.20-8 generic) for x86_64

Revision history for this message
Brian Murray (brian-murray) wrote : Re: [Bug 85814] Re: frequency scaling / detection broken on this box

 sourcepackage linux-source-2.6.20

Revision history for this message
Sebastien Vajda (sebvajda) wrote :

root@blackstone:~# dpkg -l | grep linux-image-2.6.20-8
ii linux-image-2.6.20-8-generic 2.6.20-8.14 Linux kernel image for version 2.6.20 on x86

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Thanks for taking the time to report this bug. Unfortunately we can't fix it, because your description didn't include 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 here: <http://wiki.ubuntu.com/DebuggingKernelProblems> Thanks!

Revision history for this message
Sebastien Vajda (sebvajda) wrote :

Linux blackstone 2.6.20-8-generic #2 SMP Tue Feb 13 01:14:41 UTC 2007 x86_64 GNU/Linux

Revision history for this message
Sebastien Vajda (sebvajda) wrote :
Revision history for this message
Sebastien Vajda (sebvajda) wrote :
Revision history for this message
Sebastien Vajda (sebvajda) wrote :

Exact same behavior with 2.6.20-9.16.
I've started a new thread on the mainboard manufacturer support forum for help / advice. I suspect this is a bios issue. URL to aforementionned thread: http://forum.abit-usa.com/showthread.php?t=121169.

Let me know if you need anything else (acpidump to check if the problem is in the bios or somewhere else ?)

Revision history for this message
Sebastien Vajda (sebvajda) wrote :

Solved with latest bios 1.4 from Abit.

Changed in linux-source-2.6.20:
status: Unconfirmed → Rejected
Revision history for this message
Panda_N_Shark (codedmind) wrote :

Same problem here.

Asus p5b-plus vista edition
c2d e6600

outputs:
uname -a
Linux MAIN 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

Revision history for this message
Panda_N_Shark (codedmind) wrote :
Revision history for this message
Panda_N_Shark (codedmind) wrote :
Revision history for this message
Panda_N_Shark (codedmind) wrote :

And my /proc/acpi/thermal_zone/ is empty so i can't get cpu temp

Changed in linux-source-2.6.20:
status: Rejected → Needs Info
Changed in linux-source-2.6.20:
assignee: nobody → ubuntu-kernel-acpi
importance: Undecided → Medium
status: Needs Info → Confirmed
Revision history for this message
Amos Brocco (mriya3) wrote :

I don't know if my problem is related to this bug... but, I have a Toshiba Tecra S4-122 notebook, with a Core2 Duo T7200 (2.0Ghz).
The available frequencies reported are wrong:

attila@blackbird:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
2000000 1660000 1330000 1000000 65535000
attila@blackbird:~$ cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies
2000000 1660000 1330000 1000000 65535000

(notice the 65.535 Ghz! ... which is also reported by the gnome cpufreq applet)

Some more details (attached are dmesg and syslog logs):

attila@blackbird:~$ uname -a
Linux blackbird 2.6.20-16-lowlatency #2 SMP PREEMPT Thu Jun 7 20:23:03 UTC 2007 i686 GNU/Linux

attila@blackbird:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
stepping : 6
cpu MHz : 1000.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 3993.52
clflush size : 64

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
stepping : 6
cpu MHz : 1000.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 3990.02
clflush size : 64

attila@blackbird:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
2000000
attila@blackbird:~$ cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
2000000

attila@blackbird:~$ cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors
userspace conservative ondemand powersave performance

attila@blackbird:~$ cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq 65535000

attila@blackbird:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq 65535000

attila@blackbird:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
acpi-cpufreq

Revision history for this message
Kaur Männamaa (kaurman) wrote :

I'm using an Intel Core 2 Duo 2300 with Feisty and 2.6.20-16-generic kernel and frequency scaling is (still) not working. In the past I solved this problem by using an older 686 kernel but now I can't install it. (some trouble with udev hook script).

Anyway, the problem is that speedstep-centrino or acpi-cpufreq can't be loaded. The error message is something like. "No such device."

With the new Gutsy's kernel everything works, but as there are some reasons why I can't install it, I'd be very interested in helping to solve this issue.

Ps: If you want me to run a command with speedsteping enabled in BIOS, please make some kind of note about that because at the moment speedsteping is disabled to keep the CPU at its minimum frequency.

Kaur

Revision history for this message
Steven Wagner (stevenwagner) wrote :

I have this same problem on 2.6.24-19-server #1 SMP

I have frequency scaling turned on, with ONDEMAND mode.

procinfo shows this:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
stepping : 11
cpu MHz : 600.000
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 4788.03
clflush size : 64

Revision history for this message
Steven Wagner (stevenwagner) wrote :

this is confirmed on hardy server kernel 2.6.24-19. Also confirmed on a gentoo box with custom kernel 2.6.24.7.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
kernel-janitor (kernel-janitor) wrote :

This bug report was marked as Confirmed a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Invalid
Curtis Hovey (sinzui)
Changed in linux (Ubuntu):
assignee: Registry Administrators (registry) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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