WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: [Xen-devel] Re: [Xen-tools] Unable to start xend

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: [Xen-users] Re: [Xen-devel] Re: [Xen-tools] Unable to start xend
From: Onkar Mahajan <kern.devel@xxxxxxxxx>
Date: Wed, 31 Mar 2010 20:12:27 +0530
Cc: bderzhavets@xxxxxxxxx, Joseph Coleman <joe.coleman@xxxxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 31 Mar 2010 07:46:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=jVruiJbfVZX1VmuheJRYlbIoge1sutNxMY2A4ac8Rrc=; b=qMF/Ix9xPrqKoNq8EQwkreXZwr9fQJWny2vGt4FFx5wtQAIq6X5SAE5ArDh7x9NLNr IeH1hhsuVDQaseqncmOWNbpCltRBVuyw8A5fO0PwSZ06NhB0A3CMWXG1wEW3Kl0r0pKg HSmFMI5VntZD2hqRgJ2UvGlJA2MvrH0TSwN0w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=W6VGibsmiCSLx4xYMeX97MNvN+q2+FwTUhG11PzAHMUa4EWXJKPPDO2eYzCGw15jTw 7lwSmaOnm+Woj+DavbxcW4IzHtA1/gqpbrwQ9TGZcq63CqAV/0OiFMNET4k0fDDJqSCd K7nO5dvWvRzwObHNltYueFPwJfnGgzxJDaQ4M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100331141928.GB29344@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <686a81951003300938u22fa3a79sb626f2a9779df85a@xxxxxxxxxxxxxx> <DC57CFF048A13045B63DA5D831B526BC02E262257E@xxxxxxxxxxxxxxxxxxxxxxx> <686a81951003301009l6eaf4728x4cd3fb200191cf0e@xxxxxxxxxxxxxx> <20100330172526.GA16788@xxxxxxxxxxxxxxxxxxx> <686a81951003301046g58349a90g3c5adb21f0618e39@xxxxxxxxxxxxxx> <20100330175809.GA17234@xxxxxxxxxxxxxxxxxxx> <x2p686a81951003310015g849b8654w64b6ddda6aeccf25@xxxxxxxxxxxxxx> <20100331141928.GB29344@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Wed, Mar 31, 2010 at 7:49 PM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> 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
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 ? does is generate
dom0 image as well ? If yes where ??


Thanks anyways for your concern.
/Onkar

For details on how to do that look at the URL that
Boris sent - it is pretty comprehensive.

Also take a look at this (which Boris wrote as well):
http://bderzhavets.wordpress.com/2009/08/31/loading-xen-via-grub2-on-top-ubuntu-karmic-server-alpha-4/

That explains how to setup the GRUB2 entry correctly.

Boris, I am CC-ing you on this e-mail. Any suggestions on what else he
might need to do?

Attachment: CONFIG.bak
Description: Binary data

Attachment: menu.lst
Description: Binary data

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users