<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I have back ported to multiple versions of different kexec-tools. Also I disabled watchdogs so that the first kernel reboot is not kicked in.<div>Now, with all those kexec-tools I see that it hangs after&nbsp;post_verification_setup_arch( ).</div><div>And I had to hard reboot the router box.</div><div><br></div><div>Is there a specific kexec tools that is known to work with 2.6.14 ? Or any additional changes needed ?</div><div><br></div><div>Any inputs welcome , thanks in advance !!</div><div><br></div><div>Please CC me in reply.</div><div><br></div><div>Regards,</div><div>Prabhakar<br><br>--- On <b>Tue, 9/29/09, Eric W. Biederman <i>&lt;ebiederm@xmission.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Eric W. Biederman &lt;ebiederm@xmission.com&gt;<br>Subject: Re: [Fastboot]
 kexec - 2.6.14 - loads BIOS again<br>To: "Prabhakar K." &lt;krishkar99@yahoo.com&gt;<br>Cc: "Kexec Mailing List" &lt;kexec@lists.infradead.org&gt;, fastboot@lists.linux-foundation.org<br>Date: Tuesday, September 29, 2009, 6:11 AM<br><br><div class="plainMail">"Prabhakar K." &lt;<a ymailto="mailto:krishkar99@yahoo.com" href="/mc/compose?to=krishkar99@yahoo.com">krishkar99@yahoo.com</a>&gt; writes:<br><br>&gt;&gt; Hi - After my previous posting I was able to make some progress.<br>&gt;&gt;<br>&gt;&gt; When I do<br>&gt;&gt;<br>&gt;&gt; kexec -l vmlinux --append="init 1 root=/dev/hda2" --console-serial<br>&gt;&gt;<br>&gt;&gt; and <br>&gt;&gt; kexec -e,<br>&gt;&gt;<br>&gt;&gt; I get message:<br>&gt;&gt;<br>&gt;&gt; Starting new kernel<br>&gt;&gt; I'm in purgatory<br>&gt;&gt;<br>&gt;&gt; And after that it still boots from BIOS (to the same first kernel).<br>&gt;&gt;<br>&gt;&gt; Whats the problem here?<br>&gt;<br>&gt; I would recommend instrumenting up
 purgatory and then your target kernel.<br>&gt;<br>&gt; It is quite possible the problem is in your backport.<br>&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&nbsp; I have instrumented the purgatory code. when I run kexec -e, It hangs for a<br>&gt; while at <br>&gt; sha256_starts(&amp;ctx); in the function verify_sha256_digest(), and then reboots<br>&gt; to the first kernel (from BIOS). I have put debug prints in sha256_starts, but<br>&gt; none of those are executed.<br>&gt;<br>&gt; Interestingly, the same function sha256_starts is executed during kexec -l,<br>&gt; which is called as part of update_purgatory( )( when my_load( ) is called from<br>&gt; kexec.c).<br>&gt; so its surprise why the same function is giving problems when kexec -e is run.<br><br>Do you by any chance have a watchdog you are not petting?<br><br>Eric<br><br></div></blockquote></div></td></tr></table><br>