Re: How to get Kdump file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Adhiraj,

I'm using RedHat EL 4. Referred the RedHat document:

http://kbase.redhat.com/faq/FAQ_105_9036.shtm

For kexec-tools, I've installed from tar file, and binaries are located in /opt/kexec/sbin/ and path is exported in /etc/profile also.

I did the 4 steps of the document. After reboot, the 5th step didn't work:

#chkconfig kdump on
error reading information on service kdump: No such file or directory

[root@server1 ~]# service kdump start
kdump: unrecognized service
[root@server1 ~]#

The grub.conf and kdump.conf looks as follows:

[root@server1 ~]# cat /etc/kdump.conf
/proc/
[root@server1 ~]#

[root@server1 ~]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,0)
#          kernel /boot/vmlinuz-version ro root=/dev/sda1
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-55.ELhugemem)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.9-55.ELhugemem ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.9-55.ELhugemem.img
title Red Hat Enterprise Linux AS (2.6.9-55.ELsmp)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.9-55.ELsmp ro root=LABEL=/ rhgb quiet crashkernel=128M@16M
    initrd /boot/initrd-2.6.9-55.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-55.EL)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.9-55.EL ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.9-55.EL.img
[root@server1 ~]#

Can you tell me what might be the wrong?

Shall I copy /opt/kexec/sbin/kdump to /etc/init.d/  ??

Thanks,
Sangamesh

On Wed, May 28, 2008 at 5:32 PM, Adhiraj Joshi <adhiraj@xxxxxxxxxxxxxx> wrote:
The steps in Documentation/kdump/kdump.txt in the kernel source code are sufficient to use kdump/kexec. Please ask if get stuck somewhere during the process.

Regards,
Adhiraj Joshi.

On Wed, May 28, 2008 at 4:50 PM, Sangamesh B <forum.san@xxxxxxxxx> wrote:
Hi All,

      I'm working on K Dump. Installed Kexec tools. But not getting how to make use of kexec commands: kexec & kdump and how to proceed further.

    I am a beginner as far as the Linux kernel is considered.

So can some one listout the steps to get the Kernel dump file in a crash event. Or send me a link/document which can explain all the stuff.

Thanks in advance,
Sangamesh
Consultant-HPC







_______________________________________________
fastboot mailing list
fastboot@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/fastboot


_______________________________________________
fastboot mailing list
fastboot@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/fastboot

[Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Linux Media]     [Linux Resources]

Powered by Linux