From: "amit regmi" Subject: XEN: how to fix virtual kernel memory layout Date: Mon, 1 Sep 2008 21:45:35 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1687466670==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1687466670== Content-Type: multipart/alternative; boundary="----=_Part_171_27643394.1220319935042" ------=_Part_171_27643394.1220319935042 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I installed xen-server using " sudo apt-get install " and I got the following virtual memory layout on my system. [ 0.515286] virtual kernel memory layout: [ 0.515287] fixmap : 0xf568f000 - 0xf57ff000 (1472 kB) [ 0.515288] pkmap : 0xf5400000 - 0xf5600000 (2048 kB) [ 0.515289] vmalloc : 0xee000000 - 0xf53fe000 ( 115 MB) [ 0.515290] lowmem : 0xc0000000 - 0xed800000 ( 728 MB) [ 0.515291] .init : 0xc03f3000 - 0xc0425000 ( 200 kB) [ 0.515292] .data : 0xc0305f6e - 0xc03ed544 ( 925 kB) [ 0.515293] .text : 0xc0100000 - 0xc0305f6e (2071 kB) I compiled 2.6.26 kernel from Kernel.org and enabled XEN, with the following .config parameters, CONFIG_HIGHMEM64G=y CONFIG_XEN=y x86_32=y CONFIG_PARAVIRT_GUEST=y X86_CMPXCHG=y X86_TSC=y X86_PAE=y # CONFIG_X86_VOYAGER is not set # CONFIG_X86_VISWS is not set I want the above virtual memory layout from the compiled kernel but I get [ 27.546614] fixmap : 0xfff4d000 - 0xfffff000 ( 712 kB) [ 27.546615] pkmap : 0xff800000 - 0xffc00000 (4096 kB) [ 27.546616] vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB) [ 27.546617] lowmem : 0xc0000000 - 0xf8000000 ( 896 MB) [ 27.546618] .init : 0xc03e3000 - 0xc043e000 ( 364 kB) [ 27.546619] .data : 0xc02f7e86 - 0xc03dce84 ( 915 kB) [ 27.546620] .text : 0xc0100000 - 0xc02f7e86 (2015 kB) Will there be something extra I need to do ? Moreover, can the 168M memory hole that gets created for the hypervisor be used in the kernel space ?? Thanks in advance, -Regmee ------=_Part_171_27643394.1220319935042 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,
I installed xen-server using " sudo apt-get install " and I got the
following virtual memory layout on my system.

  [    0.515286] virtual kernel memory layout:
  [    0.515287]     fixmap  : 0xf568f000 - 0xf57ff000   (1472 kB)
  [    0.515288]     pkmap   : 0xf5400000 - 0xf5600000   (2048 kB)
  [    0.515289]     vmalloc : 0xee000000 - 0xf53fe000   ( 115 MB)
  [    0.515290]     lowmem  : 0xc0000000 - 0xed800000   ( 728 MB)
  [    0.515291]       .init : 0xc03f3000 - 0xc0425000   ( 200 kB)
  [    0.515292]       .data : 0xc0305f6e - 0xc03ed544   ( 925 kB)
  [    0.515293]       .text : 0xc0100000 - 0xc0305f6e   (2071 kB)

I compiled 2.6.26 kernel from Kernel.org and enabled XEN, with the following
.config parameters,

CONFIG_HIGHMEM64G=y
CONFIG_XEN=y
x86_32=y
CONFIG_PARAVIRT_GUEST=y
X86_CMPXCHG=y
X86_TSC=y
X86_PAE=y
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_VISWS is not set

I want the above virtual memory layout from the compiled kernel but I get

[   27.546614]     fixmap  : 0xfff4d000 - 0xfffff000   ( 712 kB)
[   27.546615]     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
[   27.546616]     vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
[   27.546617]     lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
[   27.546618]       .init : 0xc03e3000 - 0xc043e000   ( 364 kB)
[   27.546619]       .data : 0xc02f7e86 - 0xc03dce84   ( 915 kB)
[   27.546620]       .text : 0xc0100000 - 0xc02f7e86   (2015 kB)

Will there be something extra I need to do ?
Moreover, can the 168M memory hole that gets created for the hypervisor be used
in the kernel space ??

Thanks in advance,
-Regmee




------=_Part_171_27643394.1220319935042-- --===============1687466670== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1687466670==--