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] Installing two versions of xen on the same machine

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Installing two versions of xen on the same machine
From: shankha <shankhabanerjee@xxxxxxxxx>
Date: Tue, 8 Sep 2009 06:04:22 -0400
Cc: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 08 Sep 2009 03:05:26 -0700
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 :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=tbjz+t6Gc0z0PDlLP/elOgrthk4EV12wraLgHl5yFTY=; b=a18D93TvR0mLHTDanddCsLHfzdPhXpS4yNh+y7mV8zvhvjORnjesC5tsV0oPaRP8Ei oR5a3EvfjHvCXU1VVIm1kItcI429CmZLVG62fVXGgK5UE0zldv/kdaOzophEnVFc7AvJ YgMzbhZt264LItc0J1OxxPe+30wpSdaHuqKOI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=a7S2wUNMvZJg8CAc6HtoazW4prmnrtOmRb6m/21fIXoE5ZZYUngYyAQtWE17Z8+4z8 wBBMJMhf6X3j6FKqOR+j2dzQBb1NoKc8z/ecKf/AFTIAGeBIkbaTbvDZ27vy7GovLamX wtFv2Ei0C14Q2/gG07LS8om57NkWGkPYGcAX0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <ffd27e210909080246q20ad7d5ycb88b83ed1d9ca95@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: <ffd27e210909071053y20b368bdg62c5698ff3fb50f2@xxxxxxxxxxxxxx> <7207d96f0909071324u797087a5gdbcf6bc6cebbd2c9@xxxxxxxxxxxxxx> <ffd27e210909071357p761684e2i96428aa6dd242f8f@xxxxxxxxxxxxxx> <7207d96f0909071437w199f1c1fk365a58de4b75cf81@xxxxxxxxxxxxxx> <ffd27e210909071453s1d108d76r6457b99853a2fb7c@xxxxxxxxxxxxxx> <7207d96f0909072021p283cec0fh43abdc6a42e116c1@xxxxxxxxxxxxxx> <ffd27e210909080246q20ad7d5ycb88b83ed1d9ca95@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
One more query. When i had build the source code of the xen
hypervisor (make world) it had build the linux kernel also(downloaded
the bits using mercurial).

Would it be possible to just build the hypervisor ?

Isn't the hypervisor and linux kernel linked ? Pardon my ignorance.

Like is the linux kernel  which is used is specially build to work
with the hyper visor or i can i can build any version of the kernel
and it should work with the hypervisor.

thanks

On Tue, Sep 8, 2009 at 5:46 AM, shankha<shankhabanerjee@xxxxxxxxx> wrote:
> Hi Fajar,
> Thanks for your continued help. I checked through yast the following
> are installed on my system
>
> 1. Kernel-Xen
>             The linux kernel for xen paravirtualization.
> This kernel can be used both as the domain0 ("xen0") and as an
> unprivileged ("xenU") kernel.
>
> Version : 2.6.27.7-9.1  (x86_64)
>
> 2. kernel-xen-base
> The Linux kernel for Xen paravirtualization.
> This kernel can be used both as the domain0 ("xen0") and as an
> unprivileged ("xenU") kernel.
>
> 2.6.27.7-9.1  (x86_64)
>
> 3. kernel-xen-extra
> The Linux kernel for Xen paravirtualization.
> This kernel can be used both as the domain0 ("xen0") and as an
> unprivileged ("xenU") kernel.
>
>
> 2.6.27.7-9.1  (x86_64)
>
> 4. xen
> This is the xen hypervisor
>
> 3.3.1_18494_03-1.8  (x86_64)
>
> 4. xen-devel
> 3.3.1_18494_03-1.8  (x86_64)
>
> This package contains libraries and header files.
>
> When i try to to uninstall this package it says it has a dependency on libvrt.
>
> 5.xen - libs
> xen virtualization libraries
>
> 6. xen - tools
> Packages for starting stopping packages.
>
>
> I guess i can let the  first 3 packages as it is. I will
> uninstall the xen hypervisor and other packages related to it.
>
> I can then put the the new hypervisor(3.4)  and related libraries
> under /boot and boot with the kernel already installed.
>
> Does it look good or have i made mistakes ?
>
> thanks
>
>
> On Mon, Sep 7, 2009 at 11:21 PM, Fajar A. Nugraha<fajar@xxxxxxxxx> wrote:
>> On Tue, Sep 8, 2009 at 4:53 AM, shankha<shankhabanerjee@xxxxxxxxx> wrote:
>>> Hi,
>>> I am trying to use a new version of the hypervisor. I am not trying to
>>> install a new version of the  kernel.
>>
>> In that case you don't need to install kernel 2.6.18-8 if you don't
>> want to. You can use your existing kernel.
>> However installing hypervisor and userland tools will overwrite some
>> files installed by your OS if your OS already has its own Xen version.
>>
>> --
>> Fajar
>>
>>>
>>> thanks
>>>
>>> On Mon, Sep 7, 2009 at 5:37 PM, Fajar A. Nugraha<fajar@xxxxxxxxx> wrote:
>>>> On Tue, Sep 8, 2009 at 3:57 AM, shankha<shankhabanerjee@xxxxxxxxx> wrote:
>>>>> Hi,
>>>>> Thanks for your reply. Could you please let me know what is the
>>>>> problem with my mkinitrd command. Is it because i may have forgot to
>>>>> copy some part of the installation.
>>>>
>>>> Installing a new KERNEL (including xen kernel) should be "safe" (as in
>>>> it shouldn't overwrite anything you already have) assuming it's
>>>> version is different from what you have. It's easier to simply run
>>>> "make modules_install" and "make install" on kernel build directory.
>>>>
>>>> Installxing Xen however, is more then just the kernel. It also
>>>> installs hypervisor userland tools (e.g. xm, xend, etc.), which most
>>>> likely will overwrite what you already have. Which is why I said you
>>>> can only have one version of Xen.
>>>>
>>>> What are you trying to do here? Use a new kernel or use a new Xen
>>>> version? Those two does not necessarily be done at the same time. If
>>>> you only want a new Xen version, usually you can just use kernel-xen
>>>> provided by your distro and simply install the hypervisor (xen.gz) and
>>>> userland tools.
>>>>
>>>> Here's a hint : trying out different versions of Xen is actually
>>>> easiest on RHEL5, thanks to Gitco's repository
>>>> http://www.gitco.de/repo/.
>>>>
>>>>> IF yes can we make a wild guess.
>>>>> Also what are the correct options that should be used while creating
>>>>> the image.
>>>>
>>>> man mkinitrd? I'm not familiar enough with Suse, but as I recall its
>>>> option is slightly different from Redhat's.
>>>>
>>>> --
>>>> Fajar
>>>>
>>>
>>
>

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