View previous topic :: View next topic |
Author |
Message |
carciofo2099 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 31 Aug 2008 Posts: 8
|
Posted: Sun Aug 31, 2008 7:52 pm Post subject: Xen error in compilation kernel 2.6.21 [SOLVED] |
|
|
hello guys
when i install xen and try to make kernel, get this message
Code: |
# make0 && make0 modules_install
GEN /usr/src/linux-2.6.21-xen/_dom0/Makefile
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[3]: *** [silentoldconfig] Error 1
make[2]: *** [silentoldconfig] Error 2
make[1]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
make: *** [_all] Error 2
|
i have copied my .conf in the kernel xen source and i have do this
#make oldconfig && make0 && make0 modules_install
but the message is the same
any idea?
Last edited by carciofo2099 on Sun Sep 07, 2008 9:53 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bbgermany Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/14656390143b65679294bf.jpg)
Joined: 21 Feb 2005 Posts: 1844 Location: Oranienburg/Germany
|
Posted: Mon Sep 01, 2008 12:21 pm Post subject: |
|
|
Hi,
instead of "make oldconfig" try "make0 oldconfig". Since you use the _dom0 and _domU subdirs for this, the config needs to be in these directories.
bb _________________ Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
carciofo2099 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 31 Aug 2008 Posts: 8
|
Posted: Wed Sep 03, 2008 8:13 pm Post subject: |
|
|
bbgermany wrote: | Hi,
instead of "make oldconfig" try "make0 oldconfig". Since you use the _dom0 and _domU subdirs for this, the config needs to be in these directories.
bb |
ok i try this
make0 oldconfig && make0 mkproper
and say
Code: |
AnotherWorld linux # make0
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
GEN /usr/src/linux-2.6.21-xen/_dom0/Makefile
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
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[3]: *** [silentoldconfig] Error 1
make[2]: *** [silentoldconfig] Error 2
make[1]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
make: *** [_all] Error 2 |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bbgermany Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/14656390143b65679294bf.jpg)
Joined: 21 Feb 2005 Posts: 1844 Location: Oranienburg/Germany
|
Posted: Thu Sep 04, 2008 6:56 am Post subject: |
|
|
do you have a .config in _dom0 subdir and in _domU subdir?
bb _________________ Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
carciofo2099 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 31 Aug 2008 Posts: 8
|
Posted: Sun Sep 07, 2008 8:57 am Post subject: |
|
|
bbgermany wrote: | do you have a .config in _dom0 subdir and in _domU subdir?
bb |
i try and is the same
cd _dom0 && make0 oldconfig
i run make0 mproper
end when i run make0
same error
i retry with make0 clean && make clean && make0 menuconfig && make0
and the output is this
Code: | Using /usr/src/linux-2.6.21-xen as source for kernel
/usr/src/linux-2.6.21-xen is not clean, please run 'make mrproper'
in the '/usr/src/linux-2.6.21-xen' directory.
make[1]: *** [prepare3] Error 1
make: *** [_all] Error 2
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bbgermany Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/14656390143b65679294bf.jpg)
Joined: 21 Feb 2005 Posts: 1844 Location: Oranienburg/Germany
|
Posted: Sun Sep 07, 2008 9:23 am Post subject: |
|
|
make it this way:
Code: |
cd /usr/src/linu
make clean
make mrproper
make0 menuconfig
make0
|
bb _________________ Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
carciofo2099 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 31 Aug 2008 Posts: 8
|
Posted: Sun Sep 07, 2008 9:52 am Post subject: |
|
|
bbgermany wrote: | make it this way:
Code: |
cd /usr/src/linu
make clean
make mrproper
make0 menuconfig
make0
|
bb |
ok now works! many thanks ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bbgermany Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/14656390143b65679294bf.jpg)
Joined: 21 Feb 2005 Posts: 1844 Location: Oranienburg/Germany
|
Posted: Mon Sep 08, 2008 8:36 am Post subject: |
|
|
Hi,
glad it helped. For domU just switch to makeU instead of make0 then.
bb _________________ Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|