Mini Core Dumps
Dell Networking OS supports mini core dumps for kernel crashes. The mini core dump applies to Master
units.
Kernel mini core dumps are always enabled. The mini core dumps contain the stack space and some other
very minimal information that can be used to debug a crash. These files are small files and are written into
flash until space is exhausted. When the flash is full, the write process is stopped.
A mini core dump contains critical information in the event of a crash. Mini core dump files are located in
flash://CORE_DUMP_DIR directory. The kernel mini core filename in the RPM has the following formats:
•
Kernel mini core dump generated from CP of the RPMs:
f10Ch<Chassis ID>_rpm<0/1>_cp_<timestamp>.kcore.mini.txt
•
Kernel mini cored ump from RP CPU:
f10Ch<Chassis ID>_rpm<0/1>_rp_<timestamp>.kcore.mini.txt
•
Kernel mini core dump from LP CPU:
f10Ch<Chassis ID>_lp<slot#>_<timestamp>.kcore.mini.txt
•
The Kernel mini core dump generated from the LM:
f10Ch<Chassis ID>_lp<slot#>_<timestamp>.kcore.mini.txt
The panic string contains key information regarding the crash. Several panic string types exist, and they are
displayed in regular english text to enable easier understanding of the crash cause.
Example of a Mini Core Text File
VALID MAGIC
------------------------PANIC STRING -----------------
panic string is : <null>
----------------------STACK TRACE START---------------
0035d60c <f10_save_mmu+0x120>:
00274f8c <panic+0x144>:
0024e2b0 <db_fncall+0x134>:
0024dee8 <db_command+0x258>:
0024d9c4 <db_command_loop+0xc4>:
002522b0 <db_trap+0x158>:
0026a8d0 <mi_switch+0x1b0>:
0026a00c <bpendtsleep>:
------------------------STACK TRACE END----------------
---------------------------FREE MEMORY---------------
uvmexp.free = 0x2312
Full Kernel Core Dumps
The system supports full core dumps for kernel crashes. The kernel core dump applies to all switch CPUs and
is not enabled by default. To enable full kernel core dumps, enter the logging coredump command in
global configuration mode. The kernel core dump is copied to flash://CORE_DUMP_DIR/
f10_cpu_timestamp.kcore.gz
Where cpu specifies a switch CPU and is one of the following values: cp (Control Processor), cp (Route
Processor), lp0 (line-card processor 0), lp1 (line-card processor 1), or lp2 (line-card processor 2);
Debugging and Diagnostics
388