Package Base Details: corefreq-git

Git Clone URL: (read-only, click to copy)
Submitter: CyrIng
Maintainer: artafinde
Last Packager: artafinde
Votes: 31
Popularity: 0.019758
First Submitted: 2015-09-07 01:04
Last Updated: 2021-11-02 16:29

Pinned Comments

artafinde commented on 2021-04-07 20:17

Package now split to 3 - client, server, kernel module. This package follows develop branch so if you want the latest released check corefreq-dkms. Please report any issues!

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

CyrIng commented on 2018-06-29 20:41

@timschumi Function added. Basic makepkg tests are OK

-- EDIT: according to the PKGBUILD wiki, we still need to maintain pkgver even if a pkgver() function exists

CyrIng commented on 2018-03-26 08:44

@mani.zaeim: please install the Linux Kernel headers files.

See DKMS []

mani.zaeim commented on 2018-03-26 04:58

make -C /lib/modules/4.15.10-1-ARCH/build M=/tmp//aur-corefreq-git/src/CoreFreq modules make[1]: Entering directory '/tmp//aur-corefreq-git/src/CoreFreq' make[1]: /lib/modules/4.15.10-1-ARCH/build: No such file or directory. Stop. make[1]: Leaving directory '/tmp//aur-corefreq-git/src/CoreFreq' make: [Makefile:11: all] Error 2 make: Leaving directory '/tmp//aur-corefreq-git/src/CoreFreq' ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build corefreq-git.

stardiviner commented on 2017-06-06 01:59

@CyrIng, I see, problem solved.

CyrIng commented on 2017-05-27 14:13

stardiviner : You have to disable the NMI Watchdog. See the CoreFreq prerequisites @

stardiviner commented on 2017-05-27 04:59

Updated, the previous bug is fixed now. Thanks.
I have segment fault when I run `corefreq-cli`.
I run `modprobe corefreqk` and `corefreqd` with `sudo`. Then run `corefreq-cli` get segment fault. I debug it with `gdb`.
Here is the output:
gdb corefreq-cli 139 ↵
GNU gdb (GDB) 7.12.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from corefreq-cli...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/corefreq-cli
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/".

Program received signal SIGSEGV, Segmentation fault.
0x000000000041ab23 in ?? ()
(gdb) q
A debugging session is active.

Inferior 1 [process 21088] will be killed.

Quit anyway? (y or n) y

CyrIng commented on 2017-05-21 11:14

@stardiviner: Issue with kernel version 4.11 is solved.
A CoreFreq commit has been pushed into the GitHub repository to fix a register renaming MSR_NHM_SNB_PKG_CST_CFG_CTL with MSR_PKG_CST_CONFIG_CONTROL; and to include the header file "linux/sched/signal.h"

Just install corefreq-git again to get fix.


stardiviner commented on 2017-05-21 09:46

I got the following error:
DKMS make.log for corefreq-git-1.10 for kernel 4.11.2-1-hardened (x86_64)
Sun May 21 17:33:24 CST 2017
make: Entering directory '/usr/lib/modules/4.11.2-1-hardened/build'
LD /var/lib/dkms/corefreq-git/1.10/build/built-in.o
CC [M] /var/lib/dkms/corefreq-git/1.10/build/corefreqk.o
In file included from /var/lib/dkms/corefreq-git/1.10/build/corefreqk.c:27:0:
/var/lib/dkms/corefreq-git/1.10/build/corefreqk.c: In function ‘PerCore_Nehalem_Query’:
/var/lib/dkms/corefreq-git/1.10/build/corefreqk.c:1931:23: error: ‘MSR_NHM_SNB_PKG_CST_CFG_CTL’ undeclared (first use in this function)
/var/lib/dkms/corefreq-git/1.10/build/corefreqk.h:48:10: note: in definition of macro ‘RDMSR’
: "c" (_reg) \
/var/lib/dkms/corefreq-git/1.10/build/corefreqk.c:1931:23: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/corefreq-git/1.10/build/corefreqk.h:48:10: note: in definition of macro ‘RDMSR’
: "c" (_reg) \
/var/lib/dkms/corefreq-git/1.10/build/corefreqk.c: In function ‘PerCore_SandyBridge_Query’:
/var/lib/dkms/corefreq-git/1.10/build/corefreqk.c:1952:23: error: ‘MSR_NHM_SNB_PKG_CST_CFG_CTL’ undeclared (first use in this function)
/var/lib/dkms/corefreq-git/1.10/build/corefreqk.h:48:10: note: in definition of macro ‘RDMSR’
: "c" (_reg) \
/var/lib/dkms/corefreq-git/1.10/build/corefreqk.c: In function ‘Sys_DumpTask’:
/var/lib/dkms/corefreq-git/1.10/build/corefreqk.c:2826:2: error: implicit declaration of function ‘for_each_process_thread’ [-Werror=implicit-function-declaration]
for_each_process_thread(process, thread) {
/var/lib/dkms/corefreq-git/1.10/build/corefreqk.c:2826:43: error: expected ‘;’ before ‘{’ token
for_each_process_thread(process, thread) {
cc1: some warnings being treated as errors
make[1]: *** [scripts/ /var/lib/dkms/corefreq-git/1.10/build/corefreqk.o] Error 1
make: *** [Makefile:1492: _module_/var/lib/dkms/corefreq-git/1.10/build] Error 2
make: Leaving directory '/usr/lib/modules/4.11.2-1-hardened/build'

adlerweb commented on 2017-04-30 08:58

If you're running into random segfaults you have to disable the nmi-watchdog using 'echo 0 > /proc/sys/kernel/nmi_watchdog'.

CyrIng commented on 2017-02-10 19:14

@ryant0000 thanks for your returns.
struct task_struct’ has no member named ‘se’ means that the kernel scheduler structures are not defined in the task_struct.
I believe that your kernel configuration is not the Arch core package: do you confirm ?
If true, your .config has to define the prerequisited structure or you can build CoreFreq against the core kernel.