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

Re: [Xen-users] Problem compiling 2.6.12 kernel on AMD64



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

 


Rackspace

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