Well you don't really need to recompile the module a simple binary hack could solve the problem. The basic idea is that 10000001 is 00989681 in hex and stored in p4-clockmod.ko as 81969800 a "simple" search for it and replace it with 80969800. So I did the following hack (far from being optimal):
1. cp /lib/modules/2.6.32-24-generic/kernel/arch/x86/kernel/cpu/cpufreq/p4-clockmod.ko p4-clockmod.ko.orig 2. xxd p4-clockmod.ko.orig p4-clockmod.ko.hex 3. vim p4-clockmod.ko.hex (search for 81 and check that it is followed by 96 98 00 in hexdump) 4. Replace the right 81 to 80 5. xdd -r p4-clockmod.ko.hex p4-clockmod.ko 6. sudo cp p4-clockmod.ko /lib/modules/2.6.32-24-generic/kernel/arch/x86/kernel/cpu/cpufreq/p4-clockmod.ko 7. sudo reboot -- cannot change governor from command line https://bugs.launchpad.net/bugs/432706 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs