intel / S0ixSelftestTool

S0ix Selftest Tool is designed to do the initial debugging for the S2idle path CPU Package C-state and S0ix failures in Linux OS for Intel® Client platforms, it also supports the basic runtime PC10 status check.
GNU General Public License v2.0
135 stars 18 forks source link

Problems running pmc_core debugging #3

Closed kowalej closed 3 years ago

kowalej commented 3 years ago

When first running the tool, I encountered errors running the s0ix-selftest-tool.sh script relating to line 1446: echo $i >$PMC_CORE_SYSFS_PATH/ltr_ignore 2>&1

this resolved on my system to writes to /sys/kernel/debug/pmc_core/ltr_ignore I was receiving "Operation not permitted", whether running as root or otherwise.

After some digging around, I found that I needed to disable secure boot in my BIOS settings to get this working.

Perhaps a warning could be added to the script itself or the common issues section in the README.

qwang59 commented 3 years ago

Thanks for trying the script, I will add in the README, in my test environment, I've never enable the secure boot options in BIOS, so I did not notice this issue, thanks for point me it!