CHAPTER 5 Work after Operating System installation 5.5 Setup of dump environment (Linux)

In MMB WebUI, Select [Partition], and select [NMI] in [Power Control], and click [Apply]

2)If Kdump does not start, then start sadump

In MMB WebUI, Select [Partition], and select [sadump] in [Power Control], and click [Apply]

When memory dumping by sadump starts, the following message is displayed in console screen, and the number is counted up gradually.

[ 0.0%].

The number becomes 100 and the following message is displayed when memory dump is finished.

Dumping Complete

After memory dump is finished and OS is rebooted, confirm memory dump by using crash command.

This is an example to check memory dump which is saved on /dev/sdb1. The “DATE” means the date and time when memory dump was captured.

#crash /usr/lib/debug/lib/modules/2.6.32-358.el6.x86_64/vmlinux /dev/sdb1 (snip)

KERNEL: /usr/lib/debug/lib/modules/2.6.32-358.el6.x86_64/vmlinux DUMPFILE: /dev/sdb1

CPUS: 2

DATE: Fri Oct 11 09:10:39 2013 UPTIME: 00:19:04

LOAD AVERAGE: 0.14, 0.03, 0.01 TASKS: 125

NODENAME: localhost

RELEASE: 2.6.32-358.el6.x86_64

VERSION: #1 SMP Tue Jan 29 11:47:41 EST 2013

MACHINE: x86_64 (1861 Mhz)

MEMORY: 4 GB

PANIC: "Oops: 0002 [#1] SMP " (check log for details) PID: 7866

COMMAND: "bash"

TASK: ffff8801387c8aa0 [THREAD_INFO: ffff8801394e2000]

CPU: 0

STATE: TASK_RUNNING (PANIC)

5.Send memory dump to vendor

Send memory dump to vendor who supports RHEL. makedumpfile command can be used to convert memory dump to a normal file. makedumpfile can generate small dump file by compression or filtering. Read man manual of makedumpfile for details. This is an example of saving memory dump on /dev/sdb1 to a vmcore file using compression and filtering out memory region except kernel memory(Write following command in one line).

# makedumpfile –c –d 31 –x /usr/lib/debug/lib/modules/2.6.32-358.el6.x86_64/vmlinux /dev/sdb1 vmcore

90