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] 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 15:57:55 +0100
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 23 Nov 2007 06:58:45 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=11/gSZrye86A6FWEATDEl9R36A3xrw7PCaeMNTccwMQ=; b=LcVxcX0ObsqBZYLpp82QEj/cWGCq0dKDU7cDb6bhyTMORW3yF7CRmKX8Jgd9pJ+DjHSlFowJ8u5NWfTccjk2KUgQ97Mz8u3v/WQ5CZPrFLqoWDogTEy0pW7LEtAHwtBbBq0S1j8Dli58m9RvLAakaySR+Bek4L9YX1N+DgFgu3I=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=iR0WT8PNM2hVg99aUPG+fVSzZHKtPxU76K592F3kA+joCOERe8U5WlQA1ttYuwEdPHgvI7cuCE6VseBFEF5L2epqUkHDoe54g4yI6uAPwX7AqIdMkmTPCUu4Cp1figcFoDDh4qXutVnEvQ2NXB1dZLRFpe6p59qu3OB0mWHImHk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071123144332.GG17677@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> <fe9771a80711230239h36415b31p938a487ffc77e7a4@xxxxxxxxxxxxxx> <20071123144332.GG17677@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Nov 23, 2007 3:43 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Fri, Nov 23, 2007 at 11:39:35AM +0100, Emre Erenoglu wrote:
> > > 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.
>

OK.

Just remember that newer Xen versions support older kernels.. backwards
compatibility. But not the other way around..

If your kernel is compiled for Xen 3.0.3, it will work under Xen 3.1.0.
But if your kernel is compiled for Xen 3.1.0, it wont work with Xen 3.0.3.

In fact, I didn't try this. So I will install distribution's own DomU kernel and see if it will work with Ubuntu's 2.6.22-14-xen Dom0 kernel and Xen version.


>
> >
> > 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.
>

You know you don't have to use virt-manager.. :)

Just use the cmdline tools and create your own configuration file for domU..
that way you know for sure what you get and how.

Yes, I didn't use virt-manager at the end :)  but even with my config files, domain crashed. Don't know what has changed inside the domain to make these crashes.


> 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?).
>

You should ask from Pardus guys/lists.. I don't what they support/require.

What happens when you boot your domU with Pardus kernel? Is it PV domU? Are
you using pygrub?

I never tried booting into Pardus with its own DomU kernel. I always tried,
  • Ubuntu 7.10 dom0 kernel as domU, 2.6.22-14-xen, or
  • Fedora 8, dom0 kernel as domU, 2.6.21, or
  • Fedora 8, standard 2.6.23 kernel (with paravirt-ops)
all crashed. I'm attaching the crash report, maybe there is someone that has an idea why it happens
 


-- Pasi

Thanks a lot again and again,

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