[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Compiling Xen-3.2.0



Ian,

Try running:

# cd xen-3.2.0 
# make clean
# make linux-2.6-xen-config CONFIGMODE=menuconfig [you could also put in
gconfig or xconfig if in the X windows environment]
# make all
# make install


That should allow you build a configured kernel the first time.

Cheers,
Tait

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ian Tobin
Sent: January-28-08 6:53 AM
To: Jeremie Le Hen
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Compiling Xen-3.2.0

Hi,

I did what you suggested by running

Make prep-kernels

But the error still appears when running make install from the xen-3.2.0
directory, any ideas?

CONFIG_MODULES=y
make[3]: Entering directory
`/usr/src/xen-3.2.0/build-linux-2.6.18-xen_x86_64'
make -C /usr/src/linux-2.6.18-xen.hg
O=/usr/src/xen-3.2.0/build-linux-2.6.18-xen
_x86_64 modules
  Using /usr/src/linux-2.6.18-xen.hg as source for kernel
  /usr/src/linux-2.6.18-xen.hg is not clean, please run 'make mrproper'
  in the '/usr/src/linux-2.6.18-xen.hg' directory.
make[5]: *** [prepare3] Error 1
make[4]: *** [modules] Error 2
make[3]: *** [modules] Error 2
make[3]: Leaving directory
`/usr/src/xen-3.2.0/build-linux-2.6.18-xen_x86_64'
make[2]: *** [build] Error 1
make[2]: Leaving directory `/usr/src/xen-3.2.0'
make[1]: *** [linux-2.6-xen-install] Error 2
make[1]: Leaving directory `/usr/src/xen-3.2.0'
make: *** [install-kernels] Error 1
triggertest:/usr/src/xen-3.2.0#


thanks

Ian



-----Original Message-----
From: Jeremie Le Hen [mailto:jeremie@xxxxxxxxxx] 
Sent: 26 January 2008 11:38
To: Ian Tobin
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Compiling Xen-3.2.0

On Fri, Jan 25, 2008 at 03:49:38PM -0000, Ian Tobin wrote:
> I got as far as compiling, here is the commands I ran
> 
> Make world
> Cd linux-2.6.18-xen.hg
> Make menuconfig  (selected the bits I need)
> Make
> Make install
> Cd ..
> Make install
> 
> 
> Then I got this error,
> 
> make -C /usr/src/linux-2.6.18-xen.hg
O=/usr/src/xen-3.2-testing.hg/build-linux-2.6.18-xen_x86_64 modules
>   Using /usr/src/linux-2.6.18-xen.hg as source for kernel
>   /usr/src/linux-2.6.18-xen.hg is not clean, please run 'make
mrproper'
>   in the '/usr/src/linux-2.6.18-xen.hg' directory.
> make[5]: *** [prepare3] Error 1
> make[4]: *** [modules] Error 2
> make[3]: *** [modules] Error 2
> make[3]: Leaving directory
`/usr/src/xen-3.2-testing.hg/build-linux-2.6.18-xen_x86_64'
> make[2]: *** [build] Error 1
> make[2]: Leaving directory `/usr/src/xen-3.2-testing.hg'
> make[1]: *** [linux-2.6-xen-install] Error 2
> make[1]: Leaving directory `/usr/src/xen-3.2-testing.hg'
> make: *** [install-kernels] Error 1
> triggertest:/usr/src/xen-3.2-testing.hg#
> 
> 
> I had the same issue with xen 3.1 which is why I never got it
installed, now the same problem exists in 3.2.
> 
> Any ideas?

See my other post in this thread, renamed to: "Re: [Xen-users] Howto
compiling Xen 3.2 on Debian/Ubuntu (was: Compiling Xen-3.2.0)".  It
contains an explanation for this.

Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.