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] Match between Dom0 and DomU PV

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Match between Dom0 and DomU PV
From: Chris 'Xenon' Hanson <xenon@xxxxxxxxxxxxxx>
Date: Tue, 26 May 2009 22:12:34 -0600
Cc:
Delivery-date: Tue, 26 May 2009 21:13:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0905261935s3c0cb4deu9647cb07d04fbe28@xxxxxxxxxxxxxx>
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: <4A1C2B3D.8080308@xxxxxxxxxxxxxx> <7207d96f0905261935s3c0cb4deu9647cb07d04fbe28@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)
Fajar A. Nugraha wrote:
> Newer kernels and hypervisors should be able to work even when their
> version are not exact match, provided that:
> - they are new enough (Xen >= 3.1 should be enough)
> - they are architecturally compatible (64bit hypervisor can work with
> 64bit and 32bit PAE kernel, but 32bit hypervisor can only work with
> 32bit kernel)

  Ok. That's what I assumed.

>> Here, I have a Debian 5 x64 (2.6.26-2-xen-amd64) Dom0 and Ubuntu 8.04
>> x86-32 (2.6.24-23-xen) DomU. It seems to be known that that 2.6.24-23-xen is 
>> the problem,
>> and 2.6.28.8 is recommended.
> Really? by 2.6.28.8 I assume you mean pv_ops kernel. It works, but not
> all features of -xen kernel is available on pv_ops kernel yet. See
> http://wiki.xensource.com/xenwiki/XenParavirtOps

  Well, I was basing that on the reply from Markus Schonhaber on 5/12:

"I have neither found the root of the problem nor a solution. But
replacing the domU's Ubuntu kernel by a self-compiled recent vanilla
kernel (2.6.28.8) with domU support is a workaround that lets the domU
run stable since 54 days now - previously one week was the most I could
get for uptime."

> Have you tried the suggestions on the previous thread? from my
> experience Debian's kernel (or RHEL's kernel, if you're feeling
> adventurous) works quite nicely as domU kernel for Ubuntu. Plus you
> don't have to compile anything.

  I wasn't quite sure how to safely fetch Debian 5's x86-32 kernel (and any 
supporting
files needed) from my x64 Debian box without messing things up. I'd be 
_thrilled_ to sort
things out without having to recompile a kernel, as this machine intentionally 
doens't
have dev tools installed on it (in Dom0 or DomU).

>>  I also have little experience with x64 Linux -- I presume I can't just boot 
>> my Ubuntu
>> 8.04 (x86-32) DomU using the 2.6.26-2-xen-amd64 kernel my Dom0 uses, because 
>> that DomU is
>> an entirely 32-bit Ubuntu, and the Dom0 is a 64-bit Debian kernel, right?
> It should work, but you might have some problems with kernel
> module-userland interaction (e.g. using iptables).
> Try http://packages.debian.org/lenny/linux-image-2.6.26-2-xen-686

  I grabbed that, but just dropping it in in place of the existing kernel made 
the DomU
boot very angry. The gist of it is:

WARNING: Couldn't open directory /lib/modules/2.6.26-2-xen-686: No such file or 
directory
FATAL: Could not open /lib/modules/2.6.26-2-xen-686/modules.dep.temp for 
writing: No such
file or directory

Here's the config with the old kernel commented out:

#kernel      = '/etc/xen/kernels/alpha/vmlinuz-2.6.24-23-xen'
kernel      = '/etc/xen/kernels/alpha/vmlinuz-2.6.26-2-xen-686'
ramdisk     = '/etc/xen/kernels/alpha/initrd.img-2.6.24-23-xen'

So, I'm guessing I'd need a 26-2 initrd.img too. I'll have to look and see what 
package I
might be able to get that from.

-- 
Chris 'Xenon' Hanson, omo sanza lettere                  Xenon AlphaPixel.com
PixelSense Landsat processing now available! http://www.alphapixel.com/demos/
"There is no Truth. There is only Perception. To Perceive is to Exist." - Xen

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

<Prev in Thread] Current Thread [Next in Thread>