<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><span class="Apple-style-span" style="font-family: arial, helvetica, clean, sans-serif; border-collapse: collapse; line-height: 15px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><div>Sending again as it is not posted yet !!</div><div><br></div>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 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Now, with all those kexec-tools I see that it hangs after post_verification_setup_arch( ).</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;
padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">And I had to hard reboot the router box.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Is there a specific kexec tools that is known to work with 2.6.14 ? Or any additional changes needed ?</div><div style="margin-top:
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Any inputs welcome , thanks in advance !!</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width:
initial; outline-color: initial; "></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Please CC me in reply.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "><br style="line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; "></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Regards,</div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; outline-style: none; outline-width: initial; outline-color: initial; ">Prabhakar</div></span><br>--- On <b>Tue, 9/29/09, Eric W. Biederman <i><ebiederm@xmission.com></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 <ebiederm@xmission.com><br>Subject: Re: [Fastboot] kexec - 2.6.14 - loads BIOS again<br>To: "Prabhakar K." <krishkar99@yahoo.com><br>Cc: "Kexec Mailing List" <kexec@lists.infradead.org>, fastboot@lists.linux-foundation.org<br>Date: Tuesday, September 29, 2009, 6:11 AM<br><br><div class="plainMail">"Prabhakar K." <<a ymailto="mailto:krishkar99@yahoo.com" href="/mc/compose?to=krishkar99@yahoo.com">krishkar99@yahoo.com</a>> writes:<br><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.<br>><br>>>>>><br>> I have instrumented the purgatory code. when I run kexec -e, It hangs for a<br>> while at <br>> sha256_starts(&ctx); in the function verify_sha256_digest(), and then reboots<br>> to the first kernel (from BIOS). I have put debug prints in sha256_starts,
but<br>> none of those are executed.<br>><br>> Interestingly, the same function sha256_starts is executed during kexec -l,<br>> which is called as part of update_purgatory( )( when my_load( ) is called from<br>> kexec.c).<br>> 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></td></tr></table><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com