============================================================================= Crash/Panic ============================================================================= CPU command ----------------------------------------------------------------------------- To panic/crash a running system ----------------------------------------------------------------------------- USE # dbx -k /vmunix /dev/mem (dbx) p bufhash (dbx) assign bufhash=0x000 OR #kvar -k -s rootdir -wl -v 0 /vmunix OR #dbx -k /vmunix /dev/mem (dbx) a (int)&ln_softc=0 THEN find you hardware type below to generate a crash file System is hung: Press the halt button (not the reset) OR ^P (with Enable switch is on) -------------------------------------------------------------------- To get a dump/crash from a paniced system: ----------------------------------------------------------------------------- microVAX2000/3500/3600/3800/3900 VAXstationII/II/GPX/2000/3200/3500 VAXserver 100/3500/3600/3602 console >>> DECStation 2100/3100/5000 console >>>c OR console >>>go 0x80030008 >>>init >>>boot Alphastation 3000 console >>>c AlphaServer 1000 console >>>c AlphaServer 2000 console >>>crash AlphaServer 2100 console >>>crash AlphaServer 4000 console >>>crash AlphaServer 4100 console >>>crash AlphaServer 8400 console >>>crash AlphaServer 10000 console >>>crash If your machine is not listed, then try "crash", if not there, then try 'c'. In Digital Unix 4.0, the standard by default is "crash". ----------------------------------------------------------------------------- Uncompressing a dump to look at it: ----------------------------------------------------------------------------- The following uncompresses a dump not filling up the file with 0's (saves much space). The 0 should replaced with the current dump file number. #cd /var/adm/crash #uncompress -c vmcore.0.Z | dd of=vmcore.0 conv=sparse ----------------------------------------------------------------------------- Setting you system to do a full dump - paritial is default: ----------------------------------------------------------------------------- >>> set boot_osflags d OR The following is temporary, is reset at next reboot: #dbx -k /vmunix (dbx) p partial_dump #if you get a 1, you have partial set, so (dbx) a partial_dump = 0 (dbx) quit