Abhinav Srivastava
2008-Sep-23 01:38 UTC
[Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)?
Hi there, I am trying build Xen-3.2-testing version (directly fetched from mercury) on my Intel Core 2 Quad desktop. The desktop has got 4GB of RAM and currently running Fedora 8. I built Xen with PAE disabled (modified the Config.mk file) and rebooted my machine, but it gave me kernel panic error. The message that I saw was "Mismatch occurred. Xen 32-bit lsb, Dom0 32-bit PAE, lsb" I tried different ways to disable PAE support from the dom0 but none of them worked. I built the same xen version on my laptop (Intel Core 2 duo with 2GB of RAM) 2 months back and I got PAE disabled thing working. This time I saw a new parameter "CONFIG_X86_PAE=Y" in the .config file inside the build-linux-2.6.18-xen_x86_32 directory. If I try to make "CONFIG_X86_PAE=N" in the .config file, it does not work as this file gets generated everytime. When I checked the build-linux-2.6.18-xen_x86_3/.config file of my laptop installation, I did not see such configuration parameters. Is it introduced recently or depending upon the machine it gets added on-the-fly? In any case, how to build dom0 kernel with non-PAE support. I really want to build all non-pae kernels for my research work perspective. Please let me know someway/settings so that I could build non-pae dom0 kernel. Any help would be highly appreciated. Thanks, Abhinav Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Sep-23 06:43 UTC
Re: [Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)?
On 23/9/08 02:38, "Abhinav Srivastava" <abhinavs_iitkgp@yahoo.co.in> wrote:> I am trying build Xen-3.2-testing version (directly fetched from mercury) on > my Intel Core 2 Quad desktop. The desktop has got 4GB of RAM and currently > running Fedora 8. I built Xen with PAE disabled (modified the Config.mk file) > and rebooted my machine, but it gave me kernel panic error. The message that I > saw was "Mismatch occurred. > Xen 32-bit lsb, Dom0 32-bit PAE, lsb" > > I tried different ways to disable PAE support from the dom0 but none of them > worked. I built the same xen version on my laptop (Intel Core 2 duo with 2GB > of RAM) 2 months back and I got PAE disabled thing working. > > This time I saw a new parameter "CONFIG_X86_PAE=Y" in the .config file inside > the build-linux-2.6.18-xen_x86_32 directory. If I try to make > "CONFIG_X86_PAE=N" in the .config file, it does not work as this file gets > generated everytime. When I checked the build-linux-2.6.18-xen_x86_3/.config > file of my laptop installation, I did not see such configuration parameters. > > Is it introduced recently or depending upon the machine it gets added > on-the-fly? In any case, how to build dom0 kernel with non-PAE support. I > really want to build all non-pae kernels for my research work perspective. > > Please let me know someway/settings so that I could build non-pae dom0 kernel.Run ''make menuconfig'' in the kernel build directory, and then look for Highmem Support or similar. Should be set to 4GB rather than 64GB. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Abhinav Srivastava
2008-Sep-23 15:58 UTC
Re: [Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)?
--- On Tue, 23/9/08, Keir Fraser <keir.fraser@eu.citrix.com> wrote:> From: Keir Fraser <keir.fraser@eu.citrix.com> > Subject: Re: [Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)? > To: abhinavs_iitkgp@yahoo.co.in, xen-devel@lists.xensource.com > Date: Tuesday, 23 September, 2008, 12:13 PM > On 23/9/08 02:38, "Abhinav Srivastava" > <abhinavs_iitkgp@yahoo.co.in> wrote: > > > I am trying build Xen-3.2-testing version (directly > fetched from mercury) on > > my Intel Core 2 Quad desktop. The desktop has got 4GB > of RAM and currently > > running Fedora 8. I built Xen with PAE disabled > (modified the Config.mk file) > > and rebooted my machine, but it gave me kernel panic > error. The message that I > > saw was "Mismatch occurred. > > Xen 32-bit lsb, Dom0 32-bit PAE, lsb" > > > > I tried different ways to disable PAE support from the > dom0 but none of them > > worked. I built the same xen version on my laptop > (Intel Core 2 duo with 2GB > > of RAM) 2 months back and I got PAE disabled thing > working. > > > > This time I saw a new parameter > "CONFIG_X86_PAE=Y" in the .config file inside > > the build-linux-2.6.18-xen_x86_32 directory. If I try > to make > > "CONFIG_X86_PAE=N" in the .config file, it > does not work as this file gets > > generated everytime. When I checked the > build-linux-2.6.18-xen_x86_3/.config > > file of my laptop installation, I did not see such > configuration parameters. > > > > Is it introduced recently or depending upon the > machine it gets added > > on-the-fly? In any case, how to build dom0 kernel with > non-PAE support. I > > really want to build all non-pae kernels for my > research work perspective. > > > > Please let me know someway/settings so that I could > build non-pae dom0 kernel. > > Run ''make menuconfig'' in the kernel build > directory, and then look for > Highmem Support or similar. Should be set to 4GB rather > than 64GB. > > -- KeirHi Keir, Thanks for the reply. I did the "make menuconfig" and found that High Memory Support is already set to 4GB. Please let me know some other way if I could do it. I am also attaching my "build-linux-2.6.18-xen_x86_3/.config" file herewith. Thanks for the help. Regards, Abhinav Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Sep-23 16:06 UTC
Re: [Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)?
On 23/9/08 16:58, "Abhinav Srivastava" <abhinavs_iitkgp@yahoo.co.in> wrote:> Hi Keir, > > Thanks for the reply. I did the "make menuconfig" and found that High Memory > Support is already set to 4GB. Please let me know some other way if I could do > it. I am also attaching my "build-linux-2.6.18-xen_x86_3/.config" file > herewith.Ah, actually we removed non-PAE support from Xen 3.2. So you have to build a PAE hypervisor and kernel. If you want non-PAE support, you have to use Xen 3.1. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Abhinav Srivastava
2008-Sep-23 16:17 UTC
Re: [Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)?
--- On Tue, 23/9/08, Keir Fraser <keir.fraser@eu.citrix.com> wrote:> From: Keir Fraser <keir.fraser@eu.citrix.com> > Subject: Re: [Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)? > To: "Abhinav Srivastava" <abhinavs_iitkgp@yahoo.co.in>, xen-devel@lists.xensource.com > Date: Tuesday, 23 September, 2008, 9:36 PM > On 23/9/08 16:58, "Abhinav Srivastava" > <abhinavs_iitkgp@yahoo.co.in> wrote: > > > Hi Keir, > > > > Thanks for the reply. I did the "make > menuconfig" and found that High Memory > > Support is already set to 4GB. Please let me know some > other way if I could do > > it. I am also attaching my > "build-linux-2.6.18-xen_x86_3/.config" file > > herewith. > > Ah, actually we removed non-PAE support from Xen 3.2. So > you have to build a > PAE hypervisor and kernel. If you want non-PAE support, you > have to use Xen > 3.1. > > -- KeirOhh no. Did it happen recently? I knew that Xen-3.3 did not have non-PAE support. But, I did not know about Xen 3.2. I took Xen3.2 testing version kernel in july from mercury and could built non-PAE hypervisor and kernel. Is it someway I can get that build from mercury or it got changed backwardly? Thanks for the clarification. -Abhinav Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Sep-23 16:38 UTC
Re: [Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)?
On 23/9/08 17:17, "Abhinav Srivastava" <abhinavs_iitkgp@yahoo.co.in> wrote:>> Ah, actually we removed non-PAE support from Xen 3.2. So >> you have to build a >> PAE hypervisor and kernel. If you want non-PAE support, you >> have to use Xen >> 3.1. >> >> -- Keir > > Ohh no. Did it happen recently? I knew that Xen-3.3 did not have non-PAE > support. But, I did not know about Xen 3.2. I took Xen3.2 testing version > kernel in july from mercury and could built non-PAE hypervisor and kernel. Is > it someway I can get that build from mercury or it got changed backwardly? > > Thanks for the clarification.Oh sorry, you''re quite right. All versions of Xen 3.2 do support non-PAE. However, the current tip of the linux-2.6.18-xen.hg repository does not. What you should do within that repository is ''hg update xen-3.2.0'': this will revert your repository to a version which is old enough to support building as non-PAE. Another thing which might work instead, and let you keep other more recent changes and fixes, is ''hg export 616 | patch -Rp1''. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Abhinav Srivastava
2008-Sep-23 17:00 UTC
Re: [Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)?
--- On Tue, 23/9/08, Keir Fraser <keir.fraser@eu.citrix.com> wrote:> From: Keir Fraser <keir.fraser@eu.citrix.com> > Subject: Re: [Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)? > To: abhinavs_iitkgp@yahoo.co.in, xen-devel@lists.xensource.com > Date: Tuesday, 23 September, 2008, 10:08 PM > On 23/9/08 17:17, "Abhinav Srivastava" > <abhinavs_iitkgp@yahoo.co.in> wrote: > > >> Ah, actually we removed non-PAE support from Xen > 3.2. So > >> you have to build a > >> PAE hypervisor and kernel. If you want non-PAE > support, you > >> have to use Xen > >> 3.1. > >> > >> -- Keir > > > > Ohh no. Did it happen recently? I knew that Xen-3.3 > did not have non-PAE > > support. But, I did not know about Xen 3.2. I took > Xen3.2 testing version > > kernel in july from mercury and could built non-PAE > hypervisor and kernel. Is > > it someway I can get that build from mercury or it got > changed backwardly? > > > > Thanks for the clarification. > > Oh sorry, you''re quite right. All versions of Xen 3.2 > do support non-PAE. > However, the current tip of the linux-2.6.18-xen.hg > repository does not. > What you should do within that repository is ''hg update > xen-3.2.0'': this > will revert your repository to a version which is old > enough to support > building as non-PAE. Another thing which might work > instead, and let you > keep other more recent changes and fixes, is ''hg export > 616 | patch -Rp1''. > > -- KeirAwesome. But, I tried running the ''hg update xen-3.2.0'' within the xen-3.2-testing.hg repository directory and it gave me this msg: "abort: unknown revision xen-3.2.0". The other command did not work too as it asked for the name of files that need to be patched. Is "hg update" command correct? or I have to specify some other revision number. Please let me know. I really appreciate you help. Thanks, Abhinav Add more friends to your messenger and enjoy! Go to http://in.messenger.yahoo.com/invite/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Sep-23 18:15 UTC
Re: [Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)?
On 23/9/08 18:00, "Abhinav Srivastava" <abhinavs_iitkgp@yahoo.co.in> wrote:> Awesome. But, I tried running the ''hg update xen-3.2.0'' within the > xen-3.2-testing.hg repository directory and it gave me this msg: > > "abort: unknown revision xen-3.2.0". > > The other command did not work too as it asked for the name of files that need > to be patched. > > Is "hg update" command correct? or I have to specify some other revision > number. Please let me know. > > I really appreciate you help.You have to do this within the linux-2.6.18-xen.hg repository. This will either be inside your xen-unstable.hg directory, or adjacent to it. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel