Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x86_64 , linux-2.6.20-xen-r4 , Xen fail building
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
zavaxxx
n00b
n00b


Joined: 09 Oct 2007
Posts: 3

PostPosted: Tue Oct 09, 2007 2:23 pm    Post subject: x86_64 , linux-2.6.20-xen-r4 , Xen fail building Reply with quote

I am following this xen guide:

http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo

When I arrive at the point where i have to build the Domain U Kernel Configuration, i deselect

[ ] Privileged Guest (domain 0)
< > Backend driver support

but i get:

arch/x86_64/kernel/built-in.o: In function `intel_bugs':
early-quirks.c:(.text+0xcfa4): undefined reference to `quirk_intel_irqbalance'
make: *** [.tmp_vmlinux1] Error 1

How/what can I do?

I'd like also to know if I have to use the gentoo xen sources or if i can use the latest vanilla kernel and then apply "the" xen patch.
Does a xen patch exist?

Thanks in advance and sorry for my bad english
Back to top
View user's profile Send private message
bushvin
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2004
Posts: 142
Location: Leuven, Belgium

PostPosted: Thu Oct 11, 2007 2:07 pm    Post subject: Reply with quote

I had the exact same problem.

I solved it by removing SMP from my Guest kernel...

Check out this thread.
_________________
"Don't be too proud of this technological terror you've constructed. The ability to destroy a planet is insignificant next to the power of the Force." - Lord Vader
Back to top
View user's profile Send private message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 217
Location: Castelo Branco, Portugal

PostPosted: Fri Oct 12, 2007 3:51 pm    Post subject: Reply with quote

Thxxxxx :D

I had the same problem and it work !!!

Cheers
_________________
Do It With Rhythm
Back to top
View user's profile Send private message
zavaxxx
n00b
n00b


Joined: 09 Oct 2007
Posts: 3

PostPosted: Wed Nov 28, 2007 11:32 pm    Post subject: Reply with quote

yes thanks for the the tip, it works, but now i am in trouble again; I am following the guide linked in the first post, I am in

pwd
/usr/src/linux-2.6.20-xen-r6

and when I have to type the following command:

make world

I get the following error:

scripts/kconfig/conf -s arch/x86_64/Kconfig
***
*** You have not yet configured your kernel!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `world'. Stop.

if I go in:

pwd
/usr/src/linux-2.6.20-xen-r6/_dom0

I get:
make -C /usr/src/linux-2.6.20-xen-r6 O=/usr/src/linux-2.6.20-xen-r6/_dom0 world
make[2]: *** No rule to make target `world'. Stop.
make[1]: *** [world] Error 2
make: *** [world] Error 2

What's wrong?

Thanks in advance.
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2729
Location: Pittsburgh, PA, USA

PostPosted: Mon Dec 03, 2007 6:59 pm    Post subject: Reply with quote

Quote:
make world


Why are you trying to make world?

You need just make

[EDIT]Oh. I now see that on the page. I did not do that for my xen setup. Just makeU [/EDIT]


Do you have a .config file in _dom0?
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
zavaxxx
n00b
n00b


Joined: 09 Oct 2007
Posts: 3

PostPosted: Mon Dec 03, 2007 10:16 pm    Post subject: Reply with quote

hi, thanks for replying.

Yes I have the .config both in _dom0 and _domU

Can you explain how I can continue from the point where i am arrived?

or can you write how you reached your final result (xen working :) )

thanks in advance.
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2729
Location: Pittsburgh, PA, USA

PostPosted: Tue Dec 04, 2007 1:10 am    Post subject: Reply with quote

Here is what I did (today in fact).

First add the following lines your ~/.bash_profile:

Code:
alias make0="mkdir -p _dom0 && make O=_dom0"
alias makeU="mkdir -p _domU && make O=_domU"


Then I logged in again.

Then I did the following:

Code:
cd /usr/src/linux
make0 && make0 modules_install
cp _dom0/vmlinuz /boot/vmlinuz-2.6.20.r6-xen-dom0


This builds the dom0 kernel and installs it into boot.

Then I did:
Code:
cd /usr/src/linux
makeU
cp _domU/vmlinuz /boot/vmlinuz-2.6.20.r6-xen-domU


This builds the domU kernel and installs it into boot.

Then I edited my grub.conf file to use the xen dom0 kernel. And then created my domU config file for the guest in the /etc/xen folder.
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
PatomaS
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2006
Posts: 92

PostPosted: Mon Jan 28, 2008 6:49 am    Post subject: Reply with quote

Hi

I also had the same problem and unchecking the SMP worked.

Now i have a question. Assuming that there is only one guest system working, does it has the ability to use mode than one cpu?

Since we disconnected the SMP, the answer should be no, but i'm not really sure.

If in deed the answer is no, this fix for the problem is kind of wrong or thre is some kind of bug related. Right?

Bye.
_________________
¡ hey, hou, hou, hey !
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2729
Location: Pittsburgh, PA, USA

PostPosted: Mon Jan 28, 2008 2:53 pm    Post subject: Reply with quote

Quote:
Now i have a question. Assuming that there is only one guest system working, does it has the ability to use mode than one cpu?


Not if you turned off SMP.

There is a solution here:

http://forums.gentoo.org/viewtopic-t-579446-highlight-.html

that works and does not turn off smp.
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
PatomaS
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2006
Posts: 92

PostPosted: Wed Jan 30, 2008 8:42 am    Post subject: Reply with quote

Hi

Well, thanks for the link.

For the next few days i have the xen idea stoped since I'm falling behind schedule in my work, but I will try again as soon as possible.

:)

Bye
_________________
¡ hey, hou, hou, hey !
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