I compiled xen-4.0.0 like this : make -j2 world KERNELS="linux-2.6-xen0 linux-2.6-xenU" 2> ../FILE ----------------- FILE ------------------------ the program ''/bin/bash'' called ''/usr/bin/udevinfo'', it should use ''udevadm info <options>'', this will stop working in a future release select-repository: Searching `.:..'' for linux-2.6.18-xen.hg select-repository: Ignoring `.'' select-repository: Found ../linux-2.6.18-xen.hg /bin/sh: line 2: [: argument expected select-linux-arch: i386 What is linux-2.6.18-xen.hg ( taken from hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg ) and why it is required by xen-4.0.0 for compilation ? Regards, Onkar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-09 08:34 UTC
[Xen-users] Re: [Xen-devel] Compilation question xen-4.0.0
On Fri, Apr 09, 2010 at 09:30:52AM +0530, Onkar Mahajan wrote:> I compiled xen-4.0.0 like this : > > make -j2 world KERNELS="linux-2.6-xen0 linux-2.6-xenU" 2> ../FILE > > ----------------- FILE ------------------------ > the program ''/bin/bash'' called ''/usr/bin/udevinfo'', it should use ''udevadm > info <options>'', this will stop working in a future release > select-repository: Searching `.:..'' for linux-2.6.18-xen.hg > select-repository: Ignoring `.'' > select-repository: Found ../linux-2.6.18-xen.hg > /bin/sh: line 2: [: argument expected > select-linux-arch: i386 > > What is linux-2.6.18-xen.hg ( taken from hg clone > [1]http://xenbits.xensource.com/linux-2.6.18-xen.hg ) > and why it is required by xen-4.0.0 for compilation ? >It''s required because you specified "linux-2.6-xen0 linux-2.6-xenU". Try specifying "linux-2.6-pvops" instead, or don''t specify KERNELS at all. -- Pasi> Regards, > Onkar > > > References > > Visible links > 1. http://xenbits.xensource.com/linux-2.6.18-xen.hg> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I see that in linux-2.6.18-xen.hg - nothing is compiled . I guess only headers are used from here , right ? Regards, Onkar On Fri, Apr 9, 2010 at 2:04 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Fri, Apr 09, 2010 at 09:30:52AM +0530, Onkar Mahajan wrote: > > I compiled xen-4.0.0 like this : > > > > make -j2 world KERNELS="linux-2.6-xen0 linux-2.6-xenU" 2> ../FILE > > > > ----------------- FILE ------------------------ > > the program ''/bin/bash'' called ''/usr/bin/udevinfo'', it should use > ''udevadm > > info <options>'', this will stop working in a future release > > select-repository: Searching `.:..'' for linux-2.6.18-xen.hg > > select-repository: Ignoring `.'' > > select-repository: Found ../linux-2.6.18-xen.hg > > /bin/sh: line 2: [: argument expected > > select-linux-arch: i386 > > > > What is linux-2.6.18-xen.hg ( taken from hg clone > > [1]http://xenbits.xensource.com/linux-2.6.18-xen.hg ) > > and why it is required by xen-4.0.0 for compilation ? > > > > It''s required because you specified "linux-2.6-xen0 linux-2.6-xenU". > Try specifying "linux-2.6-pvops" instead, or don''t specify KERNELS at all. > > -- Pasi > > > Regards, > > Onkar > > > > > > References > > > > Visible links > > 1. http://xenbits.xensource.com/linux-2.6.18-xen.hg > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy Fitzhardinge
2010-Apr-09 17:55 UTC
[Xen-users] Re: [Xen-devel] Compilation question xen-4.0.0
On 04/09/2010 03:51 AM, Onkar Mahajan wrote:> I see that in linux-2.6.18-xen.hg - nothing is compiled . I guess only > headers are > used from here , right ?That''s the source directory. The build goes into a "build..." directory. J _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Onkar Mahajan
2010-Apr-10 05:25 UTC
[Xen-users] Re: [Xen-devel] Compilation question xen-4.0.0
Given the following in the dist directory : [onkar@localhost install]$ pwd /home/onkar/kern/XEN/xen-4.0.0/dist/install [onkar@localhost install]$ ls boot/ config-2.6.18.8-xen0 System.map-2.6.18.8-xen0 vmlinuz-2.6.18.8-xen0 xen-4.0.0-rc9.gz xen-4.gz xen-syms-4.0.0-rc9 config-2.6.18.8-xenU System.map-2.6.18.8-xenU vmlinuz-2.6.18.8-xenU xen-4.0.gz xen.gz also, [onkar@localhost xen-4.0.0]$ pwd /home/onkar/kern/XEN/xen-4.0.0 [onkar@localhost xen-4.0.0]$ ls buildconfigs build-linux-2.6-pvops_x86_32 Config.mk.orig docs linux-2.6.18-xen.hg README unmodified_drivers build-linux-2.6.18-xen0_x86_32 config COPYING extras linux-2.6-pvops.git stubdom xen build-linux-2.6.18-xenU_x86_32 Config.mk dist install.sh Makefile tools How should my entry in the /boot/grub/menu.lst look like I am really struggling to get it right this time. For a month or so i am not able to boot xen perfectly. So moving on cautiously this time. Regards, Onkar On Fri, Apr 9, 2010 at 11:25 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote:> > On 04/09/2010 03:51 AM, Onkar Mahajan wrote: > > I see that in linux-2.6.18-xen.hg - nothing is compiled . I guess only > > headers are > > used from here , right ? > > That''s the source directory. The build goes into a "build..." directory. > > J >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Apr 10, 2010 at 10:55:51AM +0530, Onkar Mahajan wrote:> Given the following in the dist directory : > > [onkar@localhost install]$ pwd > /home/onkar/kern/XEN/xen-4.0.0/dist/install > [onkar@localhost install]$ ls boot/ > config-2.6.18.8-xen0 System.map-2.6.18.8-xen0 vmlinuz-2.6.18.8-xen0 > xen-4.0.0-rc9.gz xen-4.gz xen-syms-4.0.0-rc9 > config-2.6.18.8-xenU System.map-2.6.18.8-xenU vmlinuz-2.6.18.8-xenU > xen-4.0.gz xen.gz > > also, > > [onkar@localhost xen-4.0.0]$ pwd > /home/onkar/kern/XEN/xen-4.0.0 > [onkar@localhost xen-4.0.0]$ ls > buildconfigs build-linux-2.6-pvops_x86_32 > Config.mk.orig docs linux-2.6.18-xen.hg README > unmodified_drivers > build-linux-2.6.18-xen0_x86_32 config COPYING > extras linux-2.6-pvops.git stubdom xen > build-linux-2.6.18-xenU_x86_32 Config.mk dist > install.sh Makefile tools > > > How should my entry in the /boot/grub/menu.lst look like > > I am really struggling to get it right this time. For a month or so i am > not able to boot xen perfectly. So moving on cautiously this time. >Do you specifically want to use linux-2.6.18-xen as a dom0 kernel? Some reason you didn''t build (the default) pvops dom0 kernel? See here for an grub.conf example: http://wiki.xensource.com/xenwiki/Xen4.0 -- Pasi> Regards, > Onkar > > On Fri, Apr 9, 2010 at 11:25 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote: > > > > On 04/09/2010 03:51 AM, Onkar Mahajan wrote: > > > I see that in linux-2.6.18-xen.hg - nothing is compiled . I guess only > > > headers are > > > used from here , right ? > > > > That''s the source directory. The build goes into a "build..." directory. > > > > J > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Onkar Mahajan
2010-Apr-10 11:13 UTC
[Xen-users] Re: [Xen-devel] Compilation question xen-4.0.0
Thanks Pasi , for your reply, On Sat, Apr 10, 2010 at 4:13 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Sat, Apr 10, 2010 at 10:55:51AM +0530, Onkar Mahajan wrote: >> Given the following in the dist directory : >> >> [onkar@localhost install]$ pwd >> /home/onkar/kern/XEN/xen-4.0.0/dist/install >> [onkar@localhost install]$ ls boot/ >> config-2.6.18.8-xen0 System.map-2.6.18.8-xen0 vmlinuz-2.6.18.8-xen0 >> xen-4.0.0-rc9.gz xen-4.gz xen-syms-4.0.0-rc9 >> config-2.6.18.8-xenU System.map-2.6.18.8-xenU vmlinuz-2.6.18.8-xenU >> xen-4.0.gz xen.gz >> >> also, >> >> [onkar@localhost xen-4.0.0]$ pwd >> /home/onkar/kern/XEN/xen-4.0.0 >> [onkar@localhost xen-4.0.0]$ ls >> buildconfigs build-linux-2.6-pvops_x86_32 >> Config.mk.orig docs linux-2.6.18-xen.hg README >> unmodified_drivers >> build-linux-2.6.18-xen0_x86_32 config COPYING >> extras linux-2.6-pvops.git stubdom xen >> build-linux-2.6.18-xenU_x86_32 Config.mk dist >> install.sh Makefile tools >> >> >> How should my entry in the /boot/grub/menu.lst look like >> >> I am really struggling to get it right this time. For a month or so i am >> not able to boot xen perfectly. So moving on cautiously this time. >> > > Do you specifically want to use linux-2.6.18-xen as a dom0 kernel?No , nothing like specific dom0 kernel. Anything that works and fairly latest is good enough.> Some reason you didn''t build (the default) pvops dom0 kernel?Pasi , followed following steps : # wget -c http://bits.xensource.com/oss-xen/release/4.0.0/xen-4.0.0.tar.gz # tar -xzvf xen-4.0.0.tar.gz # cd xen-4.0.0 # cd .. # hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg # make -j2 world KERNELS="linux-2.6-xen0 linux-2.6-xenU" # make install <------------ this step downloaded jeremy''s pvops kernel and build it. can you give me some advise on this ... Regards, Onkar> > See here for an grub.conf example: > http://wiki.xensource.com/xenwiki/Xen4.0 > > -- Pasi > >> Regards, >> Onkar >> >> On Fri, Apr 9, 2010 at 11:25 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote: >> > >> > On 04/09/2010 03:51 AM, Onkar Mahajan wrote: >> > > I see that in linux-2.6.18-xen.hg - nothing is compiled . I guess only >> > > headers are >> > > used from here , right ? >> > >> > That''s the source directory. The build goes into a "build..." directory. >> > >> > J >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Apr 10, 2010 at 04:43:42PM +0530, Onkar Mahajan wrote:> Thanks Pasi , for your reply, > > On Sat, Apr 10, 2010 at 4:13 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote: > > On Sat, Apr 10, 2010 at 10:55:51AM +0530, Onkar Mahajan wrote: > >> Given the following in the dist directory : > >> > >> [onkar@localhost install]$ pwd > >> /home/onkar/kern/XEN/xen-4.0.0/dist/install > >> [onkar@localhost install]$ ls boot/ > >> config-2.6.18.8-xen0 System.map-2.6.18.8-xen0 vmlinuz-2.6.18.8-xen0 > >> xen-4.0.0-rc9.gz xen-4.gz xen-syms-4.0.0-rc9 > >> config-2.6.18.8-xenU System.map-2.6.18.8-xenU vmlinuz-2.6.18.8-xenU > >> xen-4.0.gz xen.gz > >> > >> also, > >> > >> [onkar@localhost xen-4.0.0]$ pwd > >> /home/onkar/kern/XEN/xen-4.0.0 > >> [onkar@localhost xen-4.0.0]$ ls > >> buildconfigs build-linux-2.6-pvops_x86_32 > >> Config.mk.orig docs linux-2.6.18-xen.hg README > >> unmodified_drivers > >> build-linux-2.6.18-xen0_x86_32 config COPYING > >> extras linux-2.6-pvops.git stubdom xen > >> build-linux-2.6.18-xenU_x86_32 Config.mk dist > >> install.sh Makefile tools > >> > >> > >> How should my entry in the /boot/grub/menu.lst look like > >> > >> I am really struggling to get it right this time. For a month or so i am > >> not able to boot xen perfectly. So moving on cautiously this time. > >> > > > > Do you specifically want to use linux-2.6.18-xen as a dom0 kernel? > No , nothing like specific dom0 kernel. Anything that works and > fairly latest is > good enough. > > Some reason you didn''t build (the default) pvops dom0 kernel? > Pasi , followed following steps : > # wget -c http://bits.xensource.com/oss-xen/release/4.0.0/xen-4.0.0.tar.gz > # tar -xzvf xen-4.0.0.tar.gz > # cd xen-4.0.0 > # cd .. > # hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg > # make -j2 world KERNELS="linux-2.6-xen0 linux-2.6-xenU" > # make install <------------ this step downloaded jeremy''s pvops > kernel and build it. > > can you give me some advise on this ... >Where did you get that example? Don''t specify KERNELS= at all, and then it''ll compile pvops dom0 for you. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel