Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read_msr():pread: Input/output error #2

Open
hanm2019 opened this issue Jul 6, 2021 · 4 comments
Open

read_msr():pread: Input/output error #2

hanm2019 opened this issue Jul 6, 2021 · 4 comments

Comments

@hanm2019
Copy link

hanm2019 commented Jul 6, 2021

I run the ./AppPowerMeter sleep 5 return read_msr():pread: Input/output error

the /dev/cpu/0 is :

xitongzu@xitongzu:/dev/cpu/0$ ll
total 0
drwxr-xr-x  2 root root     60 7月   6 22:46 ./
drwxr-xr-x 34 root root    700 7月   6 22:46 ../
crw----rw-  1 root root 202, 0 7月   6 22:46 msr

@ivanfv
Copy link

ivanfv commented Aug 6, 2021

Hi,

Not sure if this helps, but I found the same issue when using an old CPU (Intel Core2 Q9400) but the tool works properly with a newer one (e.g., Intel i7-8700).

Ivan

@gudiandian
Copy link

I am have the same problem. I am using Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz CPU. Have you solved the problem?

@hanm2019
Copy link
Author

I am have the same problem. I am using Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz CPU. Have you solved the problem?

Unfortunately, I do not solved this problem :(

@ehgus607
Copy link

I am have the same problem. I am using Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz CPU. Have you solved the problem?

Unfortunately, I do not solved this problem :(

I also had the same issue. As a result of debugging, this error occurred when trying to access a domain not supported by the Xeon CPU. In my case, I solved it by setting the pp1_supported variable to 0. Modify the provided code to measure only the domains you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants