Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (15) </ 1 2 3 4 [5] 6 7 8 9 10 ... >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to install CPU Freq Driver, Use cpufreqd with acpid and ACPI< Next Oldest | Next Newest >
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 08 2006,13:27 QUOTE

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...
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 08 2006,14:12 QUOTE

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...
Back to top
Profile PM 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: Sep. 08 2006,14:52 QUOTE

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.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 08 2006,15:19 QUOTE

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)
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 08 2006,17:12 QUOTE

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.
Back to top
Profile PM 
74 replies since July 29 2006,19:25 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (15) </ 1 2 3 4 [5] 6 7 8 9 10 ... >/
reply to topic new topic new poll
Quick Reply: How to install CPU Freq Driver

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code