Debug Kernel Crash
Thayumanavar S
thayumker at gmail.com
Thu Mar 31 11:28:49 EDT 2011
> kernel. following are the
> commands am using. Can some one point, if there is any thing wrong with
> this.
> chkconfig kdump on
> /etc/init.d/kdump start
> kexec -l --append="`cat /proc/cmdline`"
> --initrd=/boot/initrd.img-2.6.35.10-kdump /boot/vmlinuz-2.6.35.10-kdump
> kexec -e
> works fine and loads the kernel successfully, i will be able to see starting
> new kernel in the shell
> chkconfig kdump on
> /etc/init.d/kdump start
> kexec -p --append="`cat /proc/cmdline`" --initrd=/boot/initrd.img-2.6.35.10
> -kdump
> /boot/vmlinuz-2.6.35.10
> -kdump
> i simulate the panic by using
> echo 1 > /proc/sys/kernel/sysrq
> echo c > /proc/sysrq-trigger
> which just crash the kernel and system hangs, and it does not show any
> message starting new kernel.
does /var/crash or kdump target directory as mentioned in
/etc/kdump.conf exists?
sometime it may be a while before it starts to dump if memory on
machine is huge and
you have set kdump level to dump everything.
thx,thayumanavar s.
More information about the Kernelnewbies
mailing list