[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [xen-devel] Q:xen/dom0: Use host E820 map



Sorry, there is some mistake.

>1: This issue just happened on 32bit dom0.(the xen VMM is 64bit).
>i have test on [VMM: xen4.4 (64bit)     dom0 kernel 3.10 (64bit)], this issue can reproduce.
---------the reproduce environment [VMM: xen4.4 (64bit)     dom0 kernel 3.10 (32bit)].   it will work correctly when dom0 is 64bit.

>2:  xen VMM   e820 info:
>(XEN)  0000000000000000 - 000000000009ac00 (usable)
>.....................
>(XEN)  0000000000100000 - 000000007df7f000 (usable)
>.........................
>(XEN)  0000000100000000 - 0000000880000000 (usable)
>
>3: 32bit dom0 get host e820 info by XENMEM_machine_memory_map
>[    0.000000]  Xen: 0000000000000000 - 000000000009a000 (usable
>......
>[    0.000000]  Xen: 0000000000100000 - 000000007df7f000 (usable)
>.....
>
>so the dom0 last_pfn = 0x7df7f
>
>domo info:
>[root@devserver-173 ~]# xl info | grep xen_commandline
>xen_commandline        : mem=1024G  lowmem_emergency_pool=1M crashkernel=64M@32M  loglvl=all >guest_loglvl=all dom0_mem=3072M,max:3072M
>
>[root@devserver-173 ~]# free
>             total       used       free     shared    buffers     cached
>Mem:       1960848     240108    1720740          0       8268      88812
>-/+ buffers/cache:     143028    1817820
>Swap:      2096476          0    2096476
>
>
>My Debug:
>
>using the  XENMEM_memory_map to get pseudo-e820 map on dom0, the dom0 mem can work >correctly.
>but the dom0 console is blank.



Date:  Wed, Apr 15, 2015 09:13 PM
To:  "ÀîÒå"<33186108@xxxxxx>;
Cc:  "xs-devel"<xs-devel@xxxxxxxxxxxxxxxxxxx>; "xen-devel"<xen-devel@xxxxxxxxxxxxx>;
Subject:  Re: [Xen-devel] [xen-devel] Q:xen/dom0: Use host E820 map

On Wed, Apr 15, 2015 at 03:46:37PM +0800, ÀîÒå wrote:
> Hi ALL,
>
>
> Environment
>     VMM:   Xen-4.1.6.1
>     dom0:  3.0.101

3.0? Whoa. Yes you will hit issues with that. Please upgrade
to latest kernels.
>
>
> Quesition:
> Set dom0 mem using the kernel cmdline:  dom0_mem=3072M,max:3072M, after booting, the dom0 mem is 1914M.
> the others (3072M-1914M) has returned to xen vmm. maybe it is the e820 hole issue.
>
>
> can you help me to fix this issue.
>
>
> Thanks a lot
>
>
>
>
>
> pls,
> dom0 e820 Info:
> ...
> [    0.000000] BIOS-provided physical RAM map:
> [    0.000000]  Xen: 0000000000000000 - 000000000009a000 (usable)
> [    0.000000]  Xen: 000000000009ac00 - 0000000000100000 (reserved)
> [    0.000000]  Xen: 0000000000100000 - 000000007df7f000 (usable)
> [    0.000000]  Xen: 000000007df7f000 - 000000007e0f7000 (reserved)
> [    0.000000]  Xen: 000000007e0f7000 - 000000007e2f0000 (ACPI NVS)
> [    0.000000]  Xen: 000000007e2f0000 - 000000007f36b000 (reserved)
> [    0.000000]  Xen: 000000007f36b000 - 000000007f800000 (ACPI NVS)
> [    0.000000]  Xen: 0000000080000000 - 0000000090000000 (reserved)
> [    0.000000]  Xen: 00000000fec00000 - 00000000fec02000 (reserved)
> [    0.000000]  Xen: 00000000fec40000 - 00000000fec41000 (reserved)
> [    0.000000]  Xen: 00000000fed1c000 - 00000000fed40000 (reserved)
> [    0.000000]  Xen: 00000000fee00000 - 00000000fee01000 (reserved)
> [    0.000000]  Xen: 00000000ff000000 - 0000000100000000 (reserved)
> [    0.000000] Notice: NX (Execute Disable) protection missing in CPU!
> [    0.000000] SMBIOS 2.7 present.
> [    0.000000] DMI: Supermicro X9DRL-3F/iF/X9DRL-3F/iF, BIOS 3.0a 08/08/2013
> [    0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
> [    0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
> [    0.000000] last_pfn = 0x7df7f max_arch_pfn = 0x1000000
>
>
>
>
>
> XEN e820 Info:
> (XEN) Xen-e820 RAM map:
> (XEN)  0000000000000000 - 000000000009ac00 (usable)
> (XEN)  000000000009ac00 - 00000000000a0000 (reserved)
> (XEN)  00000000000e0000 - 0000000000100000 (reserved)
> (XEN)  0000000000100000 - 000000007df7f000 (usable)
> (XEN)  000000007df7f000 - 000000007e0f7000 (reserved)
> (XEN)  000000007e0f7000 - 000000007e2f0000 (ACPI NVS)
> (XEN)  000000007e2f0000 - 000000007f36b000 (reserved)
> (XEN)  000000007f36b000 - 000000007f800000 (ACPI NVS)
> (XEN)  0000000080000000 - 0000000090000000 (reserved)
> (XEN)  00000000fed1c000 - 00000000fed40000 (reserved)
> (XEN)  00000000ff000000 - 0000000100000000 (reserved)
> (XEN)  0000000100000000 - 0000000880000000 (usable)
> (XEN) Kdump: 64MB (65536kB) at 0x2000000
> (XEN) ACPI: RSDP 000F04A0, 0024 (r2 ALASKA)
> (XEN) ACPI: XSDT 7E208088, 008C (r1 ALASKA    A M I  1072009 AMI     10013)
> (XEN) ACPI: FACP 7E214EA0, 010C (r5 ALASKA    A M I  1072009 AMI     10013)
> (XEN) ACPI Warning (tbfadt-0232): FADT (revision 5) is longer than ACPI 2.0 version, truncating length 0x10C to 0xF4 [20070126]
> (XEN) ACPI: DSDT 7E2081A8, CCF8 (r2 ALASKA    A M I       15 INTL 20051117)
> (XEN) ACPI: FACS 7E2E7080, 0040
> (XEN) ACPI: APIC 7E214FB0, 00D4 (r3 ALASKA    A M I  1072009 AMI     10013)
> (XEN) ACPI: FPDT 7E215088, 0044 (r1 ALASKA    A M I  1072009 AMI     10013)
> (XEN) ACPI: MCFG 7E2150D0, 003C (r1 ALASKA OEMMCFG.  1072009 MSFT       97)
> (XEN) ACPI: SRAT 7E215110, 0330 (r1 A M I  AMI SRAT        1 AMI.        0)
> (XEN) ACPI: SLIT 7E215440, 0030 (r1 A M I  AMI SLIT        0 AMI.        0)
> (XEN) ACPI: SPMI 7E215470, 0040 (r5 A M I   OEMSPMI        0 AMI.        0)
> (XEN) ACPI: SSDT 7E2154B0, D0CB0 (r2  INTEL    CpuPm     4000 INTL 20051117)
> (XEN) ACPI: EINJ 7E2E6160, 0130 (r1    AMI AMI EINJ        0             0)
> (XEN) ACPI: ERST 7E2E6290, 0230 (r1  AMIER AMI ERST        0             0)
> (XEN) ACPI: HEST 7E2E64C0, 00A8 (r1    AMI AMI HEST        0             0)
> (XEN) ACPI: BERT 7E2E6568, 0030 (r1    AMI AMI BERT        0             0)
> (XEN) ACPI: DMAR 7E2E6598, 0120 (r1 A M I   OEMDMAR        1 INTL        1)
> (XEN) System RAM: 32735MB (33520740kB)

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.