Laptops :: How to install CPU Freq Driver



1.  Well you probably already noticed that the selections in menuconfig are just the descriptions, not the actual tags - did you check all the selections? (But since you got #2 to work.. this shouldn't matter now)
Hope 2. works...

I've made two tries at compiling cpufreq into a new kernel:

1. Compiling speedstep-centrino as a module - after rebooting the new kernel image, I cannot load the module and get the following error (this module loads fine on the same system with DSL-N):

# insmod speedstep-centrino
Using /lib/modules/2.4.26/kernel/arch/i386/kernel/speedstep-centrino.o
/lib/modules/2.4.26/kernel/arch/i386/kernel/speedstep-centrino.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
     You may find more information in syslog or the output from dmesg
# dmesg
...
speedstep-centrino: found unsupported CPU with Enhanced SpeedStep

2. Compiling speedstep-centrino into the kernel - after rebooting I can apt-get install the cpufreqd daemon (which checks if a cpufreq driver is present) but cpufrequtils complains that a suitable cpu is not present.

I noticed that the 2.6.12 DSL-N config has CONFIG_MPENTIUM4=y whereas the 2.4.26 DSL config has CONFIG_M386=y. When I try to compile DSL/2.4.26 with CONFIG_MPENTIUM4=y the new kernel image will not boot fully and drops me to a very limited shell - does anyone know why this should be?

edited out double-entry
First off, congrats on getting this far.  You have successfully compiled a new kernel and added new modules for a fully remastered image of DSL! (though not how you might exactly like it to work :p)

Quote
speedstep-centrino: found unsupported CPU with Enhanced SpeedStep
I believe that would not be a kernel config problem, but the cpufreq module's (older versions?).  And specifying CONFIG_MPENTIUM4=y are just optimizations for that arch.  (Some possible reasons why you couldnt boot this: knoppix patch was meant for 386, all other modules might have to be changed, etc. - but not too sure about these)

Quote
(this module loads fine on the same system with DSL-N):
I assume you mean the one included in DSL-N ?  If so, what version is it?

That's an interesting point about the knoppix patch - the one that comes with 4.0.2 (i.e. DSL-N) gives errors when applied to the 2.6.12 kernel sources. I don't like the sound of maybe having to change all of the modules in 2.4.26...

You're correct, I meant the version of the speedstep-centrino module that comes with DSL-N - cpufreq is included in the 2.6.12 kernel.

Next Page...
original here.