https://access.redhat.com/kb/docs/DOC-6039

Sorry, misunderstood, the article above has Xen as an example.

Once setup and rebooted, examine /var/log/message to see if kdump/kexec is 
loaded or check via service command. The article has the examples on how to 
test crash the kernel. i.e.

Warning: This will panic your kernel, killing all services on the machine

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

If you follow the procedure entirely and it still does not work, when you start 
the kdump service, it will generate a new initrd file with kdump module/support.

Do “ls –ltr /boot/” the last file should be an initrd with kdump in the 
filename. Modify your /etc/grub.conf and change initrd loaded in from original 
to the one you see in /boot/ with kdump included as a file name. Ideally I’d 
say create a new grub entry altogether, just in case something does not work 
and you can revert to working grub entry.

Regards
ilya

From: Srija [mailto:swap_proj...@yahoo.com]
Sent: Wednesday, February 08, 2012 1:41 PM
To: Musayev, Ilya; Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: Re: [rhelv5-list] kdump issue with rhel5 xen

Sorry being late..

The url is for  getting the   kernel dump of the guests  under  xen host.  If 
you check my question , I was asking the kdump  for the
xen host  ,  not the xen guest.

Thanks again

From: "Musayev, Ilya" <imusa...@webmd.net<mailto:imusa...@webmd.net>>
To: Srija <swap_proj...@yahoo.com<mailto:swap_proj...@yahoo.com>>; Red Hat 
Enterprise Linux 5 (Tikanga) discussion mailing-list 
<rhelv5-list@redhat.com<mailto:rhelv5-list@redhat.com>>
Sent: Monday, February 6, 2012 5:40 PM
Subject: RE: [rhelv5-list] kdump issue with rhel5 xen

I guess disregard my suggestion as it applies to plain (non Xen) based setup.

For Xen, read this doc:
https://access.redhat.com/kb/docs/DOC-9864

________________________________________
From: Srija [swap_proj...@yahoo.com<mailto:swap_proj...@yahoo.com>]
Sent: Monday, February 06, 2012 5:25 PM
To: Musayev, Ilya; Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: Re: [rhelv5-list] kdump issue with rhel5 xen

Thanks for your reply.

>Are you able to force a fake kdump?
  I could not able to create  any kdump.  Are you asking to do manually ?

>Also, in past I had to use the initrd file created by kdump when you start the 
>services.
  Sorry I am not clear  here. Would you pl. write here how to start the 
services.. with the initrd file

>Needless to say, try limiting the amount of RAM that system boots with
  How much you are suggesting to set  the limit?

Thanks  so much again....

From: "Musayev, Ilya" <imusa...@webmd.net<mailto:imusa...@webmd.net>>
To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list 
<rhelv5-list@redhat.com<mailto:rhelv5-list@redhat.com>>; Srija 
<swap_proj...@yahoo.com<mailto:swap_proj...@yahoo.com>>
Sent: Monday, February 6, 2012 1:54 PM
Subject: RE: [rhelv5-list] kdump issue with rhel5 xen

Needless to say, try limiting the amount of RAM that system boots with – much 
easier to upload and debug. As per previous thread I had on this list you can 
use “mem” kernel boot parameter.

From: rhelv5-list-boun...@redhat.com<mailto:rhelv5-list-boun...@redhat.com> 
[mailto:rhelv5-list-boun...@redhat.com<mailto:rhelv5-list-boun...@redhat.com>] 
On Behalf Of Musayev, Ilya
Sent: Monday, February 06, 2012 12:38 PM
To: Srija; Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: Re: [rhelv5-list] kdump issue with rhel5 xen

Are you able to force a fake kdump?

Also, in past I had to use the initrd file created by kdump when you start the 
services. For some reason I don’t see that stepped mentioned anywhere in the 
DOCs.. Try that as well.

Let me know what happens,

Good luck
-ilya


From: 
rhelv5-list-boun...@redhat.com<mailto:rhelv5-list-boun...@redhat.com><mailto:rhelv5-list-boun...@redhat.com<mailto:rhelv5-list-boun...@redhat.com>>
 
[mailto:rhelv5-list-boun...@redhat.com<mailto:rhelv5-list-boun...@redhat.com>]<mailto:[mailto:rhelv5-list-boun...@redhat.com<mailto:rhelv5-list-boun...@redhat.com>]>
 On Behalf Of Srija
Sent: Friday, February 03, 2012 6:54 PM
To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: [rhelv5-list] kdump issue with rhel5 xen

Hi,

I am facing  issues to get kdump in the xen  environment.

The server has:
    kernel :  2.6.18-274.el5xen #1 SMP Fri Jul 8 17:45:44 EDT 2011 x86_64 
x86_64 x86_64 GNU/Linux
    memory : 2gb,
    cpu  : 8 x 2

Installed  the rpm as follows:

kernel-2.6.18-274.el5
kernel-xen-2.6.18-274.el5
kernel-xen-devel-2.6.18-274.el5
kernel-doc-2.6.18-274.12.1.el5
kernel-debuginfo-common-2.6.18-274.17.1.el5
kernel-debug-2.6.18-274.17.1.el5

kexec-tools-1.102pre-126.el5_6.6
system-config-kdump-1.0.14-4.el5
crash-4.1.2-8.el5

The /etc/grub.conf  as follows:

serial -unit=0 -speed=115200
terminal -timeout=10 serial console
default=3
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-274.17.1.el5debug)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-274.17.1.el5debug ro root=/dev/vgroot_xen/lvroot 
console=tty0, 115200
        initrd /initrd-2.6.18-274.17.1.el5debug.img
title Red Hat Enterprise Linux Server (2.6.18-274.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-274.el5 ro root=/dev/vgroot_xen/lvroot 
console=tty0, 115200
        initrd /initrd-2.6.18-274.el5.img
title Red Hat Enterprise Linux Server (2.6.18-274.el5xen)
        root (hd0,0)
        kernel /xen.gz-2.6.18-274.el5  dom0_mem=2048MB xenheap_megabytes=64 
crashkernel=128M@16M<mailto:crashkernel=128M@16M>
        module /vmlinuz-2.6.18-274.el5xen ro root=/dev/vgroot_xen/lvroot 
console=tty0, 115200
        module /initrd-2.6.18-274.el5xen.img

The /etc/kdump.conf file  as follows:
path /var/kdump
core_collector makedumpfile -d 31 -c
Crashing the kernel as  mentioned in the document:

  echo "1" > /proc/sys/kernel/sysrq
  echo "c" > /proc/sysrq-trigger
kdump has been started
But server is not generating any crash dump file.  Neither getting any log 
messages  regarding the crash dump.

Any advice is really appreciated.

Thanks again





_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to