Gwinel / likwid

Automatically exported from code.google.com/p/likwid
GNU General Public License v3.0
0 stars 0 forks source link

cannot access msr device as normal user #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install likwid-3.0 on Ubuntu 3.2.0
2. enable to access to msr device as mentioned in the INSTALL document 
3. attempt to run likwid-powermeter -i as a normal user 

What is the expected output? What do you see instead?

Expected out is Turbo boost and Peak power information of target processor. 
What I see is instead is the following

rdmsr: failed to open '/dev/cpu/0/msr': Operation not permitted!
       Please check if the msr module is loaded and the device file has correct permissions.
       Alternatively you might want to look into (sys)daemonmode.

What version of the product are you using?

version 3.0

Please provide any additional information below.

I have set the permissions for the dev to be readable and writable by everyone. 
I can run all of the commands just fine using sudo. 

Original issue reported on code.google.com by apanqa...@gmail.com on 17 Jul 2013 at 9:07

GoogleCodeExporter commented 9 years ago
never mind. Saw the news update about kernel security on the wiki homepage. 
That fixed the problem

Original comment by apanqa...@gmail.com on 17 Jul 2013 at 10:57

GoogleCodeExporter commented 9 years ago

Original comment by jan.trei...@gmail.com on 26 Dec 2013 at 9:09