Re: strange CRASH_DUMP dependencies

From: Adrian Bunk (bunk_at_stusta.de)
Date: 08/22/05

  • Next message: Nish Aravamudan: "Re: sleep under spinlock, sequencer.c, 2.6.12.5"
    Date:	Mon, 22 Aug 2005 22:44:17 +0200
    To: Vivek Goyal <vgoyal@in.ibm.com>
    
    

    On Mon, Aug 22, 2005 at 11:53:02AM +0530, Vivek Goyal wrote:
    > 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.

    Sounds reasonable.

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

    It seems you have a wrong impression of what EMBEDDED in the kernel
    does.

    There is _not_ a choice EMBEDDED/WORKSTATION/SERVER.

    EMBEDDED is an option that shows "save space at any cost" options.

    It allows you to tell gcc to generate slower but faster code or to
    deselect options in the "do this only if you _really_ know what you are
    doing" class.

    > Thanks
    > Vivek

    cu
    Adrian

    -- 
           "Is there not promise of rain?" Ling Tan asked suddenly out
            of the darkness. There had been need of rain for many days.
           "Only a promise," Lao Er said.
                                           Pearl S. Buck - Dragon Seed
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Nish Aravamudan: "Re: sleep under spinlock, sequencer.c, 2.6.12.5"

    Relevant Pages

    • Re: ANNOUNCE: CE Linux Forum - Specification V1.0 draft
      ... Kernel SHALL be configuralble with compiler size options, ... "specification" didn't send a patch - the trivial patch was sent by ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Bloat report 2.6.3 -> 2.6.4
      ... For the average computer you can buy at your supermarket today it isn't ... People who need to care about the size of the kernel use hand-tuned ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Weirdness with suspending jobs in 2.6.9-rc3
      ... >> It doesn't depend on which version I'm compiling, ... >> kernel I'm actually running. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [Ocfs2-devel] Re: [RFC] [PATCH] OCFS2
      ... > It's a generic mechanism for userspace driven configuration of kernel ... > subsystems/projects could use it too, ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] add a config option for -Os compilation
      ... kernel with some supported compilers) ... there might be fast path code somewhere in the kernel that becomes ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)