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

Re: [Xen-users] Compiling lInux2.6.28.5 for hosting VM

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Compiling lInux2.6.28.5 for hosting VM
From: KARTHIK BALAJI G <findkb@xxxxxxxxx>
Date: Wed, 18 Feb 2009 16:31:14 -0500
Delivery-date: Wed, 18 Feb 2009 13:32:25 -0800
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:message-id:subject:from:to:content-type; bh=XEwFZ2ZHDjgMwgzbsBYDCkIxPAlZJh0jnAJM/Lf0Y0c=; b=Odbm3s6qP0FlGwXYsnJlS21YzFg9n6HRZ+jBnxD7OOMlUM7sdLtzrMVHZKmNAf0Xqu nrm4ARECzwHt1XLsKsnM030Nj86MzgRCvoN3VaLvzyCq9TXGZpVvIdU8T3yIbKwVPIaA AZTtD+r0pwwzhRCZPrwG0aRLnd6WDPiJgbWnw=
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 :content-type; b=VUrFMRdrmKWqBRejaEP4YohyxIq0iCzTJij1AX/gdsPdwQfY/gG/susg/slcYh1CmG GlkxdV1ws6hDiw534PzmjLlLEyi03X8PGgsqTpwERlJvvt8voYPdfgHlN6uPLNmW8ujN zblylufLms9KRcjA36fh3gj4jk5JsvXyYCo8c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090218042106.GE29418@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: <e39b62c10902171746t6d8476e8v40023425cd8899c6@xxxxxxxxxxxxxx> <20090218021751.GD29418@xxxxxxxxxxxxxxxxxxx> <e39b62c10902171841l41b786dbtab5849d8177a8d6f@xxxxxxxxxxxxxx> <20090218042106.GE29418@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On Tue, Feb 17, 2009 at 11:21 PM, Maximilian Wilhelm <max@xxxxxxxxxxx> wrote:
Anno domini 2009 KARTHIK BALAJI G scripsit:

Hi!

[Please to not top-post. It's far better readable the other way around]

> Thanks for replying. I forgot to mention that I did try that step u
> suggested. It still hangs at the same place. I think we need to compile a
> driver for the vanilla kernel (2.6.25.8) for it to recognize xvd* devices.
> Please correct me if I am wrong.

> In that is case why xen related config options I enabled during kernel
> compilation did not compile any driver for recognizing these devices ?

This should make you happy, to be able to boot the VM without any initrd:
max@vsc-build:/proc$ zgrep XEN config.gz
CONFIG_XEN=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_HVC_XEN=y

If you want to compile this stuff as modules you will have to use an
initrd of course.

HTH
Ciao
Max
--

Hi Max,

My compiled kernel configuration looks like this ,

 >zgrep XEN .config
CONFIG_XEN=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=20
CONFIG_XEN_SAVE_RESTORE=y
CONFIG_XEN_DEBUG_FS=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_NETXEN_NIC=m
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_KBDDEV_FRONTEND=m
CONFIG_HVC_XEN=y
CONFIG_XEN_FBDEV_FRONTEND=m
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
 
 So I think I compiled some as modules and the required in kernel itself. The kernel image with this configuration is failing.

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