From: Akio Takebe Subject: Re: About how to set crash dump enable Date: Tue, 20 Nov 2007 22:44:52 +0900 Message-ID: <80C82B7B86B620takebe_akio@jp.fujitsu.com> References: <47374D87.3020909@hpcs.cs.tsukuba.ac.jp> <47C824BE3A3B9Ftakebe_akio@jp.fujitsu.com> <473A1586.7060509@hpcs.cs.tsukuba.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <473A1586.7060509@hpcs.cs.tsukuba.ac.jp> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ryo Kanbayashi Cc: xen-devel@lists.xensource.com, Akio Takebe List-Id: xen-devel@lists.xenproject.org Hi, Ryo Sorry for my late reply. I think the difference between linux and xen is only grub/menu.list. Can you try; 1. vim /boot/grub/menu.list title Xen-unstable root (hd0,0) kernel /xen.gz nmi=fatal crashkernel=128M@32M module /vmlinuz-2.6.18-xen ro root=LABEL=/12 rhgb nmi_watchdog=0 module /initrd-2.6.18-xen.img 2. Setup kdump like the below. (it is the same as linux.) # /sbin/kexec --args-linux --elf64-core-headers -p \ --command-line="ro root=LABEL=/12 irqpoll maxcpus=1" \ --initrd="/boot/initrd-2.6.18.img /boot/vmlinuz-2.6.18 You can make kdump kernel by compiling with CONFIG_PROC_VMCORE=y, CONFIG_KEXEC=y CONFIG_CRASH_DUMP=y, and so on. RHEL5 kernel is useful. :-) Best Regards, Akio Takebe >Hi, Akio > >Thanks to your nice advice :-) >Due to your advice , I learned relation between crash dump and kdump. > >But, I've not been able to setup crash kernel correctly. >In xen, step to setup kdump kernel is different with ordinary linux kernel? > >#I tried with kdump.txt in linux kernel document. but.... > >best regards. > > > >Akio Takebe wrote: >> Hi, Ryo >> >> >>> (XEN) * no crash kernel loaded! >>> >> You should set kexec/kdump completely. >> The message means you don't load kdump kernel with kexec command. >> zyou can check it by looking at /sys/kernel/kexec_crash_loaded. >> >> If you cannot load the kernel, please check /proc/iomem. >> >> Best Regards, >> >> Akio Takebe >> >> >> >**************************************** >HPCS lab >4th grade student of Colledge of Information Science, University of Tsukuba > >Ryo Kanbayashi