Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xen error in compilation kernel 2.6.21 [SOLVED]
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
carciofo2099
n00b
n00b


Joined: 31 Aug 2008
Posts: 8

PostPosted: Sun Aug 31, 2008 7:52 pm    Post subject: Xen error in compilation kernel 2.6.21 [SOLVED] Reply with quote

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
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Mon Sep 01, 2008 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
carciofo2099
n00b
n00b


Joined: 31 Aug 2008
Posts: 8

PostPosted: Wed Sep 03, 2008 8:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Thu Sep 04, 2008 6:56 am    Post subject: Reply with quote

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
View user's profile Send private message
carciofo2099
n00b
n00b


Joined: 31 Aug 2008
Posts: 8

PostPosted: Sun Sep 07, 2008 8:57 am    Post subject: Reply with quote

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
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Sun Sep 07, 2008 9:23 am    Post subject: Reply with quote

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
View user's profile Send private message
carciofo2099
n00b
n00b


Joined: 31 Aug 2008
Posts: 8

PostPosted: Sun Sep 07, 2008 9:52 am    Post subject: Reply with quote

bbgermany wrote:
make it this way:

Code:

cd /usr/src/linu
make clean
make mrproper
make0 menuconfig
make0


bb

ok now works! many thanks :D
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Mon Sep 08, 2008 8:36 am    Post subject: Reply with quote

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