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

Operation not permitted #17

Closed
gary094 opened this issue Feb 27, 2019 · 6 comments
Closed

Operation not permitted #17

gary094 opened this issue Feb 27, 2019 · 6 comments

Comments

@gary094
Copy link

gary094 commented Feb 27, 2019

Hello there,

Installing went fine, issue is that I can't issue these commands:
sudo intel-undervolt read or sudo intel-undervolt apply

They both give me this as response:

CPU (0): Operation not permitted
GPU (1): Operation not permitted
CPU Cache (2): Operation not permitted
System Agent (3): Operation not permitted
Analog I/O (4): Operation not permitted

Altough sudo intel-undervolt measure is just fine.
Secureboot is disabled.
CPU: i7-4710HQ

@precla
Copy link

precla commented Feb 27, 2019

Hi, what distro and kernel version are you using?

Is Intel secure boot disabled - if enabled, disable it.
Check if msr-tools is installed (not sure if you need this, but I'm atm not at my notebook to check if I have installed it).
Run lsmod | grep msr to see if it's enabled.
To enable or temporarily run modprobe msr.

@gary094
Copy link
Author

gary094 commented Feb 27, 2019

I am running Linux Mint 19.1 Kernel 4.15.0-45-generic x86_64

lsmod | grep msr
msr 16384 0

modprobe msr
does not give me any output.

Just checked again, Secureboot is disabled. I have a slight suspicion that this issue might be somewhat related.

Throttlestop was working perfectly fine on Windows 10 if that helps.

Thanks for your help!

@precla
Copy link

precla commented Mar 1, 2019

Hm, I get the same output for lsmod | grep msr...
I'm not that good for that low level stuff so i can't help you more.
Only thing that i can suggest is to recompile the msr module as the it was mentioned in that issue:
https://github.com/intel/intel-cmt-cat/wiki/UEFI-Secure-Boot-Compatibility

@kitsunyan
Copy link
Owner

measure doesn't use MSR to measure power consumption, CPU speed, and sensors, so it isn't surprising it works. It should work even without root privileges.

However, I have no idea why it doesn't work for you even when secure boot is disabled. The issue you linked is about enabled secure boot, which is not your case.

It's interesting that it worked on Windows. Just out of curiosity, can you run wrmsr 0x150 0x80000011ffe00000?

@makarov-roman
Copy link

disabling secure boot works for me
check if secure boot is enabled by

mokutil --sb-state

@gary094
Copy link
Author

gary094 commented May 7, 2019

Okay I triple checked and SecureBoot still is disabled BUT I had to delete some SecureBoot Variables in BIOS and now mokutil says:

SecureBoot disabled Platform is in Setup Mode

Should be fine now I guess.

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