[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • To: "Pasi Kärkkäinen" <pasik@xxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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.


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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.