Open brnorris03 opened 8 years ago
Sorry to hear you are having problems with this. We're trying to replicate this problem on our systems and should then be able to fix.
Sadly, I'm unable to replicate this problem. I do find issues if the kernel binary is on an NFS mount, but this would cause setcap to fail. Are you able to run kernel via sudo successfully?
There are no NFS mounts on this machine, so I don't think that's the problem. I did try with sudo as well. Is there a good way to try seeing where it's hanging? Run in debugger?
You should be able to pick through it with a debugger. I would perhaps start with the sample application from the lib repository as it's simpler. If debugging is a problem, I can produce a version with copious printfs to help narrow it down.
I am not able to get RAPL measurements with adept-rapl-lib and adept-kernel-example. I did change permissions to /dev/cpu/*/msr and ran "sudo setcap cap_sys_rawio=ep kernel", but when I execute ./kernel in adept-kernel-example, it seems to hang. This is happening on an Intel Haswell (CPU E5-2699 v3):
uname -a Linux arya 4.2.0-21-generic #25-Ubuntu SMP Wed Dec 2 18:42:25 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux