Hello, Does anyone have the correct procedure for compiling 3.2.0 from the tarballs. When I run make world I receive the following error select-repository: Searching `.:..'' for linux-2.6.18-xen.hg select-repository: Ignoring `.'' abort: repository /usr/src/xen-3.2.0 not found! select-repository: Unable to determine Xen repository parent. make[2]: *** [linux-2.6.18-xen.hg/.valid-src] Error 1 make[2]: Leaving directory `/usr/src/xen-3.2.0'' make[1]: *** [linux-2.6-xen-install] Error 2 make[1]: Leaving directory `/usr/src/xen-3.2.0'' make: *** [install-kernels] Error 1 thanks in advance Ian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You''ll have to put the kernels repository (linux-2.6.18-xen.hg) in an adjacent directory next to the sources of xen. If you want to compile just xen (without the kernels), execute ''make install-tools install-xen -j2''. try ''make help'' as well. Guy. ________________________________ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Ian Tobin Sent: Wednesday, January 23, 2008 12:47 PM To: Xen-users@lists.xensource.com Subject: [Xen-users] Compiling Xen-3.2.0 Hello, Does anyone have the correct procedure for compiling 3.2.0 from the tarballs. When I run make world I receive the following error select-repository: Searching `.:..'' for linux-2.6.18-xen.hg select-repository: Ignoring `.'' abort: repository /usr/src/xen-3.2.0 not found! select-repository: Unable to determine Xen repository parent. make[2]: *** [linux-2.6.18-xen.hg/.valid-src] Error 1 make[2]: Leaving directory `/usr/src/xen-3.2.0'' make[1]: *** [linux-2.6-xen-install] Error 2 make[1]: Leaving directory `/usr/src/xen-3.2.0'' make: *** [install-kernels] Error 1 thanks in advance Ian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Ian, On Wed, Jan 23, 2008 at 10:46:38AM -0000, Ian Tobin wrote:> Does anyone have the correct procedure for compiling 3.2.0 from the > tarballs. When I run make world I receive the following error > > select-repository: Searching `.:..'' for linux-2.6.18-xen.hg > select-repository: Ignoring `.'' > abort: repository /usr/src/xen-3.2.0 not found! > select-repository: Unable to determine Xen repository parent. > make[2]: *** [linux-2.6.18-xen.hg/.valid-src] Error 1 > make[2]: Leaving directory `/usr/src/xen-3.2.0'' > make[1]: *** [linux-2.6-xen-install] Error 2 > make[1]: Leaving directory `/usr/src/xen-3.2.0'' > make: *** [install-kernels] Error 1It has been stated multiple times this week that this error means your Mercurial version is too old. I couldn''t verify this though. But you should be able to fetch the kernel source tarball instead of cloning it with Mercurial with this command: % make world XEN_LINUX_SOURCE=tarball Unfortunately, this didn''t work for me either. It leads to this error message when trying to compile the kernel: % make[4]: Entering directory `/root/build/xen-3.2.0/build-linux-2.6.18-xen_x86_32'' % make -C /root/build/xen-3.2.0/linux-2.6.18 O=/root/build/xen-3.2.0/build-linux-2.6.18-xen_x86_32 vmlinuz % make[6]: *** No rule to make target `vmlinuz''. Stop. % make[5]: *** [vmlinuz] Error 2 % make[4]: *** [vmlinuz] Error 2 % make[4]: Leaving directory `/root/build/xen-3.2.0/build-linux-2.6.18-xen_x86_32'' Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, 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# thanks Ian Tidyhosts UK - Server & Web Specialists 0871 910 6732 This email and its attachments are scanned by TidyHosts UK. All emails and attachments should also be scanned by the recipient. TidyHosts UK accept no responsibility for any damage caused by any virus attached to this email. This email is confidential and is intended only for the addressee(s). Information copied from it is prohibited unless clearly stated by TidyHosts UK. If you have received this email in error please reply to the sender. -----Original Message----- From: Jeremie Le Hen [mailto:jeremie@le-hen.org] Sent: 23 January 2008 13:15 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] Compiling Xen-3.2.0 Hi Ian, On Wed, Jan 23, 2008 at 10:46:38AM -0000, Ian Tobin wrote:> Does anyone have the correct procedure for compiling 3.2.0 from the > tarballs. When I run make world I receive the following error > > select-repository: Searching `.:..'' for linux-2.6.18-xen.hg > select-repository: Ignoring `.'' > abort: repository /usr/src/xen-3.2.0 not found! > select-repository: Unable to determine Xen repository parent. > make[2]: *** [linux-2.6.18-xen.hg/.valid-src] Error 1 > make[2]: Leaving directory `/usr/src/xen-3.2.0'' > make[1]: *** [linux-2.6-xen-install] Error 2 > make[1]: Leaving directory `/usr/src/xen-3.2.0'' > make: *** [install-kernels] Error 1It has been stated multiple times this week that this error means your Mercurial version is too old. I couldn''t verify this though. But you should be able to fetch the kernel source tarball instead of cloning it with Mercurial with this command: % make world XEN_LINUX_SOURCE=tarball Unfortunately, this didn''t work for me either. It leads to this error message when trying to compile the kernel: % make[4]: Entering directory `/root/build/xen-3.2.0/build-linux-2.6.18-xen_x86_32'' % make -C /root/build/xen-3.2.0/linux-2.6.18 O=/root/build/xen-3.2.0/build-linux-2.6.18-xen_x86_32 vmlinuz % make[6]: *** No rule to make target `vmlinuz''. Stop. % make[5]: *** [vmlinuz] Error 2 % make[4]: *** [vmlinuz] Error 2 % make[4]: Leaving directory `/root/build/xen-3.2.0/build-linux-2.6.18-xen_x86_32'' Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I downloaded the .hg to /usr/src/xen-3.2.0 but it doesn''t work still. Any ideas? Thanks Ian Tidyhosts UK - Server & Web Specialists 0871 910 6732 This email and its attachments are scanned by TidyHosts UK. All emails and attachments should also be scanned by the recipient. TidyHosts UK accept no responsibility for any damage caused by any virus attached to this email. This email is confidential and is intended only for the addressee(s). Information copied from it is prohibited unless clearly stated by TidyHosts UK. If you have received this email in error please reply to the sender. From: Guy Zana [mailto:guy@neocleus.com] Sent: 23 January 2008 12:35 To: Ian Tobin; Xen-users@lists.xensource.com Subject: RE: [Xen-users] Compiling Xen-3.2.0 You''ll have to put the kernels repository (linux-2.6.18-xen.hg) in an adjacent directory next to the sources of xen. If you want to compile just xen (without the kernels), execute ''make install-tools install-xen -j2''. try ''make help'' as well. Guy. ________________________________ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Ian Tobin Sent: Wednesday, January 23, 2008 12:47 PM To: Xen-users@lists.xensource.com Subject: [Xen-users] Compiling Xen-3.2.0 Hello, Does anyone have the correct procedure for compiling 3.2.0 from the tarballs. When I run make world I receive the following error select-repository: Searching `.:..'' for linux-2.6.18-xen.hg select-repository: Ignoring `.'' abort: repository /usr/src/xen-3.2.0 not found! select-repository: Unable to determine Xen repository parent. make[2]: *** [linux-2.6.18-xen.hg/.valid-src] Error 1 make[2]: Leaving directory `/usr/src/xen-3.2.0'' make[1]: *** [linux-2.6-xen-install] Error 2 make[1]: Leaving directory `/usr/src/xen-3.2.0'' make: *** [install-kernels] Error 1 thanks in advance Ian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Yes that''s correct, is it the correct directory im downloading to? Thanks Ian -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Vladimir Konrad Sent: 23 January 2008 14:04 To: xen-users@lists.xensource.com Subject: Re: [Xen-users] Compiling Xen-3.2.0> I downloaded the .hg to /usr/src/xen-3.2.0 but it doesn''t work still.Just curious, you are downloading by: hg clone <repository-name> Vlad Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm _______________________________________________ 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
> I downloaded the .hg to /usr/src/xen-3.2.0 but it doesn''t work still.Just curious, you are downloading by: hg clone <repository-name> Vlad Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Its version 0.9.1 which was installed by running Apt-get install mercurial on debian 4.0 thanks -----Original Message----- From: Vladimir Konrad [mailto:v.konrad@lse.ac.uk] Sent: 23 January 2008 14:22 To: Ian Tobin Subject: Re: [Xen-users] Compiling Xen-3.2.0> Yes that''s correct, is it the correct directory im downloading to?the: hg clone http://xenbits.xensource.com/xen-3.2-testing.hg will put the source (and repository) into: xen-3.2-testing.hg directory. But what you do looks correct. What version of mercurial are you using? run: hg version to get it. Vlad Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Tried the second suggestion but that didn''t work. I don''t know how to apply the patch? Thanks Ian -----Original Message----- From: Jeremie Le Hen [mailto:jeremie@le-hen.org] Sent: 23 January 2008 15:27 To: Ian Tobin Cc: Xen-users@lists.xensource.com 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 ID517D0F0E> 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@lists.xensource.com http://lists.xensource.com/xen-users
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@le-hen.org] Sent: 23 January 2008 15:27 To: Ian Tobin Cc: Xen-users@lists.xensource.com 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 ID517D0F0E> 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@lists.xensource.com http://lists.xensource.com/xen-users
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@le-hen.org] > Sent: 23 January 2008 15:27 > To: Ian Tobin > Cc: Xen-users@lists.xensource.com > 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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@mbs-technet.com> 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 Ihave tried so far have failed. > > Thanks > > Ian > > -----Original Message----- > From: Jeremie Le Hen [mailto:jeremie@le-hen.org <jeremie@le-hen.org>] > Sent: 23 January 2008 15:27 > To: Ian Tobin > Cc: Xen-users@lists.xensource.com > 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@lists.xensource.com > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Emre Erenoglu erenoglu@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@mbs-technet.com> > 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@le-hen.org] >> Sent: 23 January 2008 15:27 >> To: Ian Tobin >> Cc: Xen-users@lists.xensource.com >> 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@lists.xensource.com >> http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > -- > Emre Erenoglu > erenoglu@gmail.com_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jeremie Le Hen
2008-Jan-24 17:57 UTC
Re: [Xen-users] Howto compiling Xen 3.2 on Debian/Ubuntu (was: Compiling Xen-3.2.0)
Hi, I finally carried out "make world" with Xen 3.2 after much struggle. The problems occured in the kernel part of the world. First, contrary to xen-3.1.0-src.tgz, xen-3.2.0.tar.gz doesn''t come along with the linux-2.6-xen-sparse/ and patches/ directories which allow to build a xen-infied kernel from a vanilla kernel source. Therefore it is impossible to use "make world XEN_LINUX_SOURCE=tarball". One must use Mercurial to fetch the xen-ified kernel from Xensource Mercurial repository, but it seems that the current Mercurial version shipped with Debian/Ubuntu is outdated and cannot be used out-of-the-box to download the xenified kernel source tree automatically during make world. It is necessary, at least from my own understanding, to "make prep-kernels" in order to create the kernel build directory. Indeed if you put your .config file directory into the kernel tree, the kernel''s build system will complain about its cleanliness and will ask you to run "make mrproper". The reason is that the kernel is not built directly in the source tree -- as most of people used to do -- but instead uses a separate directory to store produced object files, thus the assumption about the cleanliness. So I devised with the following process to build Xen 3.2. % mkdir build % wget http://bits.xensource.com/oss-xen/release/3.2.0/xen-3.2.0.tar.gz % tar xzf xen-3.2.0.tar.gz % # Download the xenifid kernel tree manually, but NOT in xen-3.2.0/ % # because the buildconfig/select-repository script would skip it. % # ! xen-3.2.0/ and linux-2.6.18-xen.hg/ must be at the same level ! % hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg % cd xen-3.2.0 % make prep-kernels % cp /boot/config-2.6.18-my build-linux-2.6.18-xen_x86_32/.config % make dist Hope this will help. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Kalle
2008-Jan-24 18:35 UTC
Re: [Xen-users] Howto compiling Xen 3.2 on Debian/Ubuntu (was: Compiling Xen-3.2.0)
Hi, I had similar experiences when I was installing 3.2.0 to Debian Lenny/Etch. On Thu, 24 Jan 2008, Jeremie Le Hen wrote:> Hi, > > I finally carried out "make world" with Xen 3.2 after much struggle. > The problems occured in the kernel part of the world.I newer got ''make world'' run succesfully. Problem was that it can''t download the kernel using mercurial. Lenny and Etch both saffered this issue.> First, contrary to xen-3.1.0-src.tgz, xen-3.2.0.tar.gz doesn''t come > along with the linux-2.6-xen-sparse/ and patches/ directories which > allow to build a xen-infied kernel from a vanilla kernel source. > Therefore it is impossible to use "make world XEN_LINUX_SOURCE=tarball". >That''s shame, because I really would have those patches. Other way would be that someone has documents about the ne "architecture".> One must use Mercurial to fetch the xen-ified kernel from Xensource > Mercurial repository, but it seems that the current Mercurial version > shipped with Debian/Ubuntu is outdated and cannot be used out-of-the-box > to download the xenified kernel source tree automatically during make > world.Yep!> > It is necessary, at least from my own understanding, to "make > prep-kernels" in order to create the kernel build directory. Indeed if > you put your .config file directory into the kernel tree, the kernel''s > build system will complain about its cleanliness and will ask you to run > "make mrproper". The reason is that the kernel is not built directly in > the source tree -- as most of people used to do -- but instead uses a > separate directory to store produced object files, thus the assumption > about the cleanliness. > > So I devised with the following process to build Xen 3.2. > % mkdir build > % wget http://bits.xensource.com/oss-xen/release/3.2.0/xen-3.2.0.tar.gz > % tar xzf xen-3.2.0.tar.gz > % # Download the xenifid kernel tree manually, but NOT in xen-3.2.0/ > % # because the buildconfig/select-repository script would skip it. > % # ! xen-3.2.0/ and linux-2.6.18-xen.hg/ must be at the same level ! > % hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg > % cd xen-3.2.0 > % make prep-kernels > % cp /boot/config-2.6.18-my build-linux-2.6.18-xen_x86_32/.config > % make distThis is almoust same way I go. - Instead of ''make prep-kernels'' I used ''make linux-2.6-xen-config CONFIGMODE=menuconfig'' -> Make little changes to kernel for my needs. - And instead of ''make dist'' I used ''make linux-2.6-xen-build'' - After that i did ''make install'' but if I remember correctly i needed todo Grub''s menu.lst, initrd and copy vmlinuz and modules to right places by myself. I still would like to know that is there any patches available. Or is the only way to go mercurial? How does this new "system" works? I supposed that ''linux-2.6.18-xen.hg'' ships with already patched? Cos i don''t see any patching happening when do ''make anything'' Regards, Kalle> Hope this will help. > Regards, > -- > Jeremie Le Hen > < jeremie at le-hen dot org >< ttz at chchile dot org > > > _______________________________________________ > 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
Jeremie Le Hen
2008-Jan-24 22:25 UTC
Re: [Xen-users] Howto compiling Xen 3.2 on Debian/Ubuntu (was: Compiling Xen-3.2.0)
Kalle, On Thu, Jan 24, 2008 at 08:35:36PM +0200, Kalle wrote:> > I finally carried out "make world" with Xen 3.2 after much struggle. > > The problems occured in the kernel part of the world. > > I newer got ''make world'' run succesfully. > Problem was that it can''t download the kernel using mercurial. > Lenny and Etch both saffered this issue.I''ve narrowed down the problem to buildconfig/select-repository. In buildconfig/src.hg-clone you have (code intentionally clipped down): % LINUX_SRC_PATH ?= .:.. # From mk.linux-2.6-xen % LINUX_SRCDIR ?= linux-$(LINUX_VER)-xen.hg % XEN_LINUX_HGREPO ?= $$(sh buildconfigs/select-repository $(LINUX_SRCDIR) $(LINUX_SRC_PATH)) % % $(LINUX_SRCDIR)/.valid-src: $(__XEN_LINUX_UPDATE) % set -e ; \ % if [ ! -e $(LINUX_SRCDIR)/.hg ] ; then \ % __repo=$(XEN_LINUX_HGREPO) ; \ % if [ -d $${__repo} ] ; then \ % echo "Linking $${__repo} to $(LINUX_SRCDIR)." ; \ % ln -s $${__repo} $(LINUX_SRCDIR) ; \ % else \ % echo "Cloning $${__repo} to $(LINUX_SRCDIR)." ; \ % $(HG) clone $${__repo#file://} $(LINUX_SRCDIR) ; \ % fi ; \ % [...] "set -e" means the while piece of script would fail if a single command fails (without being catched). OTOH buildconfig/select-repository searches for ${LINUX_SRCDIR} in the colon-separated directory list ${LINUX_SRC_PATH}. If it doesn''t find ${LINUX_SRCDIR}, it fails with "exit 1", so the script fails. BTW, there is an obvious lack of synchronisation between the makefiles and select-repository because the latter skips unconditionally "." while ${LINUX_SRC_PATH} unconditionally contains "." :-). It happens that cloning Xensource''s kernel source tree with Mercurial besides Xen 3.2 directory leads the build infrastructure in a valid path.> > First, contrary to xen-3.1.0-src.tgz, xen-3.2.0.tar.gz doesn''t come > > along with the linux-2.6-xen-sparse/ and patches/ directories which > > allow to build a xen-infied kernel from a vanilla kernel source. > > Therefore it is impossible to use "make world XEN_LINUX_SOURCE=tarball". > > > > That''s shame, because I really would have those patches. > Other way would be that someone has documents about the ne "architecture".>From what I''ve understood reading the buildconfig/ directory content,you have two ways to fetch the kernel source. - The default, named "hg-clone", uses Mercurial. - The other one, "tarball", fetches the vanilla Linux kernel source but I think this one is non-functional because of lack of the aforementioned stuff. You can switch to one or the other using XEN_LINUX_SOURCE make variable. For instance: % make dist XEN_LINUX_SOURCE=tarball> > It is necessary, at least from my own understanding, to "make > > prep-kernels" in order to create the kernel build directory. Indeed if > > you put your .config file directory into the kernel tree, the kernel''s > > build system will complain about its cleanliness and will ask you to run > > "make mrproper". The reason is that the kernel is not built directly in > > the source tree -- as most of people used to do -- but instead uses a > > separate directory to store produced object files, thus the assumption > > about the cleanliness. > > > > So I devised with the following process to build Xen 3.2. > > % mkdir build > > % wget http://bits.xensource.com/oss-xen/release/3.2.0/xen-3.2.0.tar.gz > > % tar xzf xen-3.2.0.tar.gz > > % # Download the xenifid kernel tree manually, but NOT in xen-3.2.0/ > > % # because the buildconfig/select-repository script would skip it. > > % # ! xen-3.2.0/ and linux-2.6.18-xen.hg/ must be at the same level ! > > % hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg > > % cd xen-3.2.0 > > % make prep-kernels > > % cp /boot/config-2.6.18-my build-linux-2.6.18-xen_x86_32/.config > > % make dist > > > This is almoust same way I go. > > - Instead of ''make prep-kernels'' I used ''make linux-2.6-xen-config > CONFIGMODE=menuconfig'' > -> Make little changes to kernel for my needs. > > - And instead of ''make dist'' I used ''make linux-2.6-xen-build'' > > - After that i did ''make install'' but if I remember correctly i needed todo > Grub''s menu.lst, initrd and copy vmlinuz and modules to right places by > myself.Yes you are right. Actually "make dist" does not install Xen. It just builds everything and create the layout in dist/. I let the user install the stuff following his requirements.> I still would like to know that is there any patches available. > Or is the only way to go mercurial?Currently, it seems they are not provided any more with Xen 3.2. I don''t know if this is a lack time or a> How does this new "system" works?See above. I think a thorough explanation should be in the wiki.> I supposed that ''linux-2.6.18-xen.hg'' ships with already patched? > Cos i don''t see any patching happening when do ''make anything''Yes. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jens Seidel
2008-Jan-25 15:11 UTC
Re: [Xen-users] Howto compiling Xen 3.2 on Debian/Ubuntu (was: Compiling Xen-3.2.0)
On Thu, Jan 24, 2008 at 08:35:36PM +0200, Kalle wrote:> I had similar experiences when I was installing 3.2.0 to Debian > Lenny/Etch.I tried it in OpenSuse 10.2. It failed because mercurial was too old. Cloning the Linux repository with a newer Debian Etch system from a domU worked but failed later (in OpenSuse) again because of unsupported mercurial data format during make world.> On Thu, 24 Jan 2008, Jeremie Le Hen wrote: > >I finally carried out "make world" with Xen 3.2 after much struggle. > >The problems occured in the kernel part of the world. > > I newer got ''make world'' run succesfully. > Problem was that it can''t download the kernel using mercurial. > Lenny and Etch both saffered this issue.Strange, I think it worked for me for Debian Etch but failed during linking because it could not find a binary compatible libz in my domU. The solution was trivial: I just installed the latest mercurial from source in my OpenSuse dom0 system (via "make local"). It took no longer than 1 second for build, did not require additional dependencies, ...! Never have seen such a fast build. With it "make world" worked well and upgrading from Xen 3.1 to 3.2 was very very smooth. Great! Jens _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@mbs-technet.com] Sent: 24 January 2008 13:19 To: Emre Erenoglu Cc: Ian Tobin; Jeremie Le Hen; Xen-users@lists.xensource.com 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@mbs-technet.com> 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@le-hen.org] Sent: 23 January 2008 15:27 To: Ian Tobin Cc: Xen-users@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- Emre Erenoglu erenoglu@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Jan 25, 2008 at 03:49:38PM -0000, Ian Tobin wrote:> 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?See my other post in this thread, renamed to: "Re: [Xen-users] Howto compiling Xen 3.2 on Debian/Ubuntu (was: Compiling Xen-3.2.0)". It contains an explanation for this. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I did what you suggested by running Make prep-kernels But the error still appears when running make install from the xen-3.2.0 directory, any ideas? CONFIG_MODULES=y make[3]: Entering directory `/usr/src/xen-3.2.0/build-linux-2.6.18-xen_x86_64'' make -C /usr/src/linux-2.6.18-xen.hg O=/usr/src/xen-3.2.0/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.0/build-linux-2.6.18-xen_x86_64'' make[2]: *** [build] Error 1 make[2]: Leaving directory `/usr/src/xen-3.2.0'' make[1]: *** [linux-2.6-xen-install] Error 2 make[1]: Leaving directory `/usr/src/xen-3.2.0'' make: *** [install-kernels] Error 1 triggertest:/usr/src/xen-3.2.0# thanks Ian -----Original Message----- From: Jeremie Le Hen [mailto:jeremie@le-hen.org] Sent: 26 January 2008 11:38 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] Compiling Xen-3.2.0 On Fri, Jan 25, 2008 at 03:49:38PM -0000, Ian Tobin wrote:> 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.hgO=/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 ''makemrproper''> 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 itinstalled, now the same problem exists in 3.2.> > Any ideas?See my other post in this thread, renamed to: "Re: [Xen-users] Howto compiling Xen 3.2 on Debian/Ubuntu (was: Compiling Xen-3.2.0)". It contains an explanation for this. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ian, Try running: # cd xen-3.2.0 # make clean # make linux-2.6-xen-config CONFIGMODE=menuconfig [you could also put in gconfig or xconfig if in the X windows environment] # make all # make install That should allow you build a configured kernel the first time. Cheers, Tait -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Ian Tobin Sent: January-28-08 6:53 AM To: Jeremie Le Hen Cc: Xen-users@lists.xensource.com Subject: RE: [Xen-users] Compiling Xen-3.2.0 Hi, I did what you suggested by running Make prep-kernels But the error still appears when running make install from the xen-3.2.0 directory, any ideas? CONFIG_MODULES=y make[3]: Entering directory `/usr/src/xen-3.2.0/build-linux-2.6.18-xen_x86_64'' make -C /usr/src/linux-2.6.18-xen.hg O=/usr/src/xen-3.2.0/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.0/build-linux-2.6.18-xen_x86_64'' make[2]: *** [build] Error 1 make[2]: Leaving directory `/usr/src/xen-3.2.0'' make[1]: *** [linux-2.6-xen-install] Error 2 make[1]: Leaving directory `/usr/src/xen-3.2.0'' make: *** [install-kernels] Error 1 triggertest:/usr/src/xen-3.2.0# thanks Ian -----Original Message----- From: Jeremie Le Hen [mailto:jeremie@le-hen.org] Sent: 26 January 2008 11:38 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] Compiling Xen-3.2.0 On Fri, Jan 25, 2008 at 03:49:38PM -0000, Ian Tobin wrote:> 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.hgO=/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 ''makemrproper''> 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 itinstalled, now the same problem exists in 3.2.> > Any ideas?See my other post in this thread, renamed to: "Re: [Xen-users] Howto compiling Xen 3.2 on Debian/Ubuntu (was: Compiling Xen-3.2.0)". It contains an explanation for this. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ 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
Hi, I tried that method but I still get this error make[3]: Entering directory `/usr/src/xen-3.2.0/build-linux-2.6.18-xen_x86_64'' make -C /usr/src/linux-2.6.18-xen.hg O=/usr/src/xen-3.2.0/build-linux-2.6.18-xen_x86_64 modules GEN /usr/src/xen-3.2.0/build-linux-2.6.18-xen_x86_64/Makefile scripts/kconfig/conf -s arch/x86_64/Kconfig 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.0/build-linux-2.6.18-xen_x86_64'' make[2]: *** [build] Error 1 make[2]: Leaving directory `/usr/src/xen-3.2.0'' make[1]: *** [linux-2.6-xen-install] Error 2 make[1]: Leaving directory `/usr/src/xen-3.2.0'' make: *** [install-kernels] Error 1 triggertest:/usr/src/xen-3.2.0# Im sure im not the only one who is getting this? Thanks Ian -----Original Message----- From: Tait Clarridge [mailto:Tait.Clarridge@lavalife.com] Sent: 28 January 2008 14:32 To: Ian Tobin; Jeremie Le Hen Cc: Xen-users@lists.xensource.com Subject: RE: [Xen-users] Compiling Xen-3.2.0 Ian, Try running: # cd xen-3.2.0 # make clean # make linux-2.6-xen-config CONFIGMODE=menuconfig [you could also put in gconfig or xconfig if in the X windows environment] # make all # make install That should allow you build a configured kernel the first time. Cheers, Tait -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Ian Tobin Sent: January-28-08 6:53 AM To: Jeremie Le Hen Cc: Xen-users@lists.xensource.com Subject: RE: [Xen-users] Compiling Xen-3.2.0 Hi, I did what you suggested by running Make prep-kernels But the error still appears when running make install from the xen-3.2.0 directory, any ideas? CONFIG_MODULES=y make[3]: Entering directory `/usr/src/xen-3.2.0/build-linux-2.6.18-xen_x86_64'' make -C /usr/src/linux-2.6.18-xen.hg O=/usr/src/xen-3.2.0/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.0/build-linux-2.6.18-xen_x86_64'' make[2]: *** [build] Error 1 make[2]: Leaving directory `/usr/src/xen-3.2.0'' make[1]: *** [linux-2.6-xen-install] Error 2 make[1]: Leaving directory `/usr/src/xen-3.2.0'' make: *** [install-kernels] Error 1 triggertest:/usr/src/xen-3.2.0# thanks Ian -----Original Message----- From: Jeremie Le Hen [mailto:jeremie@le-hen.org] Sent: 26 January 2008 11:38 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] Compiling Xen-3.2.0 On Fri, Jan 25, 2008 at 03:49:38PM -0000, Ian Tobin wrote:> 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.hgO=/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 ''makemrproper''> 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 itinstalled, now the same problem exists in 3.2.> > Any ideas?See my other post in this thread, renamed to: "Re: [Xen-users] Howto compiling Xen 3.2 on Debian/Ubuntu (was: Compiling Xen-3.2.0)". It contains an explanation for this. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ 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
Hi Ian, On Mon, Jan 28, 2008 at 02:43:07PM -0000, Ian Tobin wrote:> Hi, > > I tried that method but I still get this error > > make[3]: Entering directory > `/usr/src/xen-3.2.0/build-linux-2.6.18-xen_x86_64'' > make -C /usr/src/linux-2.6.18-xen.hg > O=/usr/src/xen-3.2.0/build-linux-2.6.18-xen_x86_64 modules > GEN /usr/src/xen-3.2.0/build-linux-2.6.18-xen_x86_64/Makefile > scripts/kconfig/conf -s arch/x86_64/Kconfig > 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.0/build-linux-2.6.18-xen_x86_64'' > make[2]: *** [build] Error 1 > make[2]: Leaving directory `/usr/src/xen-3.2.0'' > make[1]: *** [linux-2.6-xen-install] Error 2 > make[1]: Leaving directory `/usr/src/xen-3.2.0'' > make: *** [install-kernels] Error 1 > triggertest:/usr/src/xen-3.2.0# > > Im sure im not the only one who is getting this?As said in my small HOWTO: % It is necessary, at least from my own understanding, to "make % prep-kernels" in order to create the kernel build directory. Indeed % if you put your .config file directory into the kernel tree, the % kernel''s build system will complain about its cleanliness and will ask % you to run "make mrproper". The reason is that the kernel is not % built directly in the source tree -- as most of people used to do -- % but instead uses a separate directory to store produced object files, % thus the assumption about the cleanliness. I admit this could be stated in better english, though :). To make it short: "make prep-kernels" create a build directory for the kernel ***where you can copy your .config file***. DO NOT CREATE A .config FILE IN THE KERNEL SOURCE TREE. Concretly: % xentest:~/build/xen-3.2.0# make prep-kernels % [...] % make[3]: Leaving directory `/root/build/xen-3.2.0/build-linux-2.6.18-xen_x86_32'' % make[2]: Leaving directory `/root/build/xen-3.2.0'' % make[1]: Leaving directory `/root/build/xen-3.2.0'' % % xentest:~/build/xen-3.2.0# cp /path/to/your/.config build-linux-2.6.18-xen_x86_32/.config % % xentest:~/build/xen-3.2.0# make dist % [...] I hope this will be clearer now. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jan 29, 2008 at 3:28 PM, Jeremie Le Hen <jeremie@le-hen.org> wrote: To make it short: "make prep-kernels" create a build directory for the> kernel ***where you can copy your .config file***. DO NOT CREATE A > .config FILE IN THE KERNEL SOURCE TREE. >the HOWTO is nice so I guess if I have to change some kernel settings I shall run "make menuconfig" inside the same build-linux-2.6.18-xen_x86_64/ folder, after prep-kernels, right? -- Edoardo Ceccarelli - eddy@axa.it _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
you can do "make linux-2.6-xen-config CONFIGMODE=menuconfig" under xen''s directory or cd build-linux-2.6.18-xen_x86_64 make menuconfig On Mon, Mar 10, 2008 at 2:30 PM, Edoardo Ceccarelli <eddy@axa.it> wrote:> On Tue, Jan 29, 2008 at 3:28 PM, Jeremie Le Hen <jeremie@le-hen.org> > wrote: > > To make it short: "make prep-kernels" create a build directory for the > > kernel ***where you can copy your .config file***. DO NOT CREATE A > > .config FILE IN THE KERNEL SOURCE TREE. > > > > the HOWTO is nice > so I guess if I have to change some kernel settings I shall run "make > menuconfig" inside the same > > build-linux-2.6.18-xen_x86_64/ > > folder, after prep-kernels, right? > > > -- > Edoardo Ceccarelli - eddy@axa.it > _______________________________________________ > 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
yes, this is what I figured, but any attempt I made, always ended up with mkinitrd complaining about missing module pata_atiixp here is the output.. [root@velvet xen-3.2.0]# mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.18.8-xen.img 2.6.18.8-xen Creating initramfs Looking for deps of module ehci-hcd: usbcore Looking for deps of module usbcore Looking for deps of module ohci-hcd: usbcore Looking for deps of module uhci-hcd: usbcore Looking for deps of module ext3: jbd Looking for deps of module jbd Found root device sda3 for LABEL=/ Looking for driver for device sda3 Looking for deps of module scsi:t-0x00 Looking for deps of module pci:v00001002d00004379sv0000103Csd000030B0bc01sc01i8f: scsi_mod libata sata_sil Looking for deps of module scsi_mod Looking for deps of module sd_mod: scsi_mod Looking for deps of module libata: scsi_mod Looking for deps of module sata_sil: scsi_mod libata Looking for driver for device LABEL=/ Looking for driver for device LABEL=SWAP-sda2 Looking for deps of module pata_atiixp No module pata_atiixp found for kernel 2.6.18.8-xen, aborting. On Mon, Mar 10, 2008 at 7:38 PM, weiming <zephyr.zhao@gmail.com> wrote:> you can do > "make linux-2.6-xen-config CONFIGMODE=menuconfig" under xen''s directory > or > cd build-linux-2.6.18-xen_x86_64 > make menuconfig > > On Mon, Mar 10, 2008 at 2:30 PM, Edoardo Ceccarelli <eddy@axa.it> wrote: > > > On Tue, Jan 29, 2008 at 3:28 PM, Jeremie Le Hen <jeremie@le-hen.org> > > wrote: > > > > To make it short: "make prep-kernels" create a build directory for the > > > kernel ***where you can copy your .config file***. DO NOT CREATE A > > > .config FILE IN THE KERNEL SOURCE TREE. > > > > > > > the HOWTO is nice > > so I guess if I have to change some kernel settings I shall run "make > > menuconfig" inside the same > > > > build-linux-2.6.18-xen_x86_64/ > > > > folder, after prep-kernels, right? > > > > > > -- > > Edoardo Ceccarelli - eddy@axa.it > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > >-- Edoardo Ceccarelli - eddy@axa.it _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
did you enable the sata driver in the config? anyway, you can manually build the image file following the xen manual. then run the install script to copy them to the /boot finally, try to boot the xen. If it fails, you should enable the sata driver in the menuconfig then rebuild. weiming On Mon, Mar 10, 2008 at 4:40 PM, Edoardo Ceccarelli <eddy@axa.it> wrote:> yes, this is what I figured, but any attempt I made, always ended up with > mkinitrd complaining about missing module pata_atiixp > > here is the output.. > > [root@velvet xen-3.2.0]# mkinitrd -v -f --with=aacraid --with=sd_mod > --with=scsi_mod initrd-2.6.18.8-xen.img 2.6.18.8-xen > Creating initramfs > Looking for deps of module ehci-hcd: usbcore > Looking for deps of module usbcore > Looking for deps of module ohci-hcd: usbcore > Looking for deps of module uhci-hcd: usbcore > Looking for deps of module ext3: jbd > Looking for deps of module jbd > Found root device sda3 for LABEL=/ > Looking for driver for device sda3 > Looking for deps of module scsi:t-0x00 > Looking for deps of module > pci:v00001002d00004379sv0000103Csd000030B0bc01sc01i8f: scsi_mod libata > sata_sil > Looking for deps of module scsi_mod > Looking for deps of module sd_mod: scsi_mod > Looking for deps of module libata: scsi_mod > Looking for deps of module sata_sil: scsi_mod libata > Looking for driver for device LABEL=/ > Looking for driver for device LABEL=SWAP-sda2 > Looking for deps of module pata_atiixp > No module pata_atiixp found for kernel 2.6.18.8-xen, aborting. > > > > > > On Mon, Mar 10, 2008 at 7:38 PM, weiming <zephyr.zhao@gmail.com> wrote: > > > you can do > > "make linux-2.6-xen-config CONFIGMODE=menuconfig" under xen''s directory > > or > > cd build-linux-2.6.18-xen_x86_64 > > make menuconfig > > > > On Mon, Mar 10, 2008 at 2:30 PM, Edoardo Ceccarelli <eddy@axa.it> wrote: > > > > > On Tue, Jan 29, 2008 at 3:28 PM, Jeremie Le Hen <jeremie@le-hen.org> > > > wrote: > > > > > > To make it short: "make prep-kernels" create a build directory for the > > > > kernel ***where you can copy your .config file***. DO NOT CREATE A > > > > .config FILE IN THE KERNEL SOURCE TREE. > > > > > > > > > > the HOWTO is nice > > > so I guess if I have to change some kernel settings I shall run "make > > > menuconfig" inside the same > > > > > > build-linux-2.6.18-xen_x86_64/ > > > > > > folder, after prep-kernels, right? > > > > > > > > > -- > > > Edoardo Ceccarelli - eddy@axa.it > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > -- > Edoardo Ceccarelli - eddy@axa.it >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I have enabled every possible sata driver, as a module, and I have also tried to enable it as builtin, plus I have tried different ones, cause there is the sata under SCSI - low level drivers and also a module under ATA/ATAPI - PCI IDE - GENERIC PCI - ATI IXP this module should be the one, it is called BLK_DEV_ATIIXP and it is enabled as a module in my .config but the error is still there. I am starting to think that I am editing a .config and make is reading another one... anyway, how can I build the image manually? On Mon, Mar 10, 2008 at 10:48 PM, weiming <zephyr.zhao@gmail.com> wrote:> did you enable the sata driver in the config? > anyway, you can manually build the image file following the xen manual. > then run the install script to copy them to the /boot > > finally, try to boot the xen. If it fails, you should enable the sata > driver in the menuconfig then rebuild. > > weiming > > > > On Mon, Mar 10, 2008 at 4:40 PM, Edoardo Ceccarelli <eddy@axa.it> wrote: > > > yes, this is what I figured, but any attempt I made, always ended up > > with mkinitrd complaining about missing module pata_atiixp > > > > here is the output.. > > > > [root@velvet xen-3.2.0]# mkinitrd -v -f --with=aacraid --with=sd_mod > > --with=scsi_mod initrd-2.6.18.8-xen.img 2.6.18.8-xen > > Creating initramfs > > Looking for deps of module ehci-hcd: usbcore > > Looking for deps of module usbcore > > Looking for deps of module ohci-hcd: usbcore > > Looking for deps of module uhci-hcd: usbcore > > Looking for deps of module ext3: jbd > > Looking for deps of module jbd > > Found root device sda3 for LABEL=/ > > Looking for driver for device sda3 > > Looking for deps of module scsi:t-0x00 > > Looking for deps of module > > pci:v00001002d00004379sv0000103Csd000030B0bc01sc01i8f: scsi_mod libata > > sata_sil > > Looking for deps of module scsi_mod > > Looking for deps of module sd_mod: scsi_mod > > Looking for deps of module libata: scsi_mod > > Looking for deps of module sata_sil: scsi_mod libata > > Looking for driver for device LABEL=/ > > Looking for driver for device LABEL=SWAP-sda2 > > Looking for deps of module pata_atiixp > > No module pata_atiixp found for kernel 2.6.18.8-xen, aborting. > > > > > > > > > > > > On Mon, Mar 10, 2008 at 7:38 PM, weiming <zephyr.zhao@gmail.com> wrote: > > > > > you can do > > > "make linux-2.6-xen-config CONFIGMODE=menuconfig" under xen''s > > > directory > > > or > > > cd build-linux-2.6.18-xen_x86_64 > > > make menuconfig > > > > > > On Mon, Mar 10, 2008 at 2:30 PM, Edoardo Ceccarelli <eddy@axa.it> > > > wrote: > > > > > > > On Tue, Jan 29, 2008 at 3:28 PM, Jeremie Le Hen <jeremie@le-hen.org> > > > > wrote: > > > > > > > > To make it short: "make prep-kernels" create a build directory for > > > > > the > > > > > kernel ***where you can copy your .config file***. DO NOT CREATE > > > > > A > > > > > .config FILE IN THE KERNEL SOURCE TREE. > > > > > > > > > > > > > the HOWTO is nice > > > > so I guess if I have to change some kernel settings I shall run > > > > "make menuconfig" inside the same > > > > > > > > build-linux-2.6.18-xen_x86_64/ > > > > > > > > folder, after prep-kernels, right? > > > > > > > > > > > > -- > > > > Edoardo Ceccarelli - eddy@axa.it > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > -- > > Edoardo Ceccarelli - eddy@axa.it > > > >-- Edoardo Ceccarelli - eddy@axa.it _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
to build the image file manually, you can check xen user manual. Basically, you just manually type the "mkinitrd" command It will still report the error but anyway it generates the image file On Mon, Mar 10, 2008 at 5:44 PM, Edoardo Ceccarelli <eddy@axa.it> wrote:> I have enabled every possible sata driver, as a module, and I have also > tried to enable it as builtin, plus I have tried different ones, cause there > is the sata under SCSI - low level drivers and also a module under ATA/ATAPI > - PCI IDE - GENERIC PCI - ATI IXP > this module should be the one, it is called BLK_DEV_ATIIXP and it is > enabled as a module in my .config > but the error is still there. > I am starting to think that I am editing a .config and make is reading > another one... > anyway, how can I build the image manually? > > > On Mon, Mar 10, 2008 at 10:48 PM, weiming <zephyr.zhao@gmail.com> wrote: > > > did you enable the sata driver in the config? > > anyway, you can manually build the image file following the xen manual. > > then run the install script to copy them to the /boot > > > > finally, try to boot the xen. If it fails, you should enable the sata > > driver in the menuconfig then rebuild. > > > > weiming > > > > > > > > On Mon, Mar 10, 2008 at 4:40 PM, Edoardo Ceccarelli <eddy@axa.it> wrote: > > > > > yes, this is what I figured, but any attempt I made, always ended up > > > with mkinitrd complaining about missing module pata_atiixp > > > > > > here is the output.. > > > > > > [root@velvet xen-3.2.0]# mkinitrd -v -f --with=aacraid --with=sd_mod > > > --with=scsi_mod initrd-2.6.18.8-xen.img 2.6.18.8-xen > > > Creating initramfs > > > Looking for deps of module ehci-hcd: usbcore > > > Looking for deps of module usbcore > > > Looking for deps of module ohci-hcd: usbcore > > > Looking for deps of module uhci-hcd: usbcore > > > Looking for deps of module ext3: jbd > > > Looking for deps of module jbd > > > Found root device sda3 for LABEL=/ > > > Looking for driver for device sda3 > > > Looking for deps of module scsi:t-0x00 > > > Looking for deps of module > > > pci:v00001002d00004379sv0000103Csd000030B0bc01sc01i8f: scsi_mod libata > > > sata_sil > > > Looking for deps of module scsi_mod > > > Looking for deps of module sd_mod: scsi_mod > > > Looking for deps of module libata: scsi_mod > > > Looking for deps of module sata_sil: scsi_mod libata > > > Looking for driver for device LABEL=/ > > > Looking for driver for device LABEL=SWAP-sda2 > > > Looking for deps of module pata_atiixp > > > No module pata_atiixp found for kernel 2.6.18.8-xen, aborting. > > > > > > > > > > > > > > > > > > On Mon, Mar 10, 2008 at 7:38 PM, weiming <zephyr.zhao@gmail.com> > > > wrote: > > > > > > > you can do > > > > "make linux-2.6-xen-config CONFIGMODE=menuconfig" under xen''s > > > > directory > > > > or > > > > cd build-linux-2.6.18-xen_x86_64 > > > > make menuconfig > > > > > > > > On Mon, Mar 10, 2008 at 2:30 PM, Edoardo Ceccarelli <eddy@axa.it> > > > > wrote: > > > > > > > > > On Tue, Jan 29, 2008 at 3:28 PM, Jeremie Le Hen < > > > > > jeremie@le-hen.org> wrote: > > > > > > > > > > To make it short: "make prep-kernels" create a build directory for > > > > > > the > > > > > > kernel ***where you can copy your .config file***. DO NOT > > > > > > CREATE A > > > > > > .config FILE IN THE KERNEL SOURCE TREE. > > > > > > > > > > > > > > > > the HOWTO is nice > > > > > so I guess if I have to change some kernel settings I shall run > > > > > "make menuconfig" inside the same > > > > > > > > > > build-linux-2.6.18-xen_x86_64/ > > > > > > > > > > folder, after prep-kernels, right? > > > > > > > > > > > > > > > -- > > > > > Edoardo Ceccarelli - eddy@axa.it > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > -- > > > Edoardo Ceccarelli - eddy@axa.it > > > > > > > > > > -- > Edoardo Ceccarelli - eddy@axa.it >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
but as I wrote before this is exactly what I am doing: mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.18.8-xen.img 2.6.18.8-xen without this it doesn''t make the initrd.. On Mon, Mar 10, 2008 at 11:56 PM, weiming <zephyr.zhao@gmail.com> wrote:> to build the image file manually, you can check xen user manual. > Basically, you just manually type the "mkinitrd" command > > It will still report the error but anyway it generates the image file > > On Mon, Mar 10, 2008 at 5:44 PM, Edoardo Ceccarelli <eddy@axa.it> wrote: > > > I have enabled every possible sata driver, as a module, and I have also > > tried to enable it as builtin, plus I have tried different ones, cause there > > is the sata under SCSI - low level drivers and also a module under ATA/ATAPI > > - PCI IDE - GENERIC PCI - ATI IXP > > this module should be the one, it is called BLK_DEV_ATIIXP and it is > > enabled as a module in my .config > > but the error is still there. > > I am starting to think that I am editing a .config and make is reading > > another one... > > anyway, how can I build the image manually? > > > > > > On Mon, Mar 10, 2008 at 10:48 PM, weiming <zephyr.zhao@gmail.com> wrote: > > > > > did you enable the sata driver in the config? > > > anyway, you can manually build the image file following the xen > > > manual. > > > then run the install script to copy them to the /boot > > > > > > finally, try to boot the xen. If it fails, you should enable the sata > > > driver in the menuconfig then rebuild. > > > > > > weiming > > > > > > > > > > > > On Mon, Mar 10, 2008 at 4:40 PM, Edoardo Ceccarelli <eddy@axa.it> > > > wrote: > > > > > > > yes, this is what I figured, but any attempt I made, always ended up > > > > with mkinitrd complaining about missing module pata_atiixp > > > > > > > > here is the output.. > > > > > > > > [root@velvet xen-3.2.0]# mkinitrd -v -f --with=aacraid --with=sd_mod > > > > --with=scsi_mod initrd-2.6.18.8-xen.img 2.6.18.8-xen > > > > Creating initramfs > > > > Looking for deps of module ehci-hcd: usbcore > > > > Looking for deps of module usbcore > > > > Looking for deps of module ohci-hcd: usbcore > > > > Looking for deps of module uhci-hcd: usbcore > > > > Looking for deps of module ext3: jbd > > > > Looking for deps of module jbd > > > > Found root device sda3 for LABEL=/ > > > > Looking for driver for device sda3 > > > > Looking for deps of module scsi:t-0x00 > > > > Looking for deps of module > > > > pci:v00001002d00004379sv0000103Csd000030B0bc01sc01i8f: scsi_mod libata > > > > sata_sil > > > > Looking for deps of module scsi_mod > > > > Looking for deps of module sd_mod: scsi_mod > > > > Looking for deps of module libata: scsi_mod > > > > Looking for deps of module sata_sil: scsi_mod libata > > > > Looking for driver for device LABEL=/ > > > > Looking for driver for device LABEL=SWAP-sda2 > > > > Looking for deps of module pata_atiixp > > > > No module pata_atiixp found for kernel 2.6.18.8-xen, aborting. > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Mar 10, 2008 at 7:38 PM, weiming <zephyr.zhao@gmail.com> > > > > wrote: > > > > > > > > > you can do > > > > > "make linux-2.6-xen-config CONFIGMODE=menuconfig" under xen''s > > > > > directory > > > > > or > > > > > cd build-linux-2.6.18-xen_x86_64 > > > > > make menuconfig > > > > > > > > > > On Mon, Mar 10, 2008 at 2:30 PM, Edoardo Ceccarelli <eddy@axa.it> > > > > > wrote: > > > > > > > > > > > On Tue, Jan 29, 2008 at 3:28 PM, Jeremie Le Hen < > > > > > > jeremie@le-hen.org> wrote: > > > > > > > > > > > > To make it short: "make prep-kernels" create a build directory > > > > > > > for the > > > > > > > kernel ***where you can copy your .config file***. DO NOT > > > > > > > CREATE A > > > > > > > .config FILE IN THE KERNEL SOURCE TREE. > > > > > > > > > > > > > > > > > > > the HOWTO is nice > > > > > > so I guess if I have to change some kernel settings I shall run > > > > > > "make menuconfig" inside the same > > > > > > > > > > > > build-linux-2.6.18-xen_x86_64/ > > > > > > > > > > > > folder, after prep-kernels, right? > > > > > > > > > > > > > > > > > > -- > > > > > > Edoardo Ceccarelli - eddy@axa.it > > > > > > _______________________________________________ > > > > > > Xen-users mailing list > > > > > > Xen-users@lists.xensource.com > > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Edoardo Ceccarelli - eddy@axa.it > > > > > > > > > > > > > > > > -- > > Edoardo Ceccarelli - eddy@axa.it > > > >-- Edoardo Ceccarelli - eddy@axa.it _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
if you''re not using sata/scsi/raid drives, you can remove the --with options On Mon, Mar 10, 2008 at 7:07 PM, Edoardo Ceccarelli <eddy@axa.it> wrote:> but as I wrote before this is exactly what I am doing: > > mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod > initrd-2.6.18.8-xen.img 2.6.18.8-xen > > without this it doesn''t make the initrd.. > > > > > > On Mon, Mar 10, 2008 at 11:56 PM, weiming <zephyr.zhao@gmail.com> wrote: > > > to build the image file manually, you can check xen user manual. > > Basically, you just manually type the "mkinitrd" command > > > > It will still report the error but anyway it generates the image file > > > > On Mon, Mar 10, 2008 at 5:44 PM, Edoardo Ceccarelli <eddy@axa.it> wrote: > > > > > I have enabled every possible sata driver, as a module, and I have > > > also tried to enable it as builtin, plus I have tried different ones, cause > > > there is the sata under SCSI - low level drivers and also a module under > > > ATA/ATAPI - PCI IDE - GENERIC PCI - ATI IXP > > > this module should be the one, it is called BLK_DEV_ATIIXP and it is > > > enabled as a module in my .config > > > but the error is still there. > > > I am starting to think that I am editing a .config and make is reading > > > another one... > > > anyway, how can I build the image manually? > > > > > > > > > On Mon, Mar 10, 2008 at 10:48 PM, weiming <zephyr.zhao@gmail.com> > > > wrote: > > > > > > > did you enable the sata driver in the config? > > > > anyway, you can manually build the image file following the xen > > > > manual. > > > > then run the install script to copy them to the /boot > > > > > > > > finally, try to boot the xen. If it fails, you should enable the > > > > sata driver in the menuconfig then rebuild. > > > > > > > > weiming > > > > > > > > > > > > > > > > On Mon, Mar 10, 2008 at 4:40 PM, Edoardo Ceccarelli <eddy@axa.it> > > > > wrote: > > > > > > > > > yes, this is what I figured, but any attempt I made, always ended > > > > > up with mkinitrd complaining about missing module pata_atiixp > > > > > > > > > > here is the output.. > > > > > > > > > > [root@velvet xen-3.2.0]# mkinitrd -v -f --with=aacraid > > > > > --with=sd_mod --with=scsi_mod initrd-2.6.18.8-xen.img 2.6.18.8-xen > > > > > Creating initramfs > > > > > Looking for deps of module ehci-hcd: usbcore > > > > > Looking for deps of module usbcore > > > > > Looking for deps of module ohci-hcd: usbcore > > > > > Looking for deps of module uhci-hcd: usbcore > > > > > Looking for deps of module ext3: jbd > > > > > Looking for deps of module jbd > > > > > Found root device sda3 for LABEL=/ > > > > > Looking for driver for device sda3 > > > > > Looking for deps of module scsi:t-0x00 > > > > > Looking for deps of module > > > > > pci:v00001002d00004379sv0000103Csd000030B0bc01sc01i8f: scsi_mod libata > > > > > sata_sil > > > > > Looking for deps of module scsi_mod > > > > > Looking for deps of module sd_mod: scsi_mod > > > > > Looking for deps of module libata: scsi_mod > > > > > Looking for deps of module sata_sil: scsi_mod libata > > > > > Looking for driver for device LABEL=/ > > > > > Looking for driver for device LABEL=SWAP-sda2 > > > > > Looking for deps of module pata_atiixp > > > > > No module pata_atiixp found for kernel 2.6.18.8-xen, aborting. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Mar 10, 2008 at 7:38 PM, weiming <zephyr.zhao@gmail.com> > > > > > wrote: > > > > > > > > > > > you can do > > > > > > "make linux-2.6-xen-config CONFIGMODE=menuconfig" under xen''s > > > > > > directory > > > > > > or > > > > > > cd build-linux-2.6.18-xen_x86_64 > > > > > > make menuconfig > > > > > > > > > > > > On Mon, Mar 10, 2008 at 2:30 PM, Edoardo Ceccarelli <eddy@axa.it> > > > > > > wrote: > > > > > > > > > > > > > On Tue, Jan 29, 2008 at 3:28 PM, Jeremie Le Hen < > > > > > > > jeremie@le-hen.org> wrote: > > > > > > > > > > > > > > To make it short: "make prep-kernels" create a build directory > > > > > > > > for the > > > > > > > > kernel ***where you can copy your .config file***. DO NOT > > > > > > > > CREATE A > > > > > > > > .config FILE IN THE KERNEL SOURCE TREE. > > > > > > > > > > > > > > > > > > > > > > the HOWTO is nice > > > > > > > so I guess if I have to change some kernel settings I shall > > > > > > > run "make menuconfig" inside the same > > > > > > > > > > > > > > build-linux-2.6.18-xen_x86_64/ > > > > > > > > > > > > > > folder, after prep-kernels, right? > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Edoardo Ceccarelli - eddy@axa.it > > > > > > > _______________________________________________ > > > > > > > Xen-users mailing list > > > > > > > Xen-users@lists.xensource.com > > > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Edoardo Ceccarelli - eddy@axa.it > > > > > > > > > > > > > > > > > > > > > > -- > > > Edoardo Ceccarelli - eddy@axa.it > > > > > > > > > > -- > Edoardo Ceccarelli - eddy@axa.it >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
thanks to everybody but I am giving up, I managed to compile xen on two servers so far, everything was smooth.. not with this F@#.#ING HP laptop, I tried basically everything and I was indeed updating the correct .config Problem might be in a conflict in the sata section, somewhere around modules pata_atiixp and ahci, so if I enable the old ATA disk access it asks me for the sata_sil, so I enable the scsi and sata_sil and it asks me pata_atiixp ............it''s a loop! Then I found this page http://linuxmafia.com/faq/Hardware/sata.html and I believe the problem it''s only about finding the correct combination of modules for my sata implementation. anyone managed to install xen 3.2 on a laptop (with sata) ? On Wed, Mar 12, 2008 at 8:21 AM, Jeremie Le Hen <jeremie@le-hen.org> wrote:> Hi Edoardo, > > On Mon, Mar 10, 2008 at 07:30:41PM +0100, Edoardo Ceccarelli wrote: > > On Tue, Jan 29, 2008 at 3:28 PM, Jeremie Le Hen <jeremie@le-hen.org> > wrote: > > > > To make it short: "make prep-kernels" create a build directory for the > > > kernel ***where you can copy your .config file***. DO NOT CREATE A > > > .config FILE IN THE KERNEL SOURCE TREE. > > > > > > > the HOWTO is nice > > so I guess if I have to change some kernel settings I shall run "make > > menuconfig" inside the same > > > > build-linux-2.6.18-xen_x86_64/ > > > > folder, after prep-kernels, right? > > My advice is to use go to the Linux kernel source, use whatever make > target you want and add "O=$BUILDDIR". > > For example: > % root# cd linux-2.6-git > % root# make menuconfig O=../build-linux-2.6.18-xen_x86_64 > > Hope this helps. > Best regards, > -- > Jeremie Le Hen > < jeremie at le-hen dot org >< ttz at chchile dot org > >-- Edoardo Ceccarelli - eddy@axa.it _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
What I found was useful was to double check all the sata and ahci sections and compile those as modules, same with all the USB host options. Next, in the RAID and LVM section compile everything statically into the kernel. When making the RAM disk I think it worked when I used --preload=sg --preload=ahci --preload=sd_mod or something like that, I Can''t remember at this time. Let me know if those options in the kernel recompile help. Tait From: ridleys@gmail.com [mailto:ridleys@gmail.com] On Behalf Of Edoardo Ceccarelli Sent: Wednesday, March 12, 2008 7:09 AM To: Jeremie Le Hen Cc: Ian Tobin; Tait Clarridge; Xen-users@lists.xensource.com Subject: Re: [Xen-users] Compiling Xen-3.2.0 thanks to everybody but I am giving up, I managed to compile xen on two servers so far, everything was smooth.. not with this F@#.#ING HP laptop, I tried basically everything and I was indeed updating the correct .config Problem might be in a conflict in the sata section, somewhere around modules pata_atiixp and ahci, so if I enable the old ATA disk access it asks me for the sata_sil, so I enable the scsi and sata_sil and it asks me pata_atiixp ............it''s a loop! Then I found this page http://linuxmafia.com/faq/Hardware/sata.html and I believe the problem it''s only about finding the correct combination of modules for my sata implementation. anyone managed to install xen 3.2 on a laptop (with sata) ? On Wed, Mar 12, 2008 at 8:21 AM, Jeremie Le Hen <jeremie@le-hen.org> wrote: Hi Edoardo, On Mon, Mar 10, 2008 at 07:30:41PM +0100, Edoardo Ceccarelli wrote:> On Tue, Jan 29, 2008 at 3:28 PM, Jeremie Le Hen <jeremie@le-hen.org> wrote: > > To make it short: "make prep-kernels" create a build directory for the > > kernel ***where you can copy your .config file***. DO NOT CREATE A > > .config FILE IN THE KERNEL SOURCE TREE. > > > > the HOWTO is nice > so I guess if I have to change some kernel settings I shall run "make > menuconfig" inside the same > > build-linux-2.6.18-xen_x86_64/ > > folder, after prep-kernels, right?My advice is to use go to the Linux kernel source, use whatever make target you want and add "O=$BUILDDIR". For example: % root# cd linux-2.6-git % root# make menuconfig O=../build-linux-2.6.18-xen_x86_64 Hope this helps. Best regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > -- Edoardo Ceccarelli - eddy@axa.it _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I tried the preload options but with no results: The major issue here is that mkinitrd is searching for this "pata_atiixp" module and can''t find it... now I thought of making it ignore it but then if I do (on linux 2.6.2x fedora 8 kernel): # lsmod | grep atii pata_atiixp 14913 0 libata 114545 3 pata_atiixp,sata_sil,ata_generic I get that this module is loaded! On the other hand I have searched inside the 2.6.18 xen kernel and there is no such module. going to try and remove it or blacklisting and see if my system can still access the disk :) On Wed, Mar 12, 2008 at 3:52 PM, Tait Clarridge <Tait.Clarridge@lavalife.com> wrote:> What I found was useful was to double check all the sata and ahci sections > and compile those as modules, same with all the USB host options. > > Next, in the RAID and LVM section compile everything statically into the > kernel. > > When making the RAM disk I think it worked when I used --preload=sg > --preload=ahci --preload=sd_mod or something like that, I Can''t remember at > this time. > > Let me know if those options in the kernel recompile help. > Tait > > From: ridleys@gmail.com [mailto:ridleys@gmail.com] On Behalf Of Edoardo > Ceccarelli > Sent: Wednesday, March 12, 2008 7:09 AM > To: Jeremie Le Hen > Cc: Ian Tobin; Tait Clarridge; Xen-users@lists.xensource.com > Subject: Re: [Xen-users] Compiling Xen-3.2.0 > > thanks to everybody but I am giving up, I managed to compile xen on two > servers so far, everything was smooth.. > not with this F@#.#ING HP laptop, I tried basically everything and I was > indeed updating the correct .config > > Problem might be in a conflict in the sata section, somewhere around > modules pata_atiixp and ahci, so if I enable the old ATA disk access it asks > me for the sata_sil, so I enable the scsi and sata_sil and it asks me > pata_atiixp ............it''s a loop! > Then I found this page > http://linuxmafia.com/faq/Hardware/sata.html > and I believe the problem it''s only about finding the correct combination > of modules for my sata implementation. > anyone managed to install xen 3.2 on a laptop (with sata) ? > On Wed, Mar 12, 2008 at 8:21 AM, Jeremie Le Hen <jeremie@le-hen.org> > wrote: > Hi Edoardo, > > On Mon, Mar 10, 2008 at 07:30:41PM +0100, Edoardo Ceccarelli wrote: > > On Tue, Jan 29, 2008 at 3:28 PM, Jeremie Le Hen <jeremie@le-hen.org> > wrote: > > > > To make it short: "make prep-kernels" create a build directory for the > > > kernel ***where you can copy your .config file***. DO NOT CREATE A > > > .config FILE IN THE KERNEL SOURCE TREE. > > > > > > > the HOWTO is nice > > so I guess if I have to change some kernel settings I shall run "make > > menuconfig" inside the same > > > > build-linux-2.6.18-xen_x86_64/ > > > > folder, after prep-kernels, right? > My advice is to use go to the Linux kernel source, use whatever make > target you want and add "O=$BUILDDIR". > > For example: > % root# cd linux-2.6-git > % root# make menuconfig O=../build-linux-2.6.18-xen_x86_64 > > Hope this helps. > Best regards, > -- > Jeremie Le Hen > < jeremie at le-hen dot org >< ttz at chchile dot org > > > > > -- > Edoardo Ceccarelli - eddy@axa.it > >-- Edoardo Ceccarelli - eddy@axa.it _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
SOLVED! it was my modprobe.conf, showing these lines: # cat /etc/modprobe.conf alias scsi_hostadapter pata_atiixp alias scsi_hostadapter1 sata_sil commented the first and mkinitrd works, after reboot everything seems fine... the system can survive without pata_atiixp thanks to everybody for the various support. On Thu, Mar 13, 2008 at 1:21 PM, Edoardo Ceccarelli <eddy@axa.it> wrote:> I tried the preload options but with no results: > The major issue here is that mkinitrd is searching for this "pata_atiixp" > module and can''t find it... now I thought of making it ignore it but then if > I do (on linux 2.6.2x fedora 8 kernel): > > # lsmod | grep atii > pata_atiixp 14913 0 > libata 114545 3 pata_atiixp,sata_sil,ata_generic > > I get that this module is loaded! > On the other hand I have searched inside the 2.6.18 xen kernel and there > is no such module. > going to try and remove it or blacklisting and see if my system can still > access the disk :) > > > On Wed, Mar 12, 2008 at 3:52 PM, Tait Clarridge < > Tait.Clarridge@lavalife.com> wrote: > > > What I found was useful was to double check all the sata and ahci > > sections and compile those as modules, same with all the USB host options. > > > > Next, in the RAID and LVM section compile everything statically into the > > kernel. > > > > When making the RAM disk I think it worked when I used --preload=sg > > --preload=ahci --preload=sd_mod or something like that, I Can''t remember at > > this time. > > > > Let me know if those options in the kernel recompile help. > > Tait > > > > From: ridleys@gmail.com [mailto:ridleys@gmail.com] On Behalf Of Edoardo > > Ceccarelli > > Sent: Wednesday, March 12, 2008 7:09 AM > > To: Jeremie Le Hen > > Cc: Ian Tobin; Tait Clarridge; Xen-users@lists.xensource.com > > Subject: Re: [Xen-users] Compiling Xen-3.2.0 > > > > thanks to everybody but I am giving up, I managed to compile xen on two > > servers so far, everything was smooth.. > > not with this F@#.#ING HP laptop, I tried basically everything and I was > > indeed updating the correct .config > > > > Problem might be in a conflict in the sata section, somewhere around > > modules pata_atiixp and ahci, so if I enable the old ATA disk access it asks > > me for the sata_sil, so I enable the scsi and sata_sil and it asks me > > pata_atiixp ............it''s a loop! > > Then I found this page > > http://linuxmafia.com/faq/Hardware/sata.html > > and I believe the problem it''s only about finding the correct > > combination of modules for my sata implementation. > > anyone managed to install xen 3.2 on a laptop (with sata) ? > > On Wed, Mar 12, 2008 at 8:21 AM, Jeremie Le Hen <jeremie@le-hen.org> > > wrote: > > Hi Edoardo, > > > > On Mon, Mar 10, 2008 at 07:30:41PM +0100, Edoardo Ceccarelli wrote: > > > On Tue, Jan 29, 2008 at 3:28 PM, Jeremie Le Hen <jeremie@le-hen.org> > > wrote: > > > > > > To make it short: "make prep-kernels" create a build directory for the > > > > kernel ***where you can copy your .config file***. DO NOT CREATE A > > > > .config FILE IN THE KERNEL SOURCE TREE. > > > > > > > > > > the HOWTO is nice > > > so I guess if I have to change some kernel settings I shall run "make > > > menuconfig" inside the same > > > > > > build-linux-2.6.18-xen_x86_64/ > > > > > > folder, after prep-kernels, right? > > My advice is to use go to the Linux kernel source, use whatever make > > target you want and add "O=$BUILDDIR". > > > > For example: > > % root# cd linux-2.6-git > > % root# make menuconfig O=../build-linux-2.6.18-xen_x86_64 > > > > Hope this helps. > > Best regards, > > -- > > Jeremie Le Hen > > < jeremie at le-hen dot org >< ttz at chchile dot org > > > > > > > > > -- > > Edoardo Ceccarelli - eddy@axa.it > > > > > > > -- > Edoardo Ceccarelli - eddy@axa.it >-- Edoardo Ceccarelli - eddy@axa.it _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users