HP-UX: Core Dump Analysis


#adb -m /var/adm/crash/crash.0/vmunix  /var/adm/crash/crash.0

 hostname  myhost
 model     9000/879/K260
 mem size  10000000(x)
 panic     Data page fault
 dumptime  961784353 Fri Jun  23 11:19:13 PDT 2000
 savetime  961784708 Fri Jun  23 11:25:08 PDT 2000
 release   @(#)B2352B/9245XB HP-UX (B.11.00) #1: Wed Nov  5 22:38:19 PST 1997
 

  msgbuf+8/s

 ......
linkstamp:          Tue May 23 02:59:13 PDT 2000
_release_version:   @(#)B2352B/9245XB HP-UX (B.11.00) #1: Wed Nov  5 22:38:19 PS
T 1997
__kern_ci_revision: $Header: kern_sequence.c,v 1.6.106.512 97/11/05 18:01:46 mso
sa Exp $

panic: Data page fault

PC-Offset Stack Trace (read across, top of stack is 1st):
  0x0029ccd4  0x002b25d0  0x000f6a98
  0x000f5804  0x000f18cc  0x000f266c
  0x000f1494  0x000f0e10  0x000d4a44
  0x000d4aa4  0x000d4e28  0x000d7dd8
  0x000d7bb0  0x0013cf3c  0x0016e588
  0x00114948  0x00036404
End Of Stack

sync'ing disks (0 buffers to flush): (0 buffers to flush):
0 buffers not flushed
0 buffers still dirty
 

ctrl-d (to exit)
#
 
 

Crash Analysis using Q4


#cd /var/adm/crash/crash.0

#zcat /usr/contrib/lib/Q4Lib.tar.Z | tar -xvf -

#/usr/contrib/bin/gunzip vmunix.gz

#/usr/contrib/bin/q4pxdb vmunix

#cp q4lib/sample.q4rc.pl ~/.q4rc.pl

#/usr/contrib/bin/q4 -p
@(#) q4 $Revision: 1.79a $ $Date: 97/09/08 12:00:22 $ 0
Reading kernel symbols ...
Reading kernel data types ...
Initialized PA-RISC 2.0 address translator ...
Initializing stack tracer ...
Get the latest Q4 news by typing "news".

q4>include analyze.pl

loading ./q4lib/analyze.pl ...
loading ./q4lib/uname.pl ...
loading ./q4lib/misc.pl ...
loading ./q4lib/uptime.pl ...
loading ./q4lib/adjust.pl ...
loading ./q4lib/messagebuffer.pl ...
loading ./q4lib/addresses.pl ...
loading ./q4lib/tables.pl ...
loading ./q4lib/processors.pl ...
loading ./q4lib/crashes.pl ...
loading ./q4lib/rpb.pl ...
loading ./q4lib/traces.pl ...
loading ./q4lib/globals.pl ...
loading ./q4lib/processes.pl ...
loading ./q4lib/commands.pl ...
loading ./q4lib/credentials.pl ...
loading ./q4lib/threads.pl ...
loading ./q4lib/user.pl ...
loading ./q4lib/vm.pl ...
loading ./q4lib/vm_vfddbd.pl ...
loading ./q4lib/files.pl ...
loading ./q4lib/vfs.pl ...
loading ./q4lib/inode.pl ...
loading ./q4lib/buf.pl ...

q4> trace event 0
stack trace for event 0
crash event was a panic
q4: (warning) trace ends with savestate sr4 != KERNELSPACE
panic+0x14
hdl_zero_page+0xac
virtual_fault+0x458
vfault+0xf4
trap+0x318
$call_trap+0x38

q4>run Analyze AMPU  >crash_report

q4> include whathappened.pl

loading ./q4lib/whathappened.pl ...
loading ./q4lib/misc.pl ...
loading ./q4lib/adjust.pl ...
loading ./q4lib/crashes.pl ...
loading ./q4lib/tables.pl ...
loading ./q4lib/rpb.pl ...
loading ./q4lib/traces.pl ...
loading ./q4lib/processors.pl ...
loading ./q4lib/processes.pl ...
loading ./q4lib/commands.pl ...
loading ./q4lib/credentials.pl ...
loading ./q4lib/threads.pl ...
loading ./q4lib/user.pl ...
loading ./q4lib/vm.pl ...
loading ./q4lib/vm_vfddbd.pl ...
loading ./q4lib/uname.pl ...
loading ./q4lib/uptime.pl ...

q4> run WhatHappened >whathappen

q4>exit
#


  • computer problem
    By : anonymous ( Fri Oct 15 08:49:50 2004 )

  • computer problem
    By : anonymous ( Fri Oct 15 08:49:40 2004 )


  • Name :
    Password :
    E-mail :
    Subject :
    Comments :



    UNIXguide.net
    English to Visayan Cebuano Dictionary
    Suggest a Site
    Visayan Cebuano to English Dictionary