phc-intel-pack-rev9.1 with Gentoo kernel 3.9.2

If you have trouble with PHC you can ask and hope for help here.
Post Reply
PaddyMac
Posts: 1
Joined: Fri 17. May 2013, 03:06

phc-intel-pack-rev9.1 with Gentoo kernel 3.9.2

Post by PaddyMac » Fri 17. May 2013, 03:19

I installed PHC-Intel 0.3.2.12.1-r5 through Gentoo's portage. The module loaded fine, and I got the various devices, but changing the VID values seemed to have absolutely no effect. So I decided to try the newer rev 9.1 PHC-Intel also available on this site. I compiled the program, and I got the same results with both "make brave" and "make canny". When I ran "insmod phc-intel.ko", I got the message "insmod: ERROR: could not insert module phc-intel.ko: Unknown symbol in module". The output of dmesg showed "phc_intel: Unknown symbol cpufreq_get_measured_perf (err 0)".

I am using the Gentoo patched 3.9.2 kernel with the latest CK and BFQ patches applied. I used gcc 4.8.0, binutils 2.23.1, and glibc 2.17. I'm using a Dell Latitude D620 laptop. This is the output of "cat /proc/cpuinfo":

Code: Select all

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz
stepping        : 2
microcode       : 0x57
cpu MHz         : 1000.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm tpr_shadow
bogomips        : 3325.03
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz
stepping        : 2
microcode       : 0x57
cpu MHz         : 1000.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm tpr_shadow
bogomips        : 3325.03
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

lio
Posts: 87
Joined: Wed 2. Mar 2011, 18:37

Re: phc-intel-pack-rev9.1 with Gentoo kernel 3.9.2

Post by lio » Sun 19. May 2013, 19:56

PaddyMac wrote:I installed PHC-Intel 0.3.2.12.1-r5 through Gentoo's portage. The module loaded fine, and I got the various devices, but changing the VID values seemed to have absolutely no effect.
How to you know it has no effect? Whats in your /sys/devices/system/cpu/cpu*/cpureq/phc_vids and phc_default_controls? Does your system crash when you undervolt too much (especially for the highest core frequency)?
So I decided to try the newer rev 9.1 PHC-Intel also available on this site
There is no big difference in rev9.1 over any other 0.3.2-version. It's only minor tweaks to get the stuff compiled for newer kernel versions but no functional enhancements. So if the version from Gentoo does compile and it is not working, revX probably won't do any better.
"phc_intel: Unknown symbol cpufreq_get_measured_perf (err 0)"
Have a look at the version of acpi-cpufreq-c in gentoo and compare it to the version shipped with phc-intel-rev9.1. Do they differ? rev9.1 shipps with vanilla sources and assumes that mperf is available built in or as module.

Post Reply