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] Problem compiling 2.6.12 kernel on AMD64

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problem compiling 2.6.12 kernel on AMD64
From: Jacob S <stormspotter@xxxxxxxxxxx>
Date: Mon, 27 Mar 2006 21:30:30 -0600
Delivery-date: Tue, 28 Mar 2006 03:32:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060327164916.258f8a00@xxxxxxxxxxxxxxxxx>
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: <20060327164916.258f8a00@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 27 Mar 2006 16:49:16 -0600
Jacob S <stormspotter@xxxxxxxxxxx> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello List,
> 
> I was trying to use the howto from
> http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/user/user.html
> to install Xen on my AMD64 machine today (running Debian Sarge). I hit
> two errors and haven't been able to find the solution via google.
> 
> I downloaded kernel source 2.6.12.6 from kernel.org and applied all of
> the patches in Xen 3.0.1 except for the 2.6.12.6.patch, because patch
> kept telling me that everything in that patch had already been applied
> except for two that it thought it could apply with fuzz. So, here are
> the problems:
> 
> 1) /usr/src/linux# make ARCH=xen menuconfig 
> Makefile:447: /usr/src/linux-2.6.12.6/arch/xen/Makefile: No such file
> or directory make: *** No rule to make target
> `/usr/src/linux-2.6.12.6/arch/xen/Makefile'.  Stop.
> 
> 2) After running "make menuconfig", I ran "make" and it errored with
> the following: CC [M]  net/ipv4/netfilter/ip_nat_proto_tcp.o
> net/ipv4/netfilter/ip_nat_proto_tcp.c: In function `tcp_manip_pkt':
> net/ipv4/netfilter/ip_nat_proto_tcp.c:131: error: structure has no
> member named `proto_csum_blank' make[3]: ***
> [net/ipv4/netfilter/ip_nat_proto_tcp.o] Error 1 make[2]: ***
> [net/ipv4/netfilter] Error 2 make[1]: *** [net/ipv4] Error 2 make:
> *** [net] Error 2

It looks like I managed to fix the errors. I ran "make world" and let
it download the kernel source and apply the patches itself. Then I
cd'ed into xen.../linux-2.6.12-xen0/ and ran "make ARCH=xen menuconfig"
to change settings and load a .config file from one of my previous
kernels. Then I re-ran make world, followed by make install. It looks
like that took my customizations and everything worked properly, though
of course the acid test will be booting both the xen0 and xenU kernels.
I am waiting until tomorrow for that part of the test though... I don't
feel like having to make an after hours call to get somebody to fix a
non-bootable machine for me. :-)

Thanks,
Jacob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEKK3ZkpJ43hY3cTURAqK+AKC1SZD+8wBlygwDUqi0PDykpWKdpwCguEqL
ZV8hQCc5iZkIIjRioWbyNkU=
=SMYL
-----END PGP SIGNATURE-----
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>