Hi,<br><br>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? I am running SUSE 2.6.25 on a VMWare workstation. Does running on VM could change any thing such as memory layout or anything related to panic handling?<br>
<br>You specified taking a look at the /sys/kernel/kexec_crash_loaded file. Is there a central document which documents all these error resolving guidelines? Also I checked in the /var/log/messages and there is no message related to this printed over there. <br>
<br><br>Thank you,<br>Mrunal<br><br><div class="gmail_quote">On Tue, Apr 29, 2008 at 5:17 PM, Neil Horman <<a href="mailto:nhorman@redhat.com">nhorman@redhat.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, Apr 29, 2008 at 03:40:13PM -0700, Mrunal Gawade wrote:<br>
> Thanks Sachin.<br>
><br>
> The value over there is a "0" which means I have a failure. How do I<br>
> diagnose what is the problem? I was able to load a normal kernel and then<br>
> use "e" option to reboot into it. But crash dump kernel seemed to be giving<br>
> problem always.<br>
><br>
><br>
> Thank you,<br>
> Mrunal<br>
><br>
<br>
</div>check /var/log/messages, to see if there is any message there. It wouldn't hurt<br>
to enable debugging in the kexec binary either, although if the load is actually<br>
failing, I would think you would get something on stderr. First guess would be<br>
that you don't have a crashkernel area specified on your command line (or you<br>
do, and its reservation failed, which also will show up in the logs most likely)<br>
<br>
Neil<br>
<div class="Ih2E3d"><br>
> On Tue, Apr 29, 2008 at 4:13 AM, Sachin P. Sant <<a href="mailto:sachinp@in.ibm.com">sachinp@in.ibm.com</a>> wrote:<br>
><br>
> > Mrunal Gawade wrote:<br>
> ><br>
> > > After I execute this command. Should I expect any prompt that kernel<br>
> > > loaded successfully?<br>
> > ><br>
> > Check the /sys/kernel/kexec_crash_loaded file. Value "1" means success.<br>
> ><br>
> > Thanks<br>
> > -Sachin<br>
> ><br>
> ><br>
<br>
</div>> _______________________________________________<br>
> kexec mailing list<br>
> <a href="mailto:kexec@lists.infradead.org">kexec@lists.infradead.org</a><br>
> <a href="http://lists.infradead.org/mailman/listinfo/kexec" target="_blank">http://lists.infradead.org/mailman/listinfo/kexec</a><br>
<br>
<br>
--<br>
/***************************************************<br>
<font color="#888888"> *Neil Horman<br>
*Software Engineer<br>
*Red Hat, Inc.<br>
*<a href="mailto:nhorman@redhat.com">nhorman@redhat.com</a><br>
*gpg keyid: 1024D / 0x92A74FA1<br>
*<a href="http://pgp.mit.edu" target="_blank">http://pgp.mit.edu</a><br>
***************************************************/<br>
</font></blockquote></div><br>