2010-11-18 09:49:38

by Pavel Machek

[permalink] [raw]
Subject: kexec documentation missing, bad links in kdump.txt

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


2010-11-18 10:12:21

by Cong Wang

[permalink] [raw]
Subject: Re: kexec documentation missing, bad links in kdump.txt

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

2010-11-18 14:23:48

by Vivek Goyal

[permalink] [raw]
Subject: Re: kexec documentation missing, bad links in kdump.txt

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

2010-11-18 18:08:11

by Randy Dunlap

[permalink] [raw]
Subject: Re: kexec documentation missing, bad links in kdump.txt

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 ***

2010-11-18 22:19:45

by Simon Horman

[permalink] [raw]
Subject: Re: kexec documentation missing, bad links in kdump.txt

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.