Juanito
Group: Members
Posts: 1601
Joined: Sep. 2005 |
|
Posted: Sep. 08 2006,11:07 |
|
Thanks for the hint - after checking what I'd done previously, I discovered I had missed out "make bzImage"
After applying the patch, I did:
root@box:/usr/src/linux# make mrproper root@box:/usr/src/linux# make oldconfig root@box:/usr/src/linux# make dep root@box:/usr/src/linux# make bzImage
which created built-in.o, cpufreq.o, userspace.o, freq_table.o & proc_intf.o in /usr/src/cpufreq/linux/drivers/cpufreq
root@box:/usr/src/linux# make modules
which reported "Nothing to be done for `modules'" in /usr/src/cpufreq/linux/drivers/cpufreq
root@box:/usr/src/linux# make modules_install
which reported "Nothing to be done for `modules_install'" in /usr/src/cpufreq/linux/drivers/cpufreq and "depmod: Can't open /lib/modules/2.4.26/modules.dep for writing"
Then I did:
root@box:~# insmod --force /usr/src/cpufreq/linux/drivers/cpufreq/cpufreq.o
which gave the error "/usr/src/cpufreq/linux/drivers/cpufreq/cpufreq.o: couldn't find the kernel version the module was compiled for"
Does anybody have any idea what the problem is?
If I can somehow enable modules.dep for writing prior to "make modules_install" this might solve the problem but what file permissions would be required?
I could also perhaps edit modules.dep manually but no doubt built-in.o, cpufreq.o, userspace.o, freq_table.o & proc_intf.o are inter-dependent on each other...
|