21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

-rw------- 0 0 2555 Jul 12 15:40:21 2000 ./dump/dump.snap<br />

-rw------- 0 0 1770955 Jul 12 13:48:29 2000 ./dump/unix.Z<br />

-rwx------ 0 0 41761792 Jul 12 11:03:29 2000 ./dump/dump_file<br />

...<br />

drwx------ 0 0 0 Jul 12 11:23:06 2000 ./kernel/<br />

-rw------- 0 0 75122 Jul 12 15:40:21 2000 ./kernel/kernel.snap<br />

drwx------ 0 0 0 Jul 12 11:22:58 2000 ./testcase/<br />

drwx------ 0 0 0 Jul 12 11:22:58 2000 ./other/<br />

The files dump.snap, unix.Z, and dump_file should exist on the tape device and<br />

should be greater than 0 bytes in size.<br />

5.7 Reading dumps<br />

To check that the dump is readable, start the crash command (or use the kdb<br />

command on <strong>AIX</strong> <strong>5L</strong> systems). Refer to 10.6.2, “The kdb command” on<br />

page 296, for details on the dump files, using the command syntax: crash dump<br />

unix. The crash command needs a kernel file (unix) to match the dump file. If<br />

you do not specify a kernel file, crash uses the file /unix by default:<br />

# crash dump unix<br />

><br />

If you do not see a message from crash about dump routines failing, you<br />

probably have a valid dump file. Run the stat subcommand at the > prompt, as in<br />

the following example:<br />

# crash dump unix<br />

> stat<br />

sysname: <strong>AIX</strong><br />

nodename: sp5i<br />

release: 3<br />

version: 4<br />

machine: 000126774C00<br />

time of crash: Tue May 4 04:56:10 CDT 1999<br />

age of system: 4 min.<br />

xmalloc debug: disabled<br />

abend code: 300<br />

csa: 0x2ff3b400<br />

exception struct:<br />

dar: 0x00000003<br />

dsisr: 0x00000000:<br />

srv: 0x04000000<br />

dar2: 0x3c160040<br />

dsirr: 0x06001000: "(unknown reason code)"<br />

Chapter 5. System dumps 79

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!