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/
Home Products Support Community News


Re: [Xen-users] PV Drivers in Linux HVM DomU?

To: "Pasi Kärkkäinen" <pasik@xxxxxx>
Subject: Re: [Xen-users] PV Drivers in Linux HVM DomU?
From: "Emre Erenoglu" <erenoglu@xxxxxxxxx>
Date: Fri, 23 Nov 2007 11:39:35 +0100
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 23 Nov 2007 02:40:34 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=CWcmHUpZpAbW261R4Wp0/DHqn5D4dxJNV2V1q0xZHEo=; b=A459L0kIpmKpUqJ/3mSoXzW/VITmEpVWc5eePc4oHdDZ47ROFaF0N+nLDvyRcG0+oFhUxJ7K24jPYl7wBtgQz359rw4jFrlPdcyQLjDrK/7MRKSwPCXtoytqGw8iYfdxl0hkoJHqs+Y+miZxjippxJmh3UD06JYZOYthJFDP6nU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=fITmse9Qnz0ZZ4pUSdKXjQoX8BPUHFDNCr/YZgMnrF9iqQpk13fXoYr9k5ntxhFGnOG0UvgAFsJk6MAPlQTr2UiubVTgH0Ewjh543jsMp3+U6dqnKPIXOomVEfHWzZA/3YYu9R4LlTPmKI/pCn1rQM4WKHYq45UyFfYYaZkjpNQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071122182419.GF17677@xxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <fe9771a80711220447l11c4e824g27592fa3cc370378@xxxxxxxxxxxxxx> <20071122143518.GC17677@xxxxxxxxxxxxxxx> <fe9771a80711220657n284fd4a4k8a4552d4ac8414e8@xxxxxxxxxxxxxx> <20071122163607.GE17677@xxxxxxxxxxxxxxx> <fe9771a80711220948j5cc505b8jad23ce0706e98265@xxxxxxxxxxxxxx> <20071122182419.GF17677@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Pasi, my comments below:

On Nov 22, 2007 7:24 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Thu, Nov 22, 2007 at 06:48:26PM +0100, Emre Erenoglu wrote:
> > >
> > > Yes,  however, my DomU crashes on boot with the PV kernel. I couldn't
> > find
> > > why.
> > >
> >
> > What dom0 distribution are you using?
> >
> > Are xen/kernel packages provided by the distribution or self compiled?
> >
> I'm using Ubuntu 7.10 with 2.6.22-14-xen as Dom0. Packages are provided by
> the distribution.


Afaik Xen in Ubuntu (and in Debian) is not very well tested..


> >
> > What is your domU distribution? Is the domU PV kernel from the
> > distribution, or self compiled?
> DomU is Pardus 2007.2. It has default kernel 2.6.18-8, but as I wanted
> paravirtualization, I was using Ubuntu's 2.6.22-14-xen. The crash started
> with this release kernel. when Ubuntu was beta, I was able to use
> 2.6.22-12-xen without problems.
> Pardus 2007.2 is able to work with Ubuntu 2.6.22-14-generic kernel (on bare
> metal) without problems. It used to be working as DomU with
> 2.6.22-12-xenbut not anymore with
> 2.6.22-14-xen. I filed a bug report 1 month ago, no answer yet.
> I switched to VMWare for the moment until I resolve this issue, VMWare disk
> performance is not good even if I enabled PV support (VMI).
> Therefore, my aim now is to use standard Pardus kernel 2.6.18-8, but compile
> PV drivers for use with Dom0 (Ubuntu 7.10 2.6.22-14-xen , Xen 3.1)

I have never heard of Pardus before :) So I can't comment about it or it's
support for Xen..

It's OK with Xen ( http://www.pardus.org.tr/eng/index.html) . Normally it has XEN 3.1 with its 2.6.18 kernel but I would like to use a newer kernel.

I would recommend you to use RHEL, CentOS, SLES, Opensuse or Fedora.. those
distributions are known to ship Xen and work to make it stable/usable.. 

Get for example Fedora 8, use it on both dom0 and on domU, and you should get
things working well..

I also have Fedora 8 as Dom0, but I think Ubuntu 7.10 runs less problematic Xen than Fedora. I have numerous problems with Fedora 8, especially with it's Virt-Manager and networking (doesn't support bridging out of the box, have to do some tricks, virt-manager can't make a PV domain, doesn't have xenbr0 but virbr0 etc. etc.). I just couldn't get used to it.

Nevertheless, my Pardus can't boot with its 2.6.21 xen kernel as I guess Fedora guys likes to make some non-standard way to making INIT. (Ubuntu kernels just boot fine on bare-metal).

I don't understand why I can't just replace the kernel and still boot fine (good old linux days?).

RHEL 5.1 or CentOS 5.1 should be good choises too..

-- Pasi

Thanks a lot for your patience,


Emre Erenoglu
Xen-users mailing list