Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2016-09-16 17:33:07
Size: 1108
Editor: ?T4b
Comment:
Revision 3 as of 2021-04-12 03:42:01
Size: 1326
Editor: PaulWise
Comment: modernise: use a separate config file, add some comments to it, use sudo
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Devices with Intel Bay Trail CPUs are affected by [[https://bugzilla.kernel.org/show_bug.cgi?id=109051|this]] bug which causes seemingly random crashes and has not been resolved so far. The only work around which has been reported to work consistently is setting the '''intel_idle.max_cstate=1''' kernel parameter which has the drawback of increasing power consumption considerably. Devices with Intel Bay Trail CPUs have been affected by [[https://bugzilla.kernel.org/show_bug.cgi?id=109051|this bug]] which has been known to cause seemingly random freezes of the system. The bug has been reported to have been fixed, or at least mitigated, in Linux kernel version 5. Should random freezes still occur, the only work around which has been reported to work consistently is setting the '''intel_idle.max_cstate=1''' kernel parameter which has the drawback of increasing power consumption considerably.
Line 5: Line 5:
/!\ During installation and until you have configured Grub as described below, you need to manually apply this parameter at each boot! Both in Grub and before launching the Debian installer, you can do this by pressing e after selecting the entry you want to boot and then adding the parameter at the end of the "linux..." line. To temporary set this parameter at boot (e.g. when using the Debian installer or at the very first boot of the system), when in Grub press "e" after selecting the entry you want to boot and then add the parameter at the end of the "linux..." line.
Line 7: Line 7:
To set this parameter, edit the file '''/etc/default/grub''' and add the parameter at the ''GRUB_CMDLINE_LINUX'' line like this (if there already are other parameters there, leave them and just add yours at the end separated by a space): To permanently set this parameter, add the file '''/etc/default/grub.d/intel-bay-trail-cstate-issue.cfg''' containing these lines:
Line 9: Line 10:
GRUB_CMDLINE_LINUX="intel_idle.max_cstate=1" # Prevent random freezes on Intel Bay Trail CPUs
# WARNING: increases power consumption considerably
# https://wiki.debian.org/InstallingDebianOn/PageFragmentIntelBayTrailCStateIssue
# https://bugzilla.kernel.org/show_bug.cgi?id=109051
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX intel_idle.max_cstate=1"
Line 11: Line 16:
Line 12: Line 18:
Line 13: Line 20:
# update-grub $ sudo update-grub

Intel Bay Trail CPU C-states issue

Devices with Intel Bay Trail CPUs have been affected by this bug which has been known to cause seemingly random freezes of the system. The bug has been reported to have been fixed, or at least mitigated, in Linux kernel version 5. Should random freezes still occur, the only work around which has been reported to work consistently is setting the intel_idle.max_cstate=1 kernel parameter which has the drawback of increasing power consumption considerably.

To temporary set this parameter at boot (e.g. when using the Debian installer or at the very first boot of the system), when in Grub press "e" after selecting the entry you want to boot and then add the parameter at the end of the "linux..." line.

To permanently set this parameter, add the file /etc/default/grub.d/intel-bay-trail-cstate-issue.cfg containing these lines:

# Prevent random freezes on Intel Bay Trail CPUs
# WARNING: increases power consumption considerably
# https://wiki.debian.org/InstallingDebianOn/PageFragmentIntelBayTrailCStateIssue
# https://bugzilla.kernel.org/show_bug.cgi?id=109051
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX intel_idle.max_cstate=1"

then update grub with:

$ sudo update-grub