Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ziplex/b1df72d8e37009f7fe6e6a287bfc4abe to your computer and use it in GitHub Desktop.
Save ziplex/b1df72d8e37009f7fe6e6a287bfc4abe to your computer and use it in GitHub Desktop.
fixing ubuntu system lockups with Ryzen CPU's
# open the boot parameters file for the linux kernal
sudo nano /etc/default/grub
# we will be editing the 'GRUB_CMDLINE_LINUX_DEFAULT' key
#set it to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash processor.max_cstate=1 rcu_nocbs=0-11"
# test for a while and then set it to 5 if all is well
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash processor.max_cstate=5 rcu_nocbs=0-11"
# once the edits are done, save the file and update the GRUB config file like so
sudo update-grub
# to verify that the kernal booted with your specified options. you can run this command after reboot
cat /proc/cmdline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment