This document describes the steps necessary for collecting and sending system dumps in AIX 3.2. The final section of the document provides information on how to force a dump.
Following are the steps to obtain the LED codes.
To locate the dump issue the command:
sysdumpdev -L
Check the sysdumpdev -L output for a valid time-stamp. If the time-stamp matches an approximate time of the system crash, proceed to the next section. If the time-stamp does not match OR the sysdumpdev command does not result in any output, a valid dump was not captured at this time. The section, "Forcing a system dump" provides more detailed information and steps to follow for this situation.
Decide which method will be used to send the testcase.
NOTE: Overnight and Internet submissions are recommended. VM is not a preferred shipment method.
To gather all of the dump including kernel and general information, run the command:
snap -gfkD -o /dev/rmt#
Use the following commands to verify that the media contain the appropriate files which are necessary to analyze a system crash/hang:
tctl -f /dev/rmt# rewind tar -tvf /dev/rmt#
Following are the required files:
-rw-r--r-- 1 4530888 Jul 02 16:12 dump.Z -rw-r--r-- 1 180 Jul 02 16:11 dump.snap -rw-r--r-- 1 1270849 Jul 02 16:11 unix.Z
NOTE: The file dump.Z may be just dump, and the file unix.Z may be just unix. These files should also be greater than 0 in size. In this case, dump.Z = 453088 bytes and unix.Z = 1270849 bytes.
<customer name> <pmr #, branch #> tape block_size = xxx <the command used to copy the information to tape>
IMPORTANT: If the person sending in this testcase is not the person who reported the problem, be sure to include the name of the person who reported it. If the proper information is not on the package, process delays will occur.
Acceptable tape media are 8mm, 4mm or 1/4" QIC tape.
NOTE: This address may change, so please verify this address by either obtaining the latest version of this document or verifying with your IBM software support organization.
IBM Corp. / Zip 2900 / Bldg 42If you specify Saturday delivery you must first make special arrangements with an AIX Support specialist (1-800-225-5249 or 1-800-call-aix); otherwise there could be a delay of several days.
snap -gfkD -c
This will create a file called snap.tar.Z in the /tmp/ibmsupt directory.
zcat /tmp/ibmsupt/snap.tar.Z | tar -tvf -
In the output there should be three lines similar to the following:
-rw-r--r-- 1 user group 36243456 Feb 20 10:05 dump.Z -rw-r--r-- 1 user group 176 Feb 20 15:13 dump.snap -rw-r--r-- 1 user group 933536 Feb 20 15:13 unix.Z
NOTE: The file dump.Z may be just dump, and the file unix.Z may be just unix. These files should also be greater than 0 in size. In this case, dump.Z = 453088 bytes and unix.Z = 1270849 bytes.
If the system has not dumped automatically, choose one of the two methods below to force a system dump. Notice one of the methods only works with certain configurations.
At this point, power off/on the system and go to the section "Locate the dump" of this document.