Installation Guide

If you have trouble with PHC you can ask and hope for help here.
the-fallen
Administrator
Posts: 346
Joined: Wed 9. Jul 2008, 19:57

Re: Installation Guide

Post by the-fallen » Sun 7. Sep 2008, 18:40

Thats quite better but yes, it's not the lowest one, too.

Maybe you should start from a Live-CD just to see if the temperature is lower then (so you can see if some system setting is not correct or a task is loading the CPU too much...)

you can also try intels "powertop" utility so set up some tweaks to reduce the CPU usage (among other things).

Guys, I think we should start a new thread about "how to lower system usage during idle times" or something,

User avatar
PowerPaul86
Posts: 4
Joined: Tue 18. Nov 2008, 16:10

Re: Installation Guide

Post by PowerPaul86 » Tue 18. Nov 2008, 17:03

Hi there,

i can't get the modded acpi-cpufreq module to work.

Code: Select all

  290  sudo apt-get install linux-source-2.6.27
  291  ll
  292  tar -xjf linux-source-2.6.27.tar.bz2
  293  cd linux-source-2.6.27/
  294  cp ../linux-phc-0.3.2-kernel-vanilla-2.6.26.patch .
  295  patch -p1 < linux-phc-0.3.2-kernel-vanilla-2.6.26.patch
  296  cp /boot/config-$(uname -r) .config
  297  make oldconfig
  298  make prepare
  299  make scripts
  300  make M=./arch/x86/kernel/cpu/cpufreq
  301  ls
  302  cp arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko /lib/modules/2.6.27-7-generic/kernel/arch/x86/kernel/cpu/cpufreq/
  303  lsmod | grep acpi_cpufreq
  304  lsmod | grep centrino
  305  modprobe acpi-cpufreq
  306  insmod acpi-cpufreq
  307  insmod arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko
I compiled without errors, including command 300.
Both commands 303 and 304 returned nothing!

Then i tried to load the modded module an this happened:

Code: Select all

root@ppt:/usr/src/linux-source-2.6.27# modprobe acpi-cpufreq
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.27-7-generic/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): Invalid module format
The same error msg with insmod:

Code: Select all

root@ppt:/usr/src/linux-source-2.6.27# insmod arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko
insmod: error inserting 'arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko': -1 Invalid module format
Any ideas?

Thanks in advance!

nixgmx
Posts: 2
Joined: Wed 12. Nov 2008, 08:57

Re: Installation Guide

Post by nixgmx » Tue 18. Nov 2008, 19:12

Hi PowerPaul86,
i had the same problem. Did you get a message like:

"WARNING: Symbol version dump /usr/src/linux-source-2.6.27/Module.symvers
is missing; modules will have no dependencies and modversions."

during compiling? If so, maybe this will help you:

Code: Select all

cd /usr/src/linux-source-`uname -r`/
cp ../linux-headers-`uname -r`/Module.symvers .
make clean M=./arch/x86/kernel/cpu/cpufreq
make M=./arch/x86/kernel/cpu/cpufreq
After this just copy the compiled module as before and try again with modprobe or insmod.

User avatar
PowerPaul86
Posts: 4
Joined: Tue 18. Nov 2008, 16:10

Re: Installation Guide

Post by PowerPaul86 » Tue 18. Nov 2008, 19:28

Wohoo,

thank you very much, nixgmx!

It worked, finally ;)

Maybe a hint on the first page would be nice :)

the-fallen
Administrator
Posts: 346
Joined: Wed 9. Jul 2008, 19:57

Re: Installation Guide

Post by the-fallen » Wed 19. Nov 2008, 12:19

Thanks. Didn't know that this will help. I'll add this to the first page.

:)

evil
Posts: 27
Joined: Sun 20. Sep 2009, 17:46

Re: Installation Guide

Post by evil » Sat 19. Dec 2009, 01:07

Is it possible to have a dkms compilation also for intel stable? :)

the-fallen
Administrator
Posts: 346
Joined: Wed 9. Jul 2008, 19:57

Re: Installation Guide

Post by the-fallen » Sat 19. Dec 2009, 07:22

It is possible :) Yet it is easier for me to make those offtree-packages but I will keep your wish in mind.

Maybe someone volunteer to maintain intel dkms packages?

evil
Posts: 27
Joined: Sun 20. Sep 2009, 17:46

Re: Installation Guide

Post by evil » Sat 19. Dec 2009, 11:06

i thought it was just a matter of binding module compilation to dkms, so it will be automatic at each kernel update and doesn't require any additional effort (unless the module il not working with the new kernel because functions are changed).
and i thought since it has been done for amd, shouldn't be a big issue to do exactly the same for intel.
i hope you find some collaboration, maybe also to finish intel 0.4 tests :)
i would offer my help, but right now i am pretty busy changing job.

Post Reply