Package Details: corefreq-git 1.14-1

Git Clone URL: https://aur.archlinux.org/corefreq-git.git (read-only)
Package Base: corefreq-git
Description: CoreFreq, a processor monitoring software with a kernel module inside.
Upstream URL: http://github.com/cyring/CoreFreq
Licenses: GPL2
Submitter: CyrIng
Maintainer: CyrIng
Last Packager: CyrIng
Votes: 13
Popularity: 0.230083
First Submitted: 2015-09-07 01:04
Last Updated: 2017-12-06 19:25

Latest Comments

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 @ github.com/cyring/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 <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
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/libthread_db.so.1".

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

-CHANGE-
@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.

CyrIng

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)
RDMSR(CStateConfig, MSR_NHM_SNB_PKG_CST_CFG_CTL);
^
/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
RDMSR(CStateConfig, MSR_NHM_SNB_PKG_CST_CFG_CTL);
^
/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)
RDMSR(CStateConfig, MSR_NHM_SNB_PKG_CST_CFG_CTL);
^
/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/Makefile.build:301: /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.

sl1pkn07 commented on 2017-01-29 20:05

DKMS is now controlled by pacman hooks. not need the install file. and the fakeroot is part of the base-devel group

CyrIng commented on 2016-11-07 15:09

Your welcome.

Please Vote if you like my software.

ector commented on 2016-11-07 15:03

thank you,it was enough to restart and everything works.
ector

All comments