From LinuxMIPS
Jump to navigationJump to search


Probably the most important chapter. In this chapter, I will list some commonly used debugging tips and tricks.

Kernel Oops

ksymoops is a program that deciphers all the secret numbers in a kernel core dump. Old versions of ksymoops may not work well for MIPS.

I sometimes use a script, call2sym, written by Phil Hollenback. You just cut and past the call trace part to feed the script and it will display a possible function call stack at the time crash. Note it is likely some symbols are bogus, but the real ones should be displayed. You will have to use your own judgement.

Linux 2.6 will automatically convert symbols if CONFIG_KALLSYMS is enabled. It may bloat kernels but it's a true life saver, so highly recommended.

Next page: Linux Bootup