public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vivek Goyal <vgoyal@in.ibm.com>
To: Adrian Bunk <bunk@stusta.de>
Cc: linux-kernel@vger.kernel.org,
	Fastboot mailing list <fastboot@lists.osdl.org>,
	"Eric W. Biederman" <ebiederm@xmission.com>
Subject: Re: strange CRASH_DUMP dependencies
Date: Mon, 22 Aug 2005 11:53:02 +0530	[thread overview]
Message-ID: <20050822062302.GA4293@in.ibm.com> (raw)
In-Reply-To: <20050821225310.GE5726@stusta.de>

On Mon, Aug 22, 2005 at 12:53:10AM +0200, Adrian Bunk wrote:
> config CRASH_DUMP
> 	bool "kernel crash dumps (EXPERIMENTAL)"
> 	depends on EMBEDDED
> 	depends on EXPERIMENTAL
> 	depends on HIGHMEM
> 	help
> 	  Generate crash dump after being started by kexec.
> 
> Two questions:
> - If it has any dependencies on kexec, why isn't there a dependency?

crashdump has got dependency on kexec but not in the same kernel. What
I mean is that as of today two kernels are involved in this process. First
kernel is crashing kernel which should have enabled CONFIG_KEXEC and second
kernel (capture kernel) is one which captures the dump and should have
CONFIG_CRASH_DUMP enabled. Second kernel need not to have CONFIG_KEXEC
enabled for catpturing dump. Hence CRASH_DUMP is not directly dependent
on CONFIG_KEXEC.

> - Is there any sane reason for the dependency on EMBEDDED?
> 

I believe this was introduced because large servers can have huge amount
of memory (running into Tera Bytes) and saving all that memory might not be
practical. Hence it was perceived that until some filtering mechanism is
implemented, it is more suited for small systems.

Personally I think it can be gotten away with because as a developer I can
run gdb directly on /proc/vmcore and need not to save the whole memory hence
need not to restrict this feature only for small systems.

Eric, do you think otherwise?

Thanks
Vivek

  reply	other threads:[~2005-08-22 22:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-21 22:53 strange CRASH_DUMP dependencies Adrian Bunk
2005-08-22  6:23 ` Vivek Goyal [this message]
2005-08-22  6:40   ` Eric W. Biederman
2005-08-22 20:44   ` Adrian Bunk
2005-08-23  0:56     ` Eric W. Biederman
2005-08-23  7:14     ` Vivek Goyal

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=20050822062302.GA4293@in.ibm.com \
    --to=vgoyal@in.ibm.com \
    --cc=bunk@stusta.de \
    --cc=ebiederm@xmission.com \
    --cc=fastboot@lists.osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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