Ask Your Question

how to intel_idle.max_cstate=1 ?

asked 2016-03-06 18:49:02 -0500

Cosmin gravatar image

I'm experimenting with baytrail cpu, and every 2 hours the system freezes. I googled and it says I have to implement intel_idle.max_cstate=1 or intel_idle.max_cstate=2. I have NOOOOO idea how to. Like NOOO idea!

I'd like line by line details. what I found is for Amazon linux and it doesn't work.

I have a partition /boot/efi if it makes any difference.

That's all so far

Thank you!

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2016-03-09 09:58:15 -0500

fcomida gravatar image

updated 2016-09-18 15:31:25 -0500

hhlp gravatar image

grubby --update-kernel=ALL --args=intel_idle.max_cstate=1

You can temporarily add kernel boot options pressing 'e' while grub menu is displayed

NOTE : see @Cosmin post

edit flag offensive delete link more

answered 2016-03-11 16:01:07 -0500

Cosmin gravatar image

Thanks fcomida.

this is how I made it work after I googled a ton:

installed Grub Customizer

then, General settings>Kernel Parameters> [paste] intel_idle.max_cstate=1

then, Save and reboot

so far I've been playing shows on line and watched MP4s with no freezes

edit flag offensive delete link more


You did the same as what @fcomida suggested. You just went another way to come to the same result...

gobigobi66 gravatar imagegobigobi66 ( 2016-03-17 21:37:29 -0500 )edit

Thanks Cosmin, this really worked for me. No matter which Linux distro I had installed after a while it froze. I installed Grub Customizer, changed the parameters and I haven't had a freeze since (6 months now).

ZZ Tilt gravatar imageZZ Tilt ( 2017-01-23 06:53:30 -0500 )edit

answered 2016-09-18 10:09:47 -0500

steeve gravatar image

I believe the canonical approach for rewriting the current and all subsequent kernel updates is to edit /etc/default/grub and append the new parameters to the GRUB_CMDLINE_LINUX variable, for example,

GRUB_CMDLINE_LINUX="rhgb quiet drm.debug=0 drm.vblankoffdelay=1 intel_idle.max_cstate=1"

After that update grub as usual, the following bash script will help if you don't know if you're running EFI or not,


if [ -d /boot/efi/EFI/fedora ]; then
elif [ -d /boot/grub2 ]; then
    echo "Error: grub.cfg not found"
    exit 1


echo Backup $cfg
cp -pv $cfg /var/tmp
echo grub2-mkconfig -o "$cfg"
grub2-mkconfig -o "$cfg"
edit flag offensive delete link more

Question Tools


Asked: 2016-03-06 18:49:02 -0500

Seen: 3,899 times

Last updated: Sep 18 '16