Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754897AbYHHHaW (ORCPT ); Fri, 8 Aug 2008 03:30:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752779AbYHHHaG (ORCPT ); Fri, 8 Aug 2008 03:30:06 -0400 Received: from main.gmane.org ([80.91.229.2]:52202 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752123AbYHHHaF (ORCPT ); Fri, 8 Aug 2008 03:30:05 -0400 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: Alan Jenkins Subject: Re: cpufreq doesn't seem to work in Intel Q9300 Date: Thu, 07 Aug 2008 20:24:19 +0100 Message-ID: References: <514e099a0808030300u140a0ae7m92a2e7294f39f7b7@mail.gmail.com> <48958901.06a0100a.35d6.2df9@mx.google.com> <514e099a0808032206n192fc973u24b31def6555dbec@mail.gmail.com> <514e099a0808070235qd36628cta191018763875422@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 86.53.68.233 User-Agent: Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: <514e099a0808070235qd36628cta191018763875422@mail.gmail.com> Cc: linux-acpi@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3937 Lines: 79 S K wrote: > 2008/8/3 S K : >> On Sun, Aug 3, 2008 at 3:31 AM, none wrote: >>> S K wrote: >>>> Hi, >>>> >>>> I have an Intel Core 2 Quad and running kernel >>>> 2.6.25.11-97.fc9.i686. cpufreq doesn't seem to work. The cpufreq >>>> scaling monitor in Gnome says CPU Freq scaling is not supported in my >>>> CPU. The CPU can run at 2.0 and 2.5 GHz but mine always runs at 2.5 >>>> GHz in Linux. >>>> >>>> So I checked /sys and there is no cpufreq dir in /sys/... >>>> >>>> # ls /sys/devices/system/cpu/ >>>> cpu0 cpu1 cpu2 cpu3 cpuidle sched_mc_power_savings >>>> # ls /sys/devices/system/cpu/cpuidle/ >>>> current_driver current_governor_ro >>>> >>>> I have no clue what cpuidle directory is for. >>>> >>>> I added cpufreq.debug=7 in kernel boot params and saw the following in >>>> the dmesg: >>>> >>>> speedstep-smi: No supported Intel CPU detected. >>>> cpufreq-core: CPU 0: _PPC is 0 - frequency not limited >>>> cpufreq-core: CPU 3: _PPC is 0 - frequency not limited >>>> cpufreq-core: CPU 1: _PPC is 0 - frequency not limited >>>> cpufreq-core: CPU 2: _PPC is 0 - frequency not limited >>>> cpuidle: using governor ladder >>>> cpuidle: using governor menu >>>> >>>> I looked at arch/x86/kernel/cpu/cpufreq/speedstep-smi.c and it seems >>>> to detect only Pentium IIIs. >>>> >>>> Anyone know what files have the cpufreq code for Intel Core 2? >>>> Does cpufreq support Intel Core 2 Quads? Especially the Q9300? If not, >>>> anything I can do to help? >>> I have an Intel Core 2 Duo and it uses the ACPI cpufreq driver; your >>> Quad should do the same. So this is likely an ACPI/BIOS issue. >>> >>> If you ask ACPI people they will ask you to post the output of acpidump. >>> Also you should probably check if you have a BIOS option that needs to be >>> enabled for this to work. >>> >>> BTW, cpuidle is something quite different, it is about how to save power >>> when CPU is doing nothing (i.e. idle :-). Cpu frequency scaling is how to >>> save power when CPU is working (but doesn't need to run flat out). >>> >>> Alan >>> >> Hi, >> >> I'm attaching the acpidump output. Can someone (ACPI guys??) please >> me help figure this out? >> Is there any other info that's needed to debug this? >> >> I can be a tester for this and even do some development within the >> limits of my understanding. >> >> Thanks, >> SK >> > Anyone care to help? > > -SK Please don't top-post! According to the online ACPI spec, the BIOS should expose _PCT, _PSS and PPC objects if it supports multiple CPU performance states (aka P-states, cpufreq). I ran your acpidump.txt through acpixtract to generate the DSDT, and decompiled it using iasl. It did not contain any of _PCT, _PSS and _PPC. Again, it is possible this is an option in your BIOS which is currently disabled. You need to go into your BIOS setup screen and see if you can find any relevant options. If possible, find out whether cpu frequency scaling works in windows. If it doesn't work in windows, it's very unlikely to work on linux. Linux ACPI aims for bug-for-bug compatibility with Windows, which is what manufacturers test their product against. There may be other possibilities. Your acpidump output did not appear to include a SSDT, which is another place these objects might be found. My computer suffered from a bug where linux could not find the SSDT (). This bug was relatively simple and was fixed. However there might be something similar going on. IIRC from last time, SSDTs or similar can also be loaded dynamically by the AML code in the DSDT, so maybe something goes wrong there. Regards Alan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/