From mboxrd@z Thu Jan 1 00:00:00 1970 From: Onkar Mahajan Subject: Re: [Xen-devel] Compilation question xen-4.0.0 Date: Sat, 10 Apr 2010 16:43:42 +0530 Message-ID: References: <20100409083434.GB1878@reaktio.net> <4BBF69F9.5070704@goop.org> <20100410104320.GB1878@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20100410104320.GB1878@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Thanks Pasi , for your reply, On Sat, Apr 10, 2010 at 4:13 PM, Pasi K=E4rkk=E4inen 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=A0 System.map-2.6.18.8-xen0=A0 vmlinuz-2.6.18.8-xen= 0 >> xen-4.0.0-rc9.gz=A0 xen-4.gz=A0 xen-syms-4.0.0-rc9 >> config-2.6.18.8-xenU=A0 System.map-2.6.18.8-xenU=A0 vmlinuz-2.6.18.8-xen= U >> xen-4.0.gz=A0=A0=A0=A0=A0=A0=A0 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=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 bu= ild-linux-2.6-pvops_x86_32 >> Config.mk.orig=A0 docs=A0=A0=A0=A0=A0=A0=A0 linux-2.6.18-xen.hg=A0 READM= E >> unmodified_drivers >> build-linux-2.6.18-xen0_x86_32=A0 config=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 COPYING >> =A0=A0=A0=A0=A0=A0 extras=A0=A0=A0=A0=A0 linux-2.6-pvops.git=A0 stubdom= =A0 xen >> build-linux-2.6.18-xenU_x86_32=A0 Config.mk=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 dist >> =A0=A0=A0=A0=A0=A0 install.sh=A0 Makefile=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 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=3D"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 w= rote: >> > >> > 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 on= ly >> > > headers are >> > > used from here , right ? >> > >> > That's the source directory. =A0The build goes into a "build..." direc= tory. >> > >> > =A0 =A0J >> > >