Ubuntu: Computer lock up troubleshooting tips/solutions?



Question:

I am using an HP 15 Notebook PC with Ubuntu and my computer frequently locks up on a ridiculous level. It's usually at least a dozen times per day. I'm sure it's a hardware problem at this point but "guaranteed" Customer Care from the manufacturer refuses to help me because I uninstalled windows from the PC (oops.) So I guess i gotta fix it from my end. Does anybody out there have some troubleshooting tips or solutions? Much appreciated.

update 1: advised to use kernel param "intel_idle.max_cstate=1" to fix an issue with Intel Bay Trail /etc/default/grub


Solution:1

There is a current bug in Intel Bay-Trail based devices involving frequent freezes, lockups and crashes, that have to do with Intel CPU Sleep States (C-states). The only current alternative, as of kernel ~4.8, is to prevent the CPU from entering C-states deeper than 1.

First, open up /etc/default/grub

sudo gedit /etc/default/grub  

Find the line containing quiet splash, and add intel_idle.max_cstate=1 directly following it:

quiet splash intel_idle.max_cstate=1  

Save and close.

Then, run the command:

sudo update-grub  

And you're set!

Unfortunately, this fix is very dirty and results in far higher power consumption as a result of not allowing the CPU to sleep.


Solution:2

Just a heads up, I have an Intel n3530 and 16.04 has been working well with the cstate 1 added, till the newest kernel 4.4.0-45. Will freeze up every couple days now. I think it depends on your exact hardware config and kernel. 15.04 every couple of weeks(no cstate), 15.10 very often with cstate, 16.04 no freeze till now with cstate.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »