If you are lucky when your kernel module crashes, you would get an oops with a log with a lot of information, such as values in the registers etc. One such information is th
For Emacs users, here's is a major mode to easily jump around within the stack trace (uses addr2line internally).
addr2line
Disclaimer: I wrote it :)