Sunday, September 21, 2014

How do I debug a mysterious crash on Linux?

I've been experiencing mysterious system lock-ups at random intervals for a few months now on my desktop (running Arch Linux), and don't know where to begin debugging. Initially I thought it was an issue with the buggy ATI Catalyst (I've heard of many people having issues with them, and didn't seem to have issues before using it), as there was always a screen flicker, followed by some random screen artifacts before the crash.



But after buying a new graphics card (NVIDIA this time) I still experience the issues. Looking through dmesg after the lock up reveals nothing, same goes for Xorg.n.log files. I've run memtest86, but that found no issues.



To clarify what I mean by "lock up":




  • Keyboard and mouse input has no effect (although occasionally I can move the mouse, nothing more though)

  • I'm unable to ssh in




How do I go about debugging things kind of crash? When it happens seems to be fairly random, so there's no easy way to reproduce it for me to try different debugging methods. Is there a way to enable more verbose logs to be made which could reveal something? Any log files I've missed out?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...