Laptops :: How to install CPU Freq Driver



Ah sorry, I didn't read carefully about WDef's post and your 2nd last post...

The .config implies is that CPU_FREQ capability compiled into the kernel, so you shouldn't require to externally load the modules at all.  Try a
Code Sample
lsmod|grep cpufreq
and see if its actually already there perhaps...

I tried your suggestion "lsmod|grep cpufreq", but it doesn't give anything...

lsmod does not show a cpufreq module loaded - in addition, "apt-get install cpufreqd" gives an error stating that a suitable cpufreq driver is not loaded.

Maybe the issue is that, since I am running DSL from a USB stick, I have not rebooted after running the cpufreq patch and recompiling the kernel since the modifications would be lost.

How would I go about "re-packing" the modified kernel into a modified KNOPPIX file? I can't see how to do this from the 60-page re-mastering post...

1. lsmod shows loadable modules that are loaded.

cpufreq has not been compiled as a module, you have compiled it *into* the kernel ( the "=y" in the config file).  Therefore lsmod will not show it. It's not a loadable module, it's part of the kernel.

If I look in the same cpufreq dir you have been looking at in FC4, I won't find a module there either, for the same reason. But I'm running powernowd, which uses cpufreq.

2. Great work by the way getting this far :=)

BTW, check that 'make mrproper' - it will delete your config file, meaning you may have not compiled a dsl-configured kernel (which doesn't mean it might not run anyway, but it might not take the long line boot params and it might do other things differently).   I don't think you need do make mrproper if compiling from fresh sources.

Also, I think patches are supposed to be applied *after* you run make oldconfig, else 'make oldconfig' could erase any changes the patches might have made to the .config file (if they do).

3. Instead of remastering it might be easier to find a small free partition and do a traditional hard drive install of dsl. You might fry less cds.

Hope these ideas are helpful.

1. Yea, my suggestion was a check that nothing should be there - guess I wasn't clear about that.
2. Deleting the config file sounds bad :P
3. I agree you don't need to remaster at this point. Though he could and just use a cdrw or manual frugals (to save cds),  it will probably take more time.  I suppose you could do a traditional hd install, but I think when I did something like this, I just changed my bootloader to use external kernel before loading the dsl frugal image.

4? Perhaps the one in the current kernel source is _older_ than the cpufreqd you are trying to use, and therefore incompatible. (Maybe use an older cpufreqd, or update the kernel's embedded one, or change the config to load them as modules - swap kernels - and then you could have an easier time testing the different modules & program versions)

Thanks for the tips.

Ref 1 - I'm sure you're right about the loadable modules being part of the kernel bit I'm still kind of suprised that built-in.o, cpufreq.o, userspace.o, freq_table.o & proc_intf.o are all created if this is the case.

Ref 2 - I'll try again without using "make mrproper" - I don't think the patch should be applied after "make oldconfig" since this asks questions relevent to the patch.

Ref 3 - Using a HD install isn't an option but at least I'm not frying CDs as this is a USB install. What I haven't figured out is what files/directories to copy across to the "un-packed" KNOPPIX directory tree in order to "re-pack" it and boot with the recompiled kernel.

Next Page...
original here.