Is there anything to check after your computer locks up or freezes?

I have a Dell XPS 13 Developer Edition laptop with Ubuntu 14.04, that has worked very well for over a year. However, recently I have been experiencing freezes where the machine does not respond to any keyboard or mouse events and I have to power it off. Is there anything to look at after you log back on after a freeze like that?


Solution 1:

Yes. Look at /var/log/kern.log, and check the lines before the reboot (lines with kernel: [ 0.000000] were logged 0.000000 seconds after the reboot, so look at the lines preceding that one.