Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enable CPU's Power Saving/Frequency Scaling features

Status
Not open for further replies.

porkchopexpress

IS-IT--Management
May 26, 2005
3,996
0
0
GB
I'm having an issue with my Acer notebook when running Ubuntu 7.04 Feisty the CPU fan is running full tilt all the time and i'm not sure if it's because of the CPU running maxed out of if it's just not controlling the fans correctly.

I'm pretty new to Linux (as you'll probably see from my recent posts) so i'm having a bit of trouble troubleshooting the issue, i think the answer lies in the link below somewhere between 1.10.3.11 and 1.10.4.1 "How to enable your CPU's Power Saving/Frequency Scaling features"


I ran a couple of suggested commands and have posted the output below and i think it's having trouble recognising my processor.
I also installed the cpufrequtils but it still returns an error if i run cpufreq-info.


Can anyone help interpret the problem?

Thanks.

Code:
sudo modprobe acpi-cpufreq
Password:
WARNING: Error inserting processor (/lib/modules/2.6.20-16-generic/kernel/drivers/acpi/processor.ko): No such device
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.20-16-generic/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko): Unknown symbol in module, or unknown parameter (see dmesg)

Code:
cat /proc/cpuinfo

processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2200+
stepping : 1
cpu MHz : 1791.247
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow up ts fid vid
bogomips : 3587.22
clflush size : 32
 
Hi porkchopexpress,

It looks like the files that are mentioned, don't exist.

Can you confirm that they do or don't?

Just do an ls -l on the following and paste the output.

/lib/modules/2.6.20-16-generic/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko
/lib/modules/2.6.20-16-generic/kernel/drivers/acpi/processor.ko

If they don't you might need to recompile that module into your current Kernel.

Good Luck
DrD
 
Hi DrD thanks for the reply.


Code:
 ls -l /lib/modules/2.6.20-16-generic/kernel/arch/i386/kernel/cpu/cpufreq
total 176
-rw-r--r-- 1 root root 12896 2007-08-31 02:33 acpi-cpufreq.ko
-rw-r--r-- 1 root root  8764 2007-08-31 02:33 cpufreq-nforce2.ko
-rw-r--r-- 1 root root  9176 2007-08-31 02:33 gx-suspmod.ko
-rw-r--r-- 1 root root 17844 2007-08-31 02:33 longhaul.ko
-rw-r--r-- 1 root root  6184 2007-08-31 02:33 longrun.ko
-rw-r--r-- 1 root root  9036 2007-08-31 02:33 p4-clockmod.ko
-rw-r--r-- 1 root root  7476 2007-08-31 02:33 powernow-k6.ko
-rw-r--r-- 1 root root 13576 2007-08-31 02:33 powernow-k7.ko
-rw-r--r-- 1 root root 19296 2007-08-31 02:33 powernow-k8.ko
-rw-r--r-- 1 root root 12592 2007-08-31 02:33 speedstep-centrino.ko
-rw-r--r-- 1 root root  9120 2007-08-31 02:33 speedstep-ich.ko
-rw-r--r-- 1 root root  8380 2007-08-31 02:33 speedstep-lib.ko
-rw-r--r-- 1 root root  9764 2007-08-31 02:33 speedstep-smi.ko

Code:
ls -l /lib/modules/2.6.20-16-generic/kernel/drivers/acpi/
total 284
-rw-r--r-- 1 root root  8020 2007-08-31 02:33 ac.ko
-rw-r--r-- 1 root root 23552 2007-08-31 02:33 asus_acpi.ko
-rw-r--r-- 1 root root 13768 2007-08-31 02:33 battery.ko
-rw-r--r-- 1 root root 11488 2007-08-31 02:33 button.ko
-rw-r--r-- 1 root root  7004 2007-08-31 02:33 container.ko
-rw-r--r-- 1 root root 13128 2007-08-31 02:33 dock.ko
-rw-r--r-- 1 root root  7552 2007-08-31 02:33 fan.ko
-rw-r--r-- 1 root root 15012 2007-08-31 02:33 hotkey.ko
-rw-r--r-- 1 root root  8136 2007-08-31 02:33 i2c_ec.ko
-rw-r--r-- 1 root root 42000 2007-08-31 02:33 ibm_acpi.ko
-rw-r--r-- 1 root root 38796 2007-08-31 02:33 processor.ko
-rw-r--r-- 1 root root 19832 2007-08-31 02:33 sbs.ko
-rw-r--r-- 1 root root 18452 2007-08-31 02:33 thermal.ko
-rw-r--r-- 1 root root 16484 2007-08-31 02:33 toshiba_acpi.ko
-rw-r--r-- 1 root root 21068 2007-08-31 02:33 video.ko

 
Hi porkchopexpress,

It looks like the kernel pieces are there...

How about the MotherBoard having acpi or it being enabled in the bios? Also, what Motherboard are you using?

What do you when you try the following? Is acpi in there?

ps -ef|grep acpi
biosdecode
dmidecode|grep -i acpi



Good Luck
DrD
 
This is an Acer Aspire 1313LC notebook i'm not sure of the exact mobo without taking it appart, the options in the BIOS are limited but when i had XP installed all of the power management options seemed to be available.

This spec looks almost identical to mine


I'll try what you suggested when i get home.

Thanks

Grant.
 
Hi DrD

I ran the commands and here are the outputs.

Code:
ps -ef|grep acpi
grant     5582  5560  0 18:05 pts/0    00:00:00 grep acpi

Code:
# biosdecode 2.8
ACPI 1.0 present.
        OEM Identifier: OID_00
        RSD Table 32-bit Address: 0x1DFFFBC0
BIOS32 Service Directory present.
        Revision: 0
        Calling Interface Address: 0x000E89F0
PCI Interrupt Routing 1.0 present.
        Router ID: 00:11.0
        Exclusive IRQs: None
        Compatible Router: 1106:3177
        Slot Entry 1: ID 00:10, on-board
        Slot Entry 2: ID 00:11, on-board
        Slot Entry 3: ID 00:12, on-board
        Slot Entry 4: ID 00:0c, on-board
        Slot Entry 5: ID 00:0a, slot number 1
        Slot Entry 6: ID 01:00, on-board
PNP BIOS 1.0 present.
        Event Notification: Polling
        Event Notification Flag Address: 0x000EA01E
        Real Mode 16-bit Code Address: EA00:4097
        Real Mode 16-bit Data Address: EA00:0000
        16-bit Protected Mode Code Address: 0x000EE0A2
        16-bit Protected Mode Data Address: 0x000EA000
        OEM Device Identifier: SST2400
SMBIOS 2.3 present.
        Structure Table Length: 1132 bytes
        Structure Table Address: 0x000EA28C
        Number Of Structures: 28
        Maximum Structure Size: 96 bytes


Code:
dmidecode|grep -i acpi
                ACPI is supported

Thanks

Grant.
 
Well i uninstalled and tried 6.06 and all is fine so i think i'll stick with that untill the new version.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top