Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Error in "linux-2.6.20-xen-r6" with enabled PARAVIRT
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
snocer
n00b
n00b


Joined: 02 Dec 2007
Posts: 6

PostPosted: Sun Dec 02, 2007 11:43 pm    Post subject: [Solved]Error in "linux-2.6.20-xen-r6" with enable Reply with quote

Hi!

make works fine for kernel-config without PAE enabled. After enabling PAE-Support compile failed with following Error:

Quote:

CC arch/i386/kernel/time-xen.o
In file included from /usr/src/linux-2.6.20-xen-r6/arch/i386/kernel/time-xen.c:39:
/usr/src/linux-2.6.20-xen-r6/include/linux/interrupt.h: In Funktion »save_flags«:
/usr/src/linux-2.6.20-xen-r6/include/linux/interrupt.h:212: Warnung: Implizite Deklaration der Funktion »raw_local_save_flags«
/usr/src/linux-2.6.20-xen-r6/arch/i386/kernel/time-xen.c: Auf höchster Ebene:
/usr/src/linux-2.6.20-xen-r6/arch/i386/kernel/time-xen.c:1000: Fehler: Redefinition von »raw_safe_halt«
include2/asm/paravirt.h:208: Fehler: Vorherige Definition von »raw_safe_halt« war hier
/usr/src/linux-2.6.20-xen-r6/arch/i386/kernel/time-xen.c:1009: Fehler: Redefinition von »halt«
include2/asm/paravirt.h:213: Fehler: Vorherige Definition von »halt« war hier
make[2]: *** [arch/i386/kernel/time-xen.o] Fehler 1
make[1]: *** [arch/i386/kernel] Fehler 2
make: *** [_all] Fehler 2


Any Idea whats the Problem or which kernel-config flag I have to set/unset? Or is it a Bug?

Aditional:
I dont know exactly IF i have to set CONFIG_PARAVIRT=y for running XEN with PAE Support. With only enabled CONFIG_HIGHMEM4G=y XEN (with enabled PAE) didnt start the Kernel saying there is no PAE Support in Kernel.

Could anyone hlep me?

Greetings
Snocer


Last edited by snocer on Wed Dec 05, 2007 12:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
snocer
n00b
n00b


Joined: 02 Dec 2007
Posts: 6

PostPosted: Mon Dec 03, 2007 9:45 am    Post subject: Option in Kernel-Config to set for PAE ? Reply with quote

Hi!

I found a Bug-Report https://bugs.gentoo.org/show_bug.cgi?id=197071 that seems to be the same Problem.

The current Fix is:
Quote:

Turn of Paravirtulization support (CONFIG_PARAVIRT), it is not used by Xen in
this version of the kernel. I need to disable that option completely, there is
actually nothing in 2.6.20 that uses it.


BUT ... if PARAVIRT is not needed for XEN ... What option is needed in kernel-Config to enable PAE Support?

PAE is (correct me if its wrong) "Physical Address Extension" so using the HIGHMEM option should enable it i think. But _ONLY_ HIGHMEM seems not to enable PAE. :roll:

Any Help?

Thanks in advance
Snocer
Back to top
View user's profile Send private message
snocer
n00b
n00b


Joined: 02 Dec 2007
Posts: 6

PostPosted: Wed Dec 05, 2007 12:12 pm    Post subject: [solved] Reply with quote

Hi...

It's my poor English i think ... You don't understand me - right :?:

Problem ist solved.
I found elsewhere that CONFIG_HIGHMEN4G=y should also enable CONFIG_X86_PAE. But in fact, thats wrong for Gentoo kernel source-2.6.20-xen.
Only setting CONFIG_HIGHMEN64G=y enables PAE in kernel.

PARAVIRT is not needed for Xen and therefor disabled.

Thanks for "reading" :-P
Snocer
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Wed Dec 05, 2007 7:07 pm    Post subject: Reply with quote

Thanks for posting.
Might prove helpful to me shortly.
I intend to give xen a try.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum