Code: Select all
WARNING: "cpufreq_get_measured_perf" [/usr/src/patches-kernel/phc-k8_v0.4.5b1/phc-k8.ko] undefined!
Code: Select all
WARNING: "cpufreq_get_measured_perf" [/usr/src/patches-kernel/phc-k8_v0.4.5b1/phc-k8.ko] undefined!
I'm sorry it took so long, but have you also tried without building mperf in phc-k8? Maybe that'll help? I'll try to look into it, however I'm really busy at the moment, so I'm not sure when I'll get the chance... I'm planning to remove mperf from phc-k8, since mperf has been in the kernel for a very long time now and I don't think I have to support that much older kernels any longer.ryszardzonk wrote:After compiling kernel 3.8.2 I have just tried your fix by adding it to the phc-k8.c. It compiled fine, but it returned a warningPlease take a look if there is something else that would need fixing or I applied it in the wrong placeCode: Select all
WARNING: "cpufreq_get_measured_perf" [/usr/src/patches-kernel/phc-k8_v0.4.5b1/phc-k8.ko] undefined!
I have tried to incorporate the latest changes to 3.10 and I just uploaded a v0.4.5b2 version driver that should hopefully work. Unfortunately I am unable to test it at the moment, but the changes since 3.7 are small enough to work...ryszardzonk wrote:DavidG have you been able to spare some time around PHC patch? 3.10 looks like is just around the corner
Code: Select all
make -C /usr/src/linux SUBDIRS=/usr/src/gentoo/phc/phc-k8_v0.4.5 phc-k8.ko
make[1]: Wejście do katalogu '/usr/src/linux-3.15.6'
CC [M] /usr/src/gentoo/phc/phc-k8_v0.4.5/phc-k8.o
/usr/src/gentoo/phc/phc-k8_v0.4.5/phc-k8.c: In function ‘transition_frequency_fidvid’:
/usr/src/gentoo/phc/phc-k8_v0.4.5/phc-k8.c:1514:2: error: implicit declaration of function ‘cpufreq_notify_transition’ [-Werror=implicit-function-declaration]
cpufreq_notify_transition(policy, &freqs, CPUFREQ_PRECHANGE);
^
/usr/src/gentoo/phc/phc-k8_v0.4.5/phc-k8.c: In function ‘powernowk8_cpu_exit’:
/usr/src/gentoo/phc/phc-k8_v0.4.5/phc-k8.c:1851:2: error: implicit declaration of function ‘cpufreq_frequency_table_put_attr’ [-Werror=implicit-function-declaration]
cpufreq_frequency_table_put_attr(pol->cpu);
^
/usr/src/gentoo/phc/phc-k8_v0.4.5/phc-k8.c: In function ‘store_phc_controls’:
/usr/src/gentoo/phc/phc-k8_v0.4.5/phc-k8.c:2086:2: error: implicit declaration of function ‘cpufreq_frequency_table_get_attr’ [-Werror=implicit-function-declaration]
cpufreq_frequency_table_get_attr(data->powernow_table, pol->cpu);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:324: polecenia dla obiektu '/usr/src/gentoo/phc/phc-k8_v0.4.5/phc-k8.o' nie powiodły się
make[2]: *** [/usr/src/gentoo/phc/phc-k8_v0.4.5/phc-k8.o] Error 1
Makefile:1476: polecenia dla obiektu 'phc-k8.ko' nie powiodły się
make[1]: *** [phc-k8.ko] Error 2
make[1]: Leaving directory '/usr/src/linux-3.15.6'
Makefile:42: polecenia dla obiektu 'phc-k8.ko' nie powiodły się
make: *** [phc-k8.ko] Error 2