Re: kexec - 2.6.14 - loads BIOS again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Sending again as it is not posted yet !!

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.
Now, with all those kexec-tools I see that it hangs after post_verification_setup_arch( ).
And I had to hard reboot the router box.

Is there a specific kexec tools that is known to work with 2.6.14 ? Or any additional changes needed ?

Any inputs welcome , thanks in advance !!

Please CC me in reply.

Regards,
Prabhakar

--- On Tue, 9/29/09, Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:

From: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
Subject: Re: kexec - 2.6.14 - loads BIOS again
To: "Prabhakar K." <krishkar99@xxxxxxxxx>
Cc: "Kexec Mailing List" <kexec@xxxxxxxxxxxxxxxxxxx>, fastboot@xxxxxxxxxxxxxxxxxxxxxxxxxx
Date: Tuesday, September 29, 2009, 6:11 AM

"Prabhakar K." <krishkar99@xxxxxxxxx> writes:

>> Hi - After my previous posting I was able to make some progress.
>>
>> When I do
>>
>> kexec -l vmlinux --append="init 1 root=/dev/hda2" --console-serial
>>
>> and
>> kexec -e,
>>
>> I get message:
>>
>> Starting new kernel
>> I'm in purgatory
>>
>> And after that it still boots from BIOS (to the same first kernel).
>>
>> Whats the problem here?
>
> I would recommend instrumenting up purgatory and then your target kernel.
>
> It is quite possible the problem is in your backport.
>
>>>>>
>  I have instrumented the purgatory code. when I run kexec -e, It hangs for a
> while at
> 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.
>
> 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).
> so its surprise why the same function is giving problems when kexec -e is run.

Do you by any chance have a watchdog you are not petting?

Eric


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
fastboot mailing list
fastboot@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/fastboot

[Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Linux Media]     [Linux Resources]

Powered by Linux