From: "Sachin P. Sant" <sachinp@in.ibm.com>
To: Mrunal Gawade <mrunal.gawade@gmail.com>
Cc: kexec@lists.infradead.org
Subject: Re: kexec/ kdump setup problem
Date: Wed, 30 Apr 2008 10:17:13 +0530 [thread overview]
Message-ID: <4817F9D1.9010709@in.ibm.com> (raw)
In-Reply-To: <c62583fb0804291914o6d245e64v168dc51be7a2fd80@mail.gmail.com>
Mrunal Gawade wrote:
> Hi,
>
> I just checked /sys/kernel/kexec_crash_loaded file after giving the
> kexec -p command for loading panic kernel. And the value was 1. So it
> was loaded successfully. I then crashed kernel and it hanged. I
> rebooted manually and checked the value in the file again and it was
> "0". So across reboot it got reset. So if I assume that the kernel
> loading was successful, the question remains if it got loaded
> successfully at the designated space 65M@16M. How do I know that?
The file /sys/kernel/kexec_crash_loaded will have value 1 if the kdump kernel has been
loaded successfully. In your case when you executed kexec -p the kernel was loaded at
the designated space and value 1 in kexec_crash_loaded reflects that. This value won't
be retained across reboots. One will have to again execute the kexec -p command to
load the kdump kernel after reboot. [ If kdump service is enabled (chkconfig kdump on)
kexec -p will get executed after every reboot. ]
I think in your case the problem is that after a successful load, the kdump kernel
does not boot on a system crash.[alt-sysrq-c]. you could try adding console
related options to the kexec command and see if that will give some information
on where the kernel hangs.
Thanks
-Sachin
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2008-04-30 4:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-29 3:45 kexec/ kdump setup problem Mrunal Gawade
2008-04-29 11:13 ` Sachin P. Sant
2008-04-29 22:40 ` Mrunal Gawade
2008-04-30 0:17 ` Neil Horman
2008-04-30 2:14 ` Mrunal Gawade
2008-04-30 4:47 ` Sachin P. Sant [this message]
2008-04-30 13:49 ` Neil Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4817F9D1.9010709@in.ibm.com \
--to=sachinp@in.ibm.com \
--cc=kexec@lists.infradead.org \
--cc=mrunal.gawade@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.