<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div class="plainMail"><br>> Hi - After my previous posting I was able to make some progress.<br>><br>> When I do<br>><br>> kexec -l vmlinux --append="init 1 root=/dev/hda2" --console-serial<br>><br>> and <br>> kexec -e,<br>><br>> I get message:<br>><br>> Starting new kernel<br>> I'm in purgatory<br>><br>> And after that it still boots from BIOS (to the same first kernel).<br>><br>> Whats the problem here?<br><br>I would recommend instrumenting up purgatory and then your target kernel.<br><br>It is quite possible the problem is in your backport.</div><div class="plainMail"><br></div><div class="plainMail">>>>></div><div class="plainMail"> I have instrumented the purgatory code. when I run kexec -e, It hangs for a while at <br>sha256_starts(&ctx); in the
function verify_sha256_digest(), and then reboots to the first kernel (from BIOS). I have put debug prints in sha256_starts, but none of those are executed.</div><div class="plainMail"><br></div><div class="plainMail">Interestingly, the same function sha256_starts is executed during kexec -l, which is called as part of update_purgatory( )( when my_load( ) is called from kexec.c).</div><div class="plainMail">so its surprise why the same function is giving problems when kexec -e is run.</div><div class="plainMail"><br></div><div class="plainMail"><br></div><div class="plainMail">> What am I missing here?<br><br>The appropriate list. Discussion of all things kexec has moved to the kexec<br>list at infradead which I have cc'd.<br><br></div><div class="plainMail">>>> Thanks Eric. For directing me to the right mailing list.<br><br></div><div class="plainMail">I am not subscribed to the list, so please CC me. Thanks
!!</div><div class="plainMail"><br></div><div class="plainMail">Regards,</div><div class="plainMail">Prabhakar</div></td></tr></table><br>