r4m0n / ZenStates-Linux

Dynamically edit AMD Ryzen processor P-States
MIT License
521 stars 66 forks source link

zenstates.py msr module not loaded #17

Closed ifrguy closed 3 years ago

ifrguy commented 3 years ago

Running zenstates.py generates the following trace back no matter what option selected:

meg@amon:ZenStates-Linux-master> ./zenstates.py --c6-disable Traceback (most recent call last): File "./zenstates.py", line 112, in writemsr(0xC0010292, readmsr(0xC0010292) & ~(1 << 32)) File "./zenstates.py", line 33, in readmsr raise OSError("msr module not loaded (run modprobe msr)") OSError: msr module not loaded (run modprobe msr)

Module msr is most certainly loaded:

lsmod|grep msr msr 16384 0

Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic

Kernel version: 4.15.0-153 Python version: 3.6.9

Processor info:

processor : 0 vendor_id : AuthenticAMD cpu family : 23 model : 1 model name : AMD Ryzen 5 1600 Six-Core Processor stepping : 1 microcode : 0x8001126 cpu MHz : 1374.637

ifrguy commented 3 years ago

Please ignore previous report. Seems to be working now. My bad. I'll see if this helps with the random frequent lock-ups.