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] PUZZLES WITH A CUSTOM XENLINUX BUILD

To: Andreas Seuss <mam04exx@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] PUZZLES WITH A CUSTOM XENLINUX BUILD
From: David Rayner <dr@xxxxxxxxx>
Date: Mon, 08 Aug 2005 11:17:04 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 08 Aug 2005 11:34:04 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42F31225.1090609@xxxxxxxxxxxxxxxxxxxxxxx>
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: <42F26D66.1070202@xxxxxxxxx> <42F31225.1090609@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.5 (X11/20040208)
   Andrew,

After I sent the email to you I decided to install the libssl-dev package referred to, during which process a number of messages came up about dependencies. I cannot recall exactly what happened next but I made another attempt to install the libcurl3-dev package and it went in perfectly. The libcurl problem had vanished!

My apologies for wasting your time, and that of the mailing list. Put it down to Monday-morning syndrome.

   dr


Andreas Seuss wrote:

Hi,

you did everything in the right way. A 'make world' will download the
respective kernel sources from kernel.org and unpack them into two
directories. The make file applies the necessary patches. In my case,
it's linux-2.6.11-xen0 and linux-2.6.11-xenU under ../xen-2.0/. I build
from the stable sources, but it works the same way.

David Rayner wrote:

  Hi there,

  /I've been working with the Xen binaries, but I need to support
additional devices so I'm trying to build a custom XenLinux. I thought
I would go the testing route and so I've downloaded two things.

  First, I downloaded mercurial-0-6b.tar.gz from www.selenic.com.
into /home/admin/src. After untarring it I went into the resulting
directory mercurial-0-6b. Using the provided README gave a quick
trouble-free installation. A simple hg confirmed it was working.

  Second, I downloaded xen-2.0-testing.hg.gz from xen.sf.net. After
untarring that I went into the resulting directory xen-2.0-testing.hg.
Online I did a hg pull -u, and this seemed to modify and change some
files successfully.

  At this point I feel completely puzzled. Because of the work on the
binaries I have a config file to hand - /boot/config-2.6.10-xen0, but
I cannot see where to place it if I want to use it as the basis for a
make operation.
  In the Xen Users' Manual, under the heading 2.3.3 Custom XenLinux
Builds there are four lines:
  # cd linux-2.6.9-xen0

  # make ARCH=xen xconfig
  # cd ...
  # make
  I would have thought the config file should go into the given
linux-2.6.9-xen0, but I cannot find this in my existing setup. Just
where do I put it?

  In the previous section of the Users' Manual it says that the
top-level Makefile will "download (if necessary) and unpack the Linux
2.6 source code". This suggests that if the xconfig is done that any
necessary source code will be downloaded on the second make. Is that
correct?

With the "download (if necessary) and unpack the Linux 2.6 source code"
is meant, that make will download the kernel in case it is not already
in that directory. If you called "make world" for the first time it will
download the kernel-src.

In your case I would do the following:

'make world'  #It builds xen and downloads and compiles the kernels

Then cd into the directory of the kernel you want to customize (probably
xen0)

'make ARCH=xen xconfig' (or make ARCH=xen oldconfig with your existing
config file)

go back to the main xen directory and do a 'make kernels'

And then, to install the xen binaries and the kernels: 'make install'.

Regards

  TIA,

  dr
/

_______________________________________________
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



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

<Prev in Thread] Current Thread [Next in Thread>