Gentoo Forums
Gentoo Forums
Quick Search: in
[Howto] Power Management for your laptop using ACPI
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lovecraft
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2003
Posts: 86
Location: Massachusetts, USA

PostPosted: Tue Feb 01, 2005 7:26 pm    Post subject: Reply with quote

blmartin777 wrote:
I still haven't been able to resolve my problem
NO: /sys/devices/system/cpu/cpu0/cpufreq/ and I can't create one
Any ideas on what I should do.


Here's what I did:

1) Under Power management options -> CPU Frequency Scaling, set all processor-specific options as modules.
2) make && make install_modules, etc.
3) Look under /lib/modules/<your kernel name>/kernel/arch/i386/arch/cpu/cpufreq for a bunch of modules.
4) Choose one of these modules most relevant to your CPU and modprobe it.

You should now get a bunch of stuff under /sys to play with. Best of luck.
_________________
Never underestimate the power of denial
Back to top
View user's profile Send private message
samsonus
Apprentice
Apprentice


Joined: 18 Jan 2005
Posts: 225
Location: Siegen

PostPosted: Mon Mar 14, 2005 7:50 pm    Post subject: Reply with quote

sorry, but i miss permission for the howto.


bye samsonus
Back to top
View user's profile Send private message
catzooka
Apprentice
Apprentice


Joined: 05 Nov 2002
Posts: 193

PostPosted: Fri Mar 18, 2005 9:44 pm    Post subject: Reply with quote

I also seem to have a problem with a Mobile Pentium 3 (Coppermine) on the Intel 440BX/ZX/DX chipset (on my Sony Vaio z505LSK notebook). Nothing shows up under /sys/devices/system/cpu/cpu0 despite having put in support in my kernel for it. I am running the latest gentoo-dev-sources at 2.6.11-r4. Interstingly enough, despite not getting any errors under dmesg, when I compile the driver support as a module, i get the error:
Code:
meriloon linux # modprobe speedstep-smi
FATAL: Error inserting speedstep_smi (/lib/modules/2.6.11-gentoo-r4/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-smi.ko): No such device

Though I am pretty sure that my processor support cpu scaling, since cat /proc/cpuinfo reveals this:
Code:
meriloon linux # cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 3
cpu MHz         : 744.733
cache size      : 256 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 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips        : 1470.46

Also, dmesg | grep 'CPU' reveals this:
Code:
CPU: Intel Pentium III (Coppermine) stepping 03
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 8 throttling states)

So, what am I doing wrong here? Or am I just out of luck, and my specific CPU isn't supported with the kernel drivers?
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Sat Mar 19, 2005 10:01 pm    Post subject: Reply with quote

Please re-check that your processor does support CPU frequency scaling before doing the following:

Code:
modprobe speedstep-smi smi_port=0xb2 smi_cmd=0x82 smi_sig=1


This overrides the values reported by the BIOS with the default values for controlling SpeedStep: several BIOSes report such faulty values to the kernel, causing CPU frequency scaling not to work properly.
Back to top
View user's profile Send private message
catzooka
Apprentice
Apprentice


Joined: 05 Nov 2002
Posts: 193

PostPosted: Sun Mar 20, 2005 8:11 am    Post subject: Reply with quote

Thanks a bunch, those arguments to the module worked like a charm. Thanks :P
Back to top
View user's profile Send private message
malusnyana
n00b
n00b


Joined: 26 Apr 2005
Posts: 5
Location: Coral Gables, FL / Ann Arbor, MI

PostPosted: Tue Apr 26, 2005 9:03 am    Post subject: p-states Reply with quote

jarealist wrote:

Thanks for the howto. However, I'm having a problem getting the following module to load:

<M> ACPI Processor P-States driver

I get this from modprobe:

modprobe acpi
FATAL: Error inserting acpi (/lib/modules/2.6.4-gentoo-r1/kernel/arch/i386/kernel/cpu/cpufreq/acpi.ko): Device or resource busy

Any suggestions? All the other modules load OK. Here is my /etc/modules.autoload.d/kernel-2.6.


Earthwings wrote:

It's the same for me. I haven't yet figured out what the problem is, but if you did, please post here


Firstly, you are calling the module with an incorrect name i think. P-States module name is "acpi-cpufreq". Try modprobing that and see what you get.

It is my understanding that ACPI P-States are to allow ACPI to set the scaling of the CPU by using BIOS and DSDT interfaces. Using the CPUFreq speedstep driver changes the scaling by directly accessing the southbridge registers to change the frequency. (id be happy to be corrected on this one)

So, why would one use the Enhanced speedstepping at all, since with the ACPI P-states, you still have access to all the same govenors and frequency scaling options? Also, since the 2 modules are mutually exclusive (ie acpi-cpufreq will not load in conjunction with another cpufreq module (in my case speedstep-centrino, but i dont think this is limited to just my case obviously you cant have 2 things battling between changing the frequency, using different means).

Cheers all,
mat
_________________
Engineering: "How will this work?"
Science: "Why will this work?"
Management: "When will this work?"
Liberal Arts: "Do you want fries with that?"
Back to top
View user's profile Send private message
dgrant
Apprentice
Apprentice


Joined: 28 May 2003
Posts: 158
Location: Vancouver, BC, Canada

PostPosted: Thu Aug 04, 2005 12:42 am    Post subject: Reply with quote

I'm also having a problem with Mobile Pentium 3 (Coppermine) on the Intel 440BX/ZX/DX chipset.

I've compiled all the acpi and cpufreq stuff as modules. I can't even load the speedstep-smi module, it reports an error, i.e. "can't insert module" or something like that.

This particular chipset is a real bitch.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum