From: Horms <horms@verge.net.au>
To: Vivek Goyal <vgoyal@in.ibm.com>
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>,
Fastboot mailing list <fastboot@lists.osdl.org>,
Morton Andrew Morton <akpm@osdl.org>,
Mohan Kumar M <mohan@in.ibm.com>
Subject: Re: [PATCH] Kdump documentation update for 2.6.20
Date: Wed, 10 Jan 2007 09:31:11 +0900 [thread overview]
Message-ID: <20070110003110.GC28721@verge.net.au> (raw)
In-Reply-To: <20070109144708.GA6924@in.ibm.com>
On Tue, Jan 09, 2007 at 08:17:08PM +0530, Vivek Goyal wrote:
> On Tue, Jan 09, 2007 at 10:18:47AM +0900, Horms wrote:
> > > Download and build the system and dump-capture kernels
> > > ------------------------------------------------------
> > > +There are two possible methods of using Kdump.
> > > +
> > > + 1) Build a separate custom dump-capture kernel for capturing the
> > > + kernel core dump.
> > > +
> > > + 2) Use system kernel itself as dump-capture kernel and there is
> > > + no need to build a separate dump-capture kernel. (Only for
> > > + i386 architecture kernel version 2.6.20 onwards)
> > > +
> > > +For i386, second method is recommended, as it takes away the need to build
> > > +additional kernel.
> >
> > I think that the above description is a little misleading, and quite
> > i386 centric. The question is not weather or not you are using the
> > system kernel, but rather, what options are needed for the crash kernel.
> >
> Hi Horms,
>
> Thanks for going through the update. Actually I never knew that kdump
> IA64 support is mainline now. I thought it is still in Tony's tree. And
> we never had IA64 specific documentation in kdump.txt file and that's another
> reason that discussion became more i386 centric when it came to relocatable
> kernels.
It wasn't that long ago it was merged, but its there now :)
> > In terms of a non-relocatable kernel, then the boot and crash kernels
> > need to be separate.
> >
> > But in the case of a relocatable kernel, then the boot and crash kernels
> > may be the same, or they may be separate. Depending on just what
> > the end-user wants in each kernel.
> >
> > On ia64 there is no CONFIG_RELOCATABLE option, but the kernel is always
> > relocatable anyway. That is, you can use the same kernel before and
> > after crash (though I am not sure that I have tested this).
> >
>
> I have tried to re-arrange the documentation based on some of your
> recommendations. I have also left couple of sections empty which are
> ia64 specific. I don't have an IA64 machine and I don't know how exactly
> it is used on IA64. Can you please have a quick look at the patch and
> also fill IA64 specific details where appropriate.
Sure, will do.
> Hopefully, this time documentation is clearer.
>
>
> Mohan, Can you please check the correctness of ppc64 specific details.
>
> > > + --append="root=<root-dev> init 1 irqpoll maxcpus=1"
> > > +
> > > +If you are using a relocatable kernel (method 2), then use
> > > +following command.
> > >
> > > + kexec -p <bzImage-of-relocatable-kernel> \
> > > + --initrd=<initrd-for-relocatable-kernel> \
> > > + --append="root=<root-dev> init 1 irqpoll maxcpus=1"
> >
> > --args-linux is not needed on ia64, but its kernel is relocatable.
> > I think the important point is that if you are using a bzImage,
> > then you need --args-linux, and basically at this point that
> > means an i386 (or x86_64) relocatable bzImage.
> >
>
> I am hoping it --args-linux will be required while loading vmlinux on
> IA64? Because this is ELF file specific option. And this interface should
> be common across all the architectures.
>
> > Then again, I could be wrong, I'm not sure that I understand
> > --args-linux, I just know that I'm not using it :)
I will take a look into this.
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
next prev parent reply other threads:[~2007-01-10 0:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-08 7:58 Vivek Goyal
2007-01-09 1:18 ` Horms
2007-01-09 14:47 ` Vivek Goyal
2007-01-10 0:31 ` Horms [this message]
2007-01-10 1:34 ` Zou, Nanhai
2007-01-10 1:53 ` Horms
2007-01-10 4:43 ` Vivek Goyal
2007-01-10 5:37 ` Mohan Kumar M
2007-01-10 9:15 ` Vivek Goyal
2007-01-11 8:13 ` Horms
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070110003110.GC28721@verge.net.au \
--to=horms@verge.net.au \
--cc=akpm@osdl.org \
--cc=fastboot@lists.osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mohan@in.ibm.com \
--cc=vgoyal@in.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome