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? TIA, dr / _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andrew, Thanks for the tip about ''make world''. I tried that but it failed with a message to look at ../tools/check/.chkbuild. In that file were these lines: Checking check_curl_devel Check for libcurl includes failed FAILED All the other checks in that file were OK. As I am running Debian sarge I downloaded libcurl3-devel(7.13.2-2) but on an attempted installation it listed two failed dependencies: -libssl-dev (not installed) -libidn11-dev (not installed) Leaving aside the first one my installer (aptitude) says that libidn11 (installed on my machine) replaces libidn11-dev. I am not knowledgable in these matters and I do no want to try any install experiments. Again, I seem to have run into a brick wall. Have you any ideas what I should now do about lib_curl? 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@lists.xensource.com >>http://lists.xensource.com/xen-users >> >> >> > > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Again, I seem to have run into a brick wall. Have you any ideas what > I should now do about lib_curl?Just install it. libidn11 and libidn11-dev will happily co-exist. "Replaces" just means that files from libidn11 can overwrite files from libidn11-dev, so APT has to be careful in which order it installs them. -- Stop the infinite loop, I want to get off! http://surreal.istic.org/ Paraphernalia/Never hides your broken bones,/ And I don''t know why you''d want to try:/ It''s plain to see you''re on your own. -- Paul Simon The documentation that can be written is not the true documentation. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com >>http://lists.xensource.com/xen-users >> >> >> > > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users