How to force Linux to crash:

we installed the kexec-tools (kdump) on our redhat machines ( version 7.1 ) in order to capture problems by creating core file under /var/crash folder

we check that kdump is install as

 rpm -qa | grep kexec ( verify rpm kdump is installed )

we check the kdump service as

# /usr/bin/kdumpctl status 

Kdump is operational

we manually trigger the core dump using the following commands:

echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger

The server should be reboot itself and the crash dump will be generated. Under /var/crash

bot nothing was happend

please advice way kdump not trigger the linux machine to reboot?

redhat doc about the KDUMP:


more /etc/redhat-release
Red Hat Enterprise Linux Server release 7.1 (Maipo)

  dmidecode |  grep -i VM
        Manufacturer: VMware, Inc.
        Product Name: VMware Virtual Platform

Can you provide more details about the server? Is this a dedicated box, virtualized container? If it's virtualized there may be issues using kdump if the kernel is outside the container.

  • hi Wilbo - I update my quastion – dandan Jul 19 '16 at 8:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.