WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Compiling Xen-3.2.0

To: "Ian Tobin" <itobin@xxxxxxxxxxxxx>, "Jeremie Le Hen" <jeremie@xxxxxxxxxx>
Subject: RE: [Xen-users] Compiling Xen-3.2.0
From: "Tait Clarridge" <Tait.Clarridge@xxxxxxxxxxxx>
Date: Mon, 28 Jan 2008 09:32:24 -0500
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 28 Jan 2008 06:33:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1241F505DD3E2145B9BE36BDC4342CFE024049@xxxxxxxxxxxxxxxxxxxxxx><20080123131434.GF86598@xxxxxxxxxxxxxxxxxxxxxxxx><1241F505DD3E2145B9BE36BDC4342CFE02404B@xxxxxxxxxxxxxxxxxxxxxx><20080123152640.GG86598@xxxxxxxxxxxxxxxxxxxxxxxx><1241F505DD3E2145B9BE36BDC4342CFE024054@xxxxxxxxxxxxxxxxxxxxxx><D16159AA-A1F0-4737-8A1F-EEE43CFE87A9@xxxxxxxxxxxxxxx><fe9771a80801240448p6d5f5239ld0d72abecb6efe0c@xxxxxxxxxxxxxx><3B1DDC21-E595-491F-AD87-D6F11211DC97@xxxxxxxxxxxxxxx><1241F505DD3E2145B9BE36BDC4342CFE02405A@xxxxxxxxxxxxxxxxxxxxxx><20080126113820.GH8109@xxxxxxxxxxxxxxxxxxxxxxxx> <1241F505DD3E2145B9BE36BDC4342CFE02405C@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchgD9KYAIncj3vuTeqaEPV0wRJkVwBlRGjAAAVZbKA=
Thread-topic: [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