Re: [PATCH -v2 00/10] x86: Use BRK to pre mapping page table to makexen happy

From: Yinghai Lu
Date: Tue Oct 09 2012 - 14:27:15 EST


On Tue, Oct 9, 2012 at 5:19 AM, Stefano Stabellini
<stefano.stabellini@xxxxxxxxxxxxx> wrote:
>
> I agree with Peter that this series is going in the right direction.
> However if I give more than 4G of RAM to the VM I get a panic at boot:
>
> [ 0.000000] Linux version 3.6.0-rc7+ (sstabellini@st22) (gcc version 4.4.5 (Debian 4.4.5-8) ) #532 SMP Tue Oct 9 12:15:32 UTC 2012
> [ 0.000000] Command line: root=/dev/xvda1 textmode=1 xencons=xvc0 debug loglevel=9 earlyprintk=xen
> [ 0.000000] ACPI in unprivileged domain disabled
> [ 0.000000] e820: BIOS-provided physical RAM map:
> [ 0.000000] Xen: [mem 0x0000000000000000-0x000000000009ffff] usable
> [ 0.000000] Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
> [ 0.000000] Xen: [mem 0x0000000000100000-0x00000001387fffff] usable
> [ 0.000000] bootconsole [xenboot0] enabled
> [ 0.000000] NX (Execute Disable) protection: active
> [ 0.000000] DMI not present or invalid.
> [ 0.000000] e820: update [mem 0x00000000-0x0000ffff] usable ==> reserved
> [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
> [ 0.000000] No AGP bridge found
> [ 0.000000] e820: last_pfn = 0x138800 max_arch_pfn = 0x400000000
> [ 0.000000] e820: last_pfn = 0x100000 max_arch_pfn = 0x400000000
> [ 0.000000] initial memory mapped: [mem 0x00000000-0x02781fff]
> [ 0.000000] Base memory trampoline at [ffff88000009a000] 9a000 size 24576
> [ 0.000000] calculate_table_space_size: [mem 0x00000000-0x000fffff]
> [ 0.000000] [mem 0x00000000-0x000fffff] page 4k
> [ 0.000000] calculate_table_space_size: [mem 0x00100000-0x1387fffff]
> [ 0.000000] [mem 0x00100000-0x1387fffff] page 4k
> [ 0.000000] init_memory_mapping: [mem 0x137e33000-0x1387fffff]
> [ 0.000000] [mem 0x137e33000-0x1387fffff] page 4k

great, thank for testing it.

will come out new version that willget rid of find_table size and
cal_table ...stuff.

Thanks

Yinghai
--
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/