My Linux desktop freezes randomly. What to look for in logs

freezelogs

I have a newly installed Manjaro system and it works fine most of the time but it has frozen a couple of times randomly.

What logs should look in (and what should I look for) to try to diagose the problem? I know its quite a broad question, but there must be somewhere that would be a good starting point.

Best Answer

The two most common causes of crashes are video driver bugs and bad RAM.

You can look for clues in logs in /var/log. Video problems are logged in /var/log/Xorg.0.log. Problems detected by the kernel are logged in /var/log/kern.log or /var/log/messages or some other file depending on the distribution, I don't know which file Manjaro uses.

However, if your system crashes, it often doesn't get a chance to write to the logs.

Do run a memory test. Install Memtest86+ (Arch Linux has it as a package, so you should have it on Manjaro as well). Reboot and select “memory test” at the Grub prompt and let it run for at least one full pass.

If you suspect a video driver problem, try using the free driver if you were using the proprietary driver, or vice versa.

Related Question