Open undeadindustries opened 6 years ago
--c6-disable
Start script and it is disabled. Else your BIOS may have an option for this. But make sure to check with zenstates once since my old BIOS version didn't do anything despite it was disabled
I threw together a systemd unit to disable it upon startup using the zenstates.py
script.
Nice. Anyone know if threadripper 2 still has these issues in kernel 4.19 or 4.20?
if you mean by "still has these issues" the random freezes on idle and cpu hard lockups then yes, I pulled the 4.20 kernel from experimental on debian stable and this still happens, I also tried running this script while global C states is enabled and it doesn't work. I had to manually disable all C states (I know, not a great idea) for it to stop freezing, although I just had 25 hours of uptime up until now, we'll say if it passes the 50 hours threshold.
This script looks promising, but I get the same error and 'setcap' does not work for me. Any ideas?
@jfredrickson Awesome!
git clone https://github.com/jfredrickson/disable-c6.git
cd disable-c6
git submodule init
git submodule update
sudo ./install.sh
Then add msr
to /etc/modules
like so:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
msr
I've started some work for building a .deb that installs the systemd files. I've based it on some other work but for which I could not find how to rebuild the package with the latest version. See : https://github.com/dkm/ZenStates-Linux/releases I will eventually send a pull request when everything is clean.
Is there a way to disable C6 permanently?
I'm in Ubuntu 18.04.1
Thanks!