Skip to contentSkip to conversation

How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)?

DISCUSSION Abhinav Srivastava 2 participants 8 messages Sep 23, 2008

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw
Quoted 17 lines · Abhinav Srivastava

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.

Quoted 5 lines

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

#2 lore raw
Quoted 44 lines · Keir Fraser

From: Keir Fraser <[email protected]>
Subject: Re: [Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)?
To: [email protected], [email protected]
Date: Tuesday, 23 September, 2008, 12:13 PM

Quoted 1 line · Abhinav Srivastava

I am trying build Xen-3.2-testing version (directly

fetched from mercury) on

Quoted 1 line

my Intel Core 2 Quad desktop. The desktop has got 4GB

of RAM and currently

Quoted 1 line

running Fedora 8. I built Xen with PAE disabled

(modified the Config.mk file)

Quoted 1 line

and rebooted my machine, but it gave me kernel panic

error. The message that I

Quoted 4 lines

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

Quoted 1 line

worked. I built the same xen version on my laptop

(Intel Core 2 duo with 2GB

Quoted 1 line

of RAM) 2 months back and I got PAE disabled thing

working.

Quoted 2 lines

This time I saw a new parameter

"CONFIG_X86_PAE=Y" in the .config file inside

Quoted 1 line

the build-linux-2.6.18-xen_x86_32 directory. If I try

to make

Quoted 1 line

"CONFIG_X86_PAE=N" in the .config file, it

does not work as this file gets

Quoted 1 line

generated everytime. When I checked the

build-linux-2.6.18-xen_x86_3/.config

Quoted 1 line

file of my laptop installation, I did not see such

configuration parameters.

Quoted 2 lines

Is it introduced recently or depending upon the

machine it gets added

Quoted 1 line

on-the-fly? In any case, how to build dom0 kernel with

non-PAE support. I

Quoted 1 line

really want to build all non-pae kernels for my

research work perspective.

Quoted 2 lines

Please let me know someway/settings so that I could

Quoted 8 lines

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

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.

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
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 6 lines · Abhinav Srivastava

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

#4 lore raw
Quoted 17 lines · Keir Fraser

From: Keir Fraser <[email protected]>
Subject: Re: [Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)?
To: "Abhinav Srivastava" <[email protected]>, [email protected]
Date: Tuesday, 23 September, 2008, 9:36 PM

Quoted 3 lines · Abhinav Srivastava

Hi Keir,

Thanks for the reply. I did the "make

menuconfig" and found that High Memory

Quoted 1 line

Support is already set to 4GB. Please let me know some

other way if I could do

Quoted 1 line

it. I am also attaching my

"build-linux-2.6.18-xen_x86_3/.config" file

Quoted 1 line

herewith.

Quoted 7 lines

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.

-Abhinav

Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

#5 lore raw
Quoted 6 lines · Abhinav Srivastava
Quoted 6 lines

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.

Quoted 8 lines
Quoted 1 line

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

#6 lore raw
Quoted 41 lines · Keir Fraser

From: Keir Fraser <[email protected]>
Subject: Re: [Xen-devel] How to build non-PAE dom0 kernel with Xen-3.2-testing (PAE-disabled)?
To: [email protected], [email protected]
Date: Tuesday, 23 September, 2008, 10:08 PM

Quoted 1 line · Abhinav Srivastava
Quoted 1 line

Ah, actually we removed non-PAE support from Xen

3.2. So

Quoted 2 lines
Quoted 2 lines

you have to build a
PAE hypervisor and kernel. If you want non-PAE

support, you

Quoted 6 lines
Quoted 4 lines

have to use Xen
3.1.

-- Keir

Ohh no. Did it happen recently? I knew that Xen-3.3

did not have non-PAE

Quoted 1 line

support. But, I did not know about Xen 3.2. I took

Xen3.2 testing version

Quoted 1 line

kernel in july from mercury and could built non-PAE

hypervisor and kernel. Is

Quoted 1 line

it someway I can get that build from mercury or it got

changed backwardly?

Quoted 2 lines

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'.

Quoted 1 line

-- Keir

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.

Thanks,
Abhinav

Add more friends to your messenger and enjoy! Go to http://in.messenger.yahoo.com/invite/

#7 lore raw
Quoted 5 lines · Abhinav Srivastava

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".

Quoted 7 lines

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