On Wed, May 25, 2011 at 8:07 AM, <takuo.koguchi.sw(a)hitachi.com> wrote:
Thanks Dave, MW, Jan,
I tried the patch which set machdep->section_size_bits and
machdep->max_physmem_bits.
When _SECTION_SIZE_BITS is 28, I got the following error, and failed in
sparse_mem_init()
PAGESIZE=4096
mem_section_size = 0
NR_SECTION_ROOTS = 0
NR_MEM_SECTIONS = 16
SECTIONS_PER_ROOT = 512
SECTION_ROOT_MASK = 0x1ff
PAGES_PER_SECTION = 65536
crash: invalid size request: 0 type: "memory section root table"
And when _SECTION_SIZE_BITS is 22, I got the following and sparse_mem_init() returns with
out error.
PAGESIZE=4096
mem_section_size = 8
NR_SECTION_ROOTS = 2
NR_MEM_SECTIONS = 1024
SECTIONS_PER_ROOT = 512
SECTION_ROOT_MASK = 0x1ff
PAGES_PER_SECTION = 1024
... But I got another error later, which I will report later.
Is it possible to provide me a sample vmlinux/vmcore pair which I
could use for testing?