Sunday, January 13, 2013
2:04 AM

Want to Debug a Kernel Crash? But the system no longer responds?

If your kernel crashes every once in a while and you want to find out

what happened and/or create a good bug report so it can get fixed,

here's all you need to do in Ubuntu 12.04+:



sudo apt-get install linux-crashdump apport



This automatically installs and sets up a crash kernel to be loaded

via kexec in case of a kernel panic. And it installs apport to be able

to easily report the crash to Ubuntu. The logs will be in /var/crash.



Read here for more: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe

And this ebook might help with debugging a crash:

http://www.dedoimedo.com/computers/crash-book.html#download



Of course sometimes this might not work for very hard crashes. But

most crashes should be able to be properly dumped and reported this

way. Good luck!

0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.