(Updated method) Prevent Debian Linux randomly reboot on Biostar NM70I-847

I have a NM70I-847 motherboard, and I installed Debian 9 Stretch on it recently. After installation, the system began to reboot randomly without any warning.

I used to run Debian 7 Wheezy on this motherboard, the RC6 sleep feature of the CPU’s graphics need to be disabled to prevent such issue. It should be very easy to fix just need to add parameter i915.i915_enable_rc6=0to grub boot option.

But the method seems not working (or deprecated) — after applied the fix computer still keep rebooting on its own. Message like the following can be observed from dmesg:

i915: unknown parameter 'i915_enable_rc6' ignored

Yep, that’s why this fix is not working, because this parameter has been ignored by system.

After some digging around, I found there is a parameter which controls RC6 of the graphics located in “/sys/module/i915/parameters/enable_rc6”. The value of “enable_rc6” is -1 and it is read-only. So, I need to create a modprobe configuration file in /etc/modprobe.d to pass the value to system.

Example of the configuration file:

options i915 enable_rc6=0

Reboot, the system is running smoothly without random reboot anymore. And value of /sys/module/i915/parameters/enable_rc6 is 0 now.

After applied the modprobe configuration, such message Setting dangerous option enable_rc6 - tainting kernel can be observed in dmesg, it’s safe to ignore it.

Cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *