In this chapter we explore the rudimentary facilities within MDB for analyzing kernel crash images and debugging live kernels. The objective is not to provide an all-encompassing kernel crash analysis tutorial, but rather to introduce the most relevant MDB dcmds and techniques.
A more comprehensive guide to crash dump analysis can be found in some of the recommended reference texts, for example, Panic! by Chris Drake and Kimberly Brown for SPARC , and “Crash Dump Analysis” by Frank Hoffman for x86/x64 .
The most common type of kernel debug target is a core file, saved from a prior system crash. In the following sections, we highlight some of the introductory steps as used with
mdb to ...