Less known Solaris features: About crashes and cores - Appendix A: Crash Dump Analysis revisited

I have forgotten to describe a really handy function when you analyse a crash dump. Solaris has an in-memory buffer for the console messages. In the case you write a crash dump, obviously this messages are written into the crash dump as well.
With the ::msgbuf command of mdb you can read this message buffer.

# mdb unix.0 vmcore.0<br />
Loading modules: [ unix genunix specfs cpu.generic uppc scsi_vhci ufs ip hook neti sctp arp usba nca lofs zfs random nsctl sdbc rdc sppp crypto ptm ]<br />
> ::msgbuf<br />
MESSAGE<br />
SunOS Release 5.11 Version snv_84 32-bit<br />
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.<br />
Use is subject to license terms.<br />
features: 10474df<cpuid,sse3,sse2,sse,sep,cx8,mmx,cmov,pge,mtrr,msr,tsc,lgpg><br />
mem = 331388K (0x1439f000)<br />
root nexus = i86pc<br />
pseudo0 at root<br />
pseudo0 is /pseudo<br />
[...]<br />
devinfo0 is /pseudo/devinfo@0
panic[cpu0]/thread=db3aea00:<br />
forced crash dump initiated at user request
d5efcf4c genunix:kadmin+10c (5, 0, 0, db5c8a98)<br />
d5efcf84 genunix:uadmin+8e (5, 0, 0, d5efcfac, )
syncing file systems...<br />
 done<br />
dumping to /dev/dsk/c0d0s1, offset 108593152, content: all<br />
><br />

So it´s really easy to get this last messages of a dying system with mdb from the crash dump alone.