New versions not working on pentium-M Sonoma CPU ?

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
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: New versions not working on pentium-M Sonoma CPU ?

Post by the-fallen » Mon 18. May 2009, 07:08

Under the section "test releases" in the download-forum there is an "old-style" - patch for 2.6.27 (based on linux-phc-0.2.x). Maybe it also work with 2.6.28 or you may try to adapt the patch for 2.6.28 or you use the kernel 2.6.28 but replace the speedstep-centrino module with the one from 2.6.27 and patch it and compile it then in the 2.6.28 tree.

I am sorry that you have so much trouble. Those Pentium-M CPUs made trouble to many users.

guvodepa
Posts: 1
Joined: Wed 1. Jul 2009, 20:42
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: New versions not working on pentium-M Sonoma CPU ?

Post by guvodepa » Wed 1. Jul 2009, 21:35

Hi,
i have some problem, help me!!!! :roll:
i have the Pentium-M 780(2270MHz) and i use ubuntu 9.04 kernel 2.6.30
then, I apply patch and to the verification an error:

Code: Select all

linux-2.6.30# patch -p1 < linux-phc-0.2.10-kernel-vanilla-2.6.27-adopted.patch 
patching file arch/x86/kernel/cpu/cpufreq/Kconfig
Hunk #1 succeeded at 98 (offset -15 lines).
Hunk #2 succeeded at 108 (offset -15 lines).
patching file arch/x86/kernel/cpu/cpufreq/Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file arch/x86/kernel/cpu/cpufreq/Makefile.rej
patching file arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c
Hunk #3 succeeded at 75 (offset -2 lines).
Hunk #4 succeeded at 87 (offset -2 lines).
Hunk #5 succeeded at 137 (offset -2 lines).
Hunk #6 FAILED at 209.
Hunk #7 FAILED at 460.
Hunk #8 succeeded at 437 (offset -93 lines).
Hunk #9 succeeded at 478 (offset -93 lines).
Hunk #10 succeeded at 542 (offset -93 lines).
Hunk #11 succeeded at 1212 (offset -93 lines).
Hunk #12 succeeded at 1242 (offset -93 lines).
Hunk #13 succeeded at 1287 (offset -93 lines).
Hunk #14 succeeded at 1341 with fuzz 1 (offset -99 lines).
Hunk #15 succeeded at 1472 (offset -99 lines).
Hunk #16 succeeded at 1509 (offset -99 lines).
2 out of 16 hunks FAILED -- saving rejects to file arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c.rej
after, I configure the kernel and I compile, but:

Code: Select all

  CC      arch/x86/kernel/cpu/transmeta.o
  CC      arch/x86/kernel/cpu/umc.o
  CC      arch/x86/kernel/cpu/cpufreq/powernow-k8.o
  CC      arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.o
  CC      arch/x86/kernel/cpu/cpufreq/powernow-k6.o
  CC      arch/x86/kernel/cpu/cpufreq/powernow-k7.o
  CC      arch/x86/kernel/cpu/cpufreq/longhaul.o
  CC      arch/x86/kernel/cpu/cpufreq/longrun.o
  CC      arch/x86/kernel/cpu/cpufreq/gx-suspmod.o
  CC      arch/x86/kernel/cpu/cpufreq/speedstep-ich.o
  CC      arch/x86/kernel/cpu/cpufreq/speedstep-lib.o
  CC      arch/x86/kernel/cpu/cpufreq/speedstep-smi.o
  CC      arch/x86/kernel/cpu/cpufreq/speedstep-centrino.o
arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c: In function ‘centrino_cpu_early_init_acpi’:
arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c:400: warning: passing argument 1 of ‘acpi_processor_preregister_performance’ from incompatible pointer type
arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c: At top level:
arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c:421: warning: initialization from incompatible pointer type
arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c: In function ‘centrino_cpu_init_acpi’:
arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c:462: error: incompatible types in assignment
arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c:467: warning: passing argument 1 of ‘__cpus_weight’ from incompatible pointer type
arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c:90:1: error: unterminated #ifdef
make[4]: *** [arch/x86/kernel/cpu/cpufreq/speedstep-centrino.o] Errore 1
make[3]: *** [arch/x86/kernel/cpu/cpufreq] Errore 2
make[2]: *** [arch/x86/kernel/cpu] Errore 2
make[1]: *** [arch/x86/kernel] Errore 2
make[1]: uscita dalla directory «/home/guvo/Scrivania/linux/linux-2.6.30»
make: *** [debian/stamp/build/kernel] Errore 2
Command exited with non-zero status 2
53.52user 13.00system 1:59.55elapsed 55%CPU (0avgtext+0avgdata 0maxresident)k
4880inputs+57616outputs (45major+3257351minor)pagefaults 0swaps
how I resolve the problem?


p.s. my English is not good! they are Italian: D

the-fallen
Administrator
Posts: 346
Joined: Wed 9. Jul 2008, 19:57
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: New versions not working on pentium-M Sonoma CPU ?

Post by the-fallen » Thu 2. Jul 2009, 15:47

Hi,

the patch you used is not matching the kernel version you want to patch.

The patch for speedstep-centrino you used was for kernel 2.6.27.
Currently we do not have a speedstep-centrino patch for 2.6.30.

You can try to use the acpi-cpufreq patches. For many people with an Pentium-M CPU they work, for others they do not.
If they do not work (you will get the message "no such device" if you read from the phc-files) someone need to adapt the speedstep-centrino patch für more recent kernels.

At the moment I do not have enough time to do it myself. I hope you can get it to work somehow, if not, please report back so maybe we can find another solution.

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable