From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Re: [Xen-tools] Unable to start xend Date: Wed, 31 Mar 2010 18:11:53 +0300 Message-ID: <20100331151153.GO1878@reaktio.net> References: <686a81951003300938u22fa3a79sb626f2a9779df85a@mail.gmail.com> <686a81951003301009l6eaf4728x4cd3fb200191cf0e@mail.gmail.com> <20100330172526.GA16788@phenom.dumpdata.com> <686a81951003301046g58349a90g3c5adb21f0618e39@mail.gmail.com> <20100330175809.GA17234@phenom.dumpdata.com> <20100331141928.GB29344@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Onkar Mahajan Cc: bderzhavets@yahoo.com, Joseph Coleman , "xen-users@lists.xensource.com" , "xen-devel@lists.xensource.com" , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Wed, Mar 31, 2010 at 08:12:27PM +0530, Onkar Mahajan wrote: > On Wed, Mar 31, 2010 at 7:49 PM, Konrad Rzeszutek Wilk > <[1]konrad.wilk@oracle.com> wrote: > > On Wed, Mar 31, 2010 at 12:45:02PM +0530, Onkar Mahajan wrote: > > Please confirm if I am right : > > > > Aaah, you are using GRUB2, not GRUB! > > #!/bin/sh > > > > cat << EOF > > menuentry "Xen 3.5 / Ubuntu, 2.6.31.6-xen1" { > > insmod ext2 > > set root=(hd0,1) > > multiboot /boot/xen-3.5.gz <- This is the Xen VMM proper ??? > > Yup > > module /boot/vmlinuz-2.6.31.6-xen1 dummy=dummy dom0_mem=1024M > > root=/dev/sda1 ro <- This is linux kernel with pvops right ??? > > Yup. I would suggest you add 'console=hvc0' so you can see the output. > > module /boot/initrd.img-2.6.31.6-xen1 > > } > > > > EOF > > > > so in my case , I have compiled Linux kernel containing pvops ; Now , > I also > > need Xen VMM ?? right ?? > > Yes. But from your /boot/grub/menu.lst it looks that you do have the > xen-3.5.gz compiled? > > No , this is just the copy-paste from > [2]http://virtually-a-machine.blogspot.com/2009/12/experimental-xen-and-ubuntu-part-2.html > I don't have the xen-3.5.gz compiled . (just for my understanding ) > Neither do i know how to compile it > for the pvops kernel (2.6.31.6) that I am using. > Can you shed some light as to how I can generate the xen.gz image , Please > note that > I have CONFIG_XEN_DOM0=y set in my .config file. > I have attached the .config and menu.lst file for your reference. > > What is the significance of CONFIG_XEN_DOM0=y ? It'll make the kernel to be able to run as Xen Dom0. > does is generate dom0 image as well ? If yes where ?? > xen.gz is Xen hypervisor, and it's totally separate piece of software. Xen hypervisor is not included in the Linux kernel, it's a separate download from xen.org. Xen hypervisor 4.0.0-rc9 is available from this mercurial repository: http://xenbits.xen.org/xen-4.0-testing.hg -- Pasi