Hi!
Where can one get kexec documentation?
(In particular, we are trying to get it to boot on ARM board, and
wonder if something like CONFIG_RELOCATABLE_KERNEL is needed.)
Unfortunately, only pieces mentioning kexec are kdump pieces
(Documentation/kdump/kdump.txt), and links there, such as
http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/kexec-tools.tar.gz
http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/README.html
http://www.kernel.org/git/?p=linux/kernel/git/horms/kexec-tools.git
are no longer valid :-(.
Pavel
On Thu, Nov 18, 2010 at 10:50:15AM +0100, Pavel Machek wrote:
>Hi!
>
>Where can one get kexec documentation?
>
>(In particular, we are trying to get it to boot on ARM board, and
>wonder if something like CONFIG_RELOCATABLE_KERNEL is needed.)
>
If you want to use the same kernel as the crash kernel, yes,
you have to support relocatable during boot on your arch.
>Unfortunately, only pieces mentioning kexec are kdump pieces
>(Documentation/kdump/kdump.txt), and links there, such as
>
>http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/kexec-tools.tar.gz
>
>http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/README.html
>
>http://www.kernel.org/git/?p=linux/kernel/git/horms/kexec-tools.git
>
>are no longer valid :-(.
Try:
git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git
On Thu, Nov 18, 2010 at 10:50:15AM +0100, Pavel Machek wrote:
> Hi!
>
> Where can one get kexec documentation?
>
> (In particular, we are trying to get it to boot on ARM board, and
> wonder if something like CONFIG_RELOCATABLE_KERNEL is needed.)
>
For kexec you will not need CONFIG_RELOCATABLE_KERNEL. But if you also
want to use kdump and use same bzImage as first kernel then you will
need relocatable kernel support.
For kdump I had done two presentations at OLS. You might find little
bit of kexec details too.
Kdump: Smarter, Easier, Trustier
http://www.kernel.org/doc/ols/2007/ols2007v1-pages-167-178.pdf
Kdump, a kexec based crash dumping mechanism.
http://lse.sourceforge.net/kdump/documentation/ols2oo5-kdump-paper.pdf
thanks
Vivek
> Unfortunately, only pieces mentioning kexec are kdump pieces
> (Documentation/kdump/kdump.txt), and links there, such as
>
> http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/kexec-tools.tar.gz
>
> http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/README.html
>
> http://www.kernel.org/git/?p=linux/kernel/git/horms/kexec-tools.git
>
> are no longer valid :-(.
> Pavel
On Thu, 18 Nov 2010 09:23:22 -0500 Vivek Goyal wrote:
> On Thu, Nov 18, 2010 at 10:50:15AM +0100, Pavel Machek wrote:
> > Hi!
> >
> > Where can one get kexec documentation?
> >
> > (In particular, we are trying to get it to boot on ARM board, and
> > wonder if something like CONFIG_RELOCATABLE_KERNEL is needed.)
> >
Simon, Vivek --
can you get someone to update the Documentation/ files, please?
> For kexec you will not need CONFIG_RELOCATABLE_KERNEL. But if you also
> want to use kdump and use same bzImage as first kernel then you will
> need relocatable kernel support.
>
> For kdump I had done two presentations at OLS. You might find little
> bit of kexec details too.
>
> Kdump: Smarter, Easier, Trustier
> http://www.kernel.org/doc/ols/2007/ols2007v1-pages-167-178.pdf
>
> Kdump, a kexec based crash dumping mechanism.
> http://lse.sourceforge.net/kdump/documentation/ols2oo5-kdump-paper.pdf
>
> thanks
> Vivek
>
> > Unfortunately, only pieces mentioning kexec are kdump pieces
> > (Documentation/kdump/kdump.txt), and links there, such as
> >
> > http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/kexec-tools.tar.gz
> >
> > http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/README.html
> >
> > http://www.kernel.org/git/?p=linux/kernel/git/horms/kexec-tools.git
> >
> > are no longer valid :-(.
> > Pavel
> --
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
On Thu, Nov 18, 2010 at 10:06:47AM -0800, Randy Dunlap wrote:
> On Thu, 18 Nov 2010 09:23:22 -0500 Vivek Goyal wrote:
>
> > On Thu, Nov 18, 2010 at 10:50:15AM +0100, Pavel Machek wrote:
> > > Hi!
> > >
> > > Where can one get kexec documentation?
> > >
> > > (In particular, we are trying to get it to boot on ARM board, and
> > > wonder if something like CONFIG_RELOCATABLE_KERNEL is needed.)
> > >
>
> Simon, Vivek --
> can you get someone to update the Documentation/ files, please?
Sure.