Re: [patch 1/5] Extended crashkernel command line



* Vivek Goyal <vgoyal@xxxxxxxxxx> [2007-09-11 08:15]:

"offset" seems to be optional in the new syntax. What happens if user does
not specify offset. I think crash_base will be set to zero and system will
try to reserve x amount of memory start at zero? That would fail?

That's handled in the architecture specific code -- because it's
different on each architecture and the architecture specific code does
memory reservation. IA64 already can handle this case (on IA64,
specifying 0 is the same than leaving out the base address, and that's
why I wanted to keep that semantics). I think it doesn't also make
sense on i386/x86_64 to choose 0 as real base address, because the
value below 1 MB is special for booting ...

I think we should add some intelligence for automatic selection of "offset"
if user has not specified one. Automatically choose a chunk of free memory.
This takes away the headache from user for selecting a right place. In fact
one "offset" might not be valid for all the systems. I remember, somebody
had reported that ACPI tables were mapped lower in the address space and
reserving memory for kdump had failed.

I think you're right -- with the relocatable kernel it makes sense to
have the kernel to decide where to reservate that memory. But that's
beyond of the scope of that patch series -- however, I can come up
with a solution, after that patch has been finished.


Thanks,
Bernhard

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: how to add 1 extra section in config.bib
    ... build allows you to specify multiple discontiguous memory regions where ... and copy them into internal memory as part of your normal driver code. ... Michel Verhagen, eMVP ... Typically when you reserve a memory block in config.bib - you may want ...
    (microsoft.public.windowsce.embedded)
  • Re: how to add 1 extra section in config.bib
    ... "Michel Verhagen (eMVP)" wrote: ... specifying NK behind a module name in platform.bib, ... As I understand - you want to load certain dll into a different memory ... Typically when you reserve a memory block in config.bib - you may want to ...
    (microsoft.public.windowsce.embedded)
  • Re: how to add 1 extra section in config.bib
    ... Just define another RAMIMAGE section and name it CPUMEM and specify the 64 KB virtual address (you have to set up a static virtual mapping to that memory of course). ... Typically when you reserve a memory block in config.bib - you may want to ...
    (microsoft.public.windowsce.embedded)
  • Re: Call memory reference - NASM - x86
    ... address out of memory. ... offset, and 16 bits of segment. ... Unless you specify otherwise, it is an offset from DS, just like ...
    (alt.lang.asm)
  • DRAM and PCI devices at same physical address
    ... I have a dual Xeon system with the Lindenhurst chip set and 1 GB ... In order to reserve a very large block of memory for a ... The devices always appear right after the limit I specify on the kernel ...
    (Linux-Kernel)