| View previous topic :: View next topic |
| Author |
Message |
zavaxxx n00b

Joined: 09 Oct 2007 Posts: 3
|
Posted: Tue Oct 09, 2007 2:23 pm Post subject: x86_64 , linux-2.6.20-xen-r4 , Xen fail building |
|
|
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 |
|
 |
bushvin Tux's lil' helper


Joined: 20 Feb 2004 Posts: 142 Location: Leuven, Belgium
|
Posted: Thu Oct 11, 2007 2:07 pm Post subject: |
|
|
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 |
|
 |
feiticeir0 Apprentice


Joined: 13 Jul 2005 Posts: 217 Location: Castelo Branco, Portugal
|
Posted: Fri Oct 12, 2007 3:51 pm Post subject: |
|
|
Thxxxxx
I had the same problem and it work !!!
Cheers _________________ Do It With Rhythm |
|
| Back to top |
|
 |
zavaxxx n00b

Joined: 09 Oct 2007 Posts: 3
|
Posted: Wed Nov 28, 2007 11:32 pm Post subject: |
|
|
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 |
|
 |
drescherjm Advocate

Joined: 05 Jun 2004 Posts: 2729 Location: Pittsburgh, PA, USA
|
Posted: Mon Dec 03, 2007 6:59 pm Post subject: |
|
|
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 |
|
 |
zavaxxx n00b

Joined: 09 Oct 2007 Posts: 3
|
Posted: Mon Dec 03, 2007 10:16 pm Post subject: |
|
|
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 |
|
 |
drescherjm Advocate

Joined: 05 Jun 2004 Posts: 2729 Location: Pittsburgh, PA, USA
|
Posted: Tue Dec 04, 2007 1:10 am Post subject: |
|
|
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 |
|
 |
PatomaS Tux's lil' helper

Joined: 09 Feb 2006 Posts: 92
|
Posted: Mon Jan 28, 2008 6:49 am Post subject: |
|
|
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 |
|
 |
drescherjm Advocate

Joined: 05 Jun 2004 Posts: 2729 Location: Pittsburgh, PA, USA
|
|
| Back to top |
|
 |
PatomaS Tux's lil' helper

Joined: 09 Feb 2006 Posts: 92
|
Posted: Wed Jan 30, 2008 8:42 am Post subject: |
|
|
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 |
|
 |
|