Cisco Model D-PCG1000 PowerKEY CAS Gateway Installation Guide

Page of 78
 
 
Retrieving a Kernel Panic Dump File 
4031371 Rev E 
61 
 
Retrieving a Kernel Panic Dump File 
If routine troubleshooting is unable to uncover the cause for any of the incidents 
listed in Overview (on page 60), you may suspect that a kernel panic event has 
occurred. When a kernel panic event occurs, the TED server OS creates a kernel 
panic dump file and places it in this directory on the TED server: /var/crash. Each 
time a kernel panic is dumped, a subdirectory gets created and the actual file is 
named vmcore
Follow these instructions to locate the kernel panic file so that you can send it to 
Cisco Services for analysis.  
1  On the DNCS/ISDS, open an xterm window and log on as root user. 
2  Type ssh  dncsted  -l root and press Enter. A password prompt appears in the 
xterm window. 
3  Type the TED root password and press Enter
4  Type ls -al /var/crash and press Enter. The TED lists the files and subdirectories 
in the /var/crash directory, similar to the following example.  
total 28 
drwxr-xr-x  5 root root 4096 Jan 13 14:08 . 
drwxr-xr-x 20 root root 4096 Jan 12 14:39 .. 
drwxr-xr-x  2 root root 4096 Jan 12 15:23 127.0.0.1-2010-01-12-15:22:01 
drwxr-xr-x  2 root root 4096 Jan 13 13:58 127.0.0.1-2010-01-13-13:56:36 
drwxr-xr-x  2 root root 4096 Jan 13 14:10 127.0.0.1-2010-01-13-14:08:35
 
Note: In this example, lines 3–6 (in blue) are used to indicate the subdirectories 
that contain dump files. When each dump file and subdirectory is created, it is 
named with the local host IP address and the date and time of the dump. 
5  Change directories to the subdirectory whose file you want to retrieve. For 
example, to change to the last subdirectory listed in the previous step, you would 
type cd 127.0.0.1-2010-01-13-14:08:35 and press Enter.  
6  Type ls -al and press Enter. The TED lists the files in the current directory, 
similar to the following example. 
total 6170884 
drwxr-xr-x 2 root root       4096 Jan 13 14:10 . 
drwxr-xr-x 5 root root       4096 Jan 13 14:08 .. 
-r-------- 1 root root 6312789080 Jan 13 14:10 vmcore
 
Note: In this example, line 4 (in blue) is used to indicate the dump file. All kernel 
panic dump files contain "vmcore" in the name. 
7  Send the kernel panic dump file to Cisco Services for analysis.