Since upgrading to Ubuntu 16.04, I have not been able to get wrmsr working on any address:
$ sudo rdmsr 0x1a4
0
$ sudo wrmsr 0x1a4 0
wrmsr: pwrite: Operation not permitted
There was a similar question in this site but the accepted answer provides a workaround only for Turbo Boost:
Can't disable turbo boost since Ubuntu 16.04
Any Ideas? Is this somehow related to capabilities?
I found a workaround by upgrading my kernel from the default (4.4.0-24-generic):
$ sudo rdmsr 0x1a4
rdmsr: open: No such file or directory
$ sudo modprobe msr
$ sudo rdmsr 0x1a4
0
$ sudo wrmsr 0x1a4 0
$ uname -r
4.6.0-040600-generic
I also confirmed it on 4.6.2:
$ uname -r
4.6.2-040602-generic
I later reproduced it again on 4.4.0-24-generic.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments