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

Hi,

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?

Thanks

Ian


From: Maik Brauer [mailto:mailinglist@xxxxxxxxxxxxxxx] 
Sent: 24 January 2008 13:19
To: Emre Erenoglu
Cc: Ian Tobin; Jeremie Le Hen; Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Compiling Xen-3.2.0

Hi Emre,

yes, that's right. Basically it is enough to download the first one.
It should, when it can't find the mercurial repository, download the 
Linux-stuff.

Cheers,
Maik

On Jan 24, 2008, at 1:48 PM, Emre Erenoglu wrote:


Hi Maik,

I'm on Ubuntu 7.10 and I never do the second hg clone, I mean:

# hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg 

For me, the first hg clone for xen does download the kernel during make world 
build process. 

Emre


On Jan 24, 2008 1:07 PM, Maik Brauer < mailinglist@xxxxxxxxxxxxxxx> wrote:
Hi Ian,

please take care of the following steps: 
# hg clone -r RELEASE-3.2.0 http://xenbits.xensource.com/xen-3.2-testing.hg
# hg clone  http://xenbits.xensource.com/linux-2.6.18-xen.hg
# cd xen-3.2-testing.hg

After that you should be able to use the different make command, like "make 
world", etc. 
Tell me where you exactly got stucked.

Cheers,
Maik


On Jan 24, 2008, at 12:09 PM, Ian Tobin wrote:


Hi,
So has anyone successfully compiled 3.2.0 from tarball running on Debian 4.0?
If so could you shed some light on how you did it as all the methods I have 
tried so far have failed.
Thanks
Ian 

-----Original Message-----
From: Jeremie Le Hen [mailto:jeremie@xxxxxxxxxx]
Sent: 23 January 2008 15:27
To: Ian Tobin
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Compiling Xen-3.2.0
Ian,
On Wed, Jan 23, 2008 at 01:47:18PM -0000, Ian Tobin wrote:
> I tried that method of downloading the kernel and I get this error
> 
> 14:51:02 (21.50 MB/s) - `/root/.ketchup/linux-2.6.18.tar.gz.sign.partial' 
> saved [248/248]
> 
> Verifying signature...
> gpg: Signature made Wed 20 Sep 2006 04:56:08 BST using DSA key ID 517D0F0E 
> gpg: Can't check signature: public key not found
> ketchup: gpg returned 512
> ketchup: removing files...
> ketchup: Tarball download failed
> make[3]: *** [linux-2.6.18/.valid-src] Error 255
> make[3]: Leaving directory `/usr/src/xen-3.2.0'
> make[2]: *** [linux-2.6-xen-install ] Error 2
> make[2]: Leaving directory `/usr/src/xen-3.2.0'
> make[1]: *** [install-kernels] Error 1
> make[1]: Leaving directory `/usr/src/xen-3.2.0'
> make: *** [world] Error 2
> triggertest:/usr/src/xen-3.2.0# 
I've got this error once too and worked around it with the following
simple patch:
=== 8< === cut here === 8< ===
--- buildconfigs/src.tarball.0  2008-01-23 17:25:36.000000000 +0100
+++ buildconfigs/src.tarball    2008-01-23 17:25:44.000000000 +0100
@@ -15,5 +15,5 @@ linux-%.tar.bz2:
 # XXX create a pristine tree for diff -Nurp convenience
 %/.valid-src: $(__XEN_LINUX_UPDATE)
-       $(KETCHUP) -d $(@D) $(LINUX_VER)
+       $(KETCHUP) -G -d $(@D) $(LINUX_VER) 
        touch $@ # update timestamp to avoid rebuild
=== 8< === cut here === 8< ===
Another way to do it is to download linux-2.6.18.tar.gz in
/root/.ketchup/ because ketchup seems to try checking the signature only
when the file has just been downloaded.  (Not verified in the code 
though.)

Let me know if you could go any further than I did. 
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



-- 
Emre Erenoglu
erenoglu@xxxxxxxxx 



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