<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 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><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></div></td></tr></table><br>