(from the SGI XFS mailing list)
If you have compiled in kdb and you get an oops (at least in 2.4 series kernels):
Next time it hangs, enter these kdb commands and
capture the output on the serial console.
set LINES 10000
set BTAPROMPT 0