F14 cpuspeed / ondemand broken?

Steven Haigh netwiz at crc.id.au
Fri Dec 31 16:33:59 UTC 2010


On 31/12/2010 10:16 PM, "Jóhann B. Guðmundsson" wrote:
>
> 1. update bios to the latest from manufacturer and check bios settings (
> Must do )

Ok. I jumped on the Acer web site... The system is an APSK50 desktop. I 
noticed the BIOS was from 2006 - the latest is R01-C1. I flashed that 
using 'flashrom' which I found to be a lifesaver! I didn't have to get a 
bootable DOS USB key etc! :D

 From dmidecode:
BIOS Information
         Vendor: Phoenix Technologies, LTD
         Version: R01-C1
         Release Date: 05/30/2007
	<snip>
Handle 0x0001, DMI type 1, 27 bytes
System Information
         Manufacturer: Acer
         Product Name: AST690/APFH/APSK50
         Version: R01-C1
         Serial Number:
         UUID: FEFEFEFE-FEFE-FEFE-FEFE-FEFEFEFEFEFE
         Wake-up Type: Power Switch
         SKU Number:
         Family:

The CPU is a socket 775 PentiumD 2.8Ghz.

I reset the BIOS to optimal defaults and fired it up. No real change :(

> 2. restore /etc/sysconfig/cpuspeed to it's original form ( Must as well )

Did this before I rebooted. If I don't have DRIVER=p4-clockmod set in 
/etc/sysconfig/cpuspeed, when I start it I get a prompt saying that its 
started the ondemand passive cooling. I assume that this means zero 
frequency scaling.

This is a curious thing - when doing this manually:

# /etc/init.d/cpuspeed start
Enabling p4-clockmod driver (passive cooling only):        [  OK  ]

So, unloading all modules and playing manually:
# modprobe acpi-cpufreq
FATAL: Error inserting acpi_cpufreq 
(/lib/modules/2.6.35.10-74.fc14.i686/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): 
No such device

So we can't use acpi. drat. Load p4-clockmod:
# modprobe p4-clockmod

Then lets do some tests.
# pwd
/sys/devices/system/cpu/cpu0/cpufreq
# cat scaling_available_governors
userspace performance
# modprobe cpufreq-ondemand
# cat scaling_available_governors
ondemand userspace performance
# cat scaling_governor
performance
# echo ondemand > scaling_governor
# cat scaling_governor
performance
#

Interesting. Surely this should change to the ondemand governor?!

> Check if things work if they dont after bios update and orignal cpuspeed
> file and after fiddling with power savings, EIST, processor scaling,
> etc.then boot with cpufreq.debug=7 and test latest kernel .35 .36 .37
> from koji

Going to look into this tomorrow. It's 3:33am now on 1/Jan/2011 - so 
Happy New Year to all, and lets continue the awesome achievements shown 
in Fedora :)

-- 
Steven Haigh

Email: netwiz at crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299


More information about the test mailing list