How to create an Oops for debugging purposes
I found this bit in Beginning Linux programming...To generate an oops create a module.... and in the init function.....
/* deferencing a null pointer */
*(int*)0 = 1 ;
If your kernel has symbols, this will product a stack backtrace from where you code this.