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:40:22 -0400
Cc: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 08 Sep 2009 03:41:34 -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=bB0yO/SmIMEoXf03TkerWgHGBDWe6Vbh5KQxKYKtHZQ=; b=Wai/qMnqWeec9hZknTuHZxZ3HP6AQsh8TxJVsMVednOWKn3OxxA8baxFk17EBbABEU HBLdirY7VeircrTyxju81dgJbaNicnhPbofjLgQm1s4D17228ZNQJZnZOU2yM4ak26gj ufpK4EbD6vrWCpOuYeZAC1b4vBlX/Ezc0+5+k=
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=GUAbHp5QD5edf0LOncUAdtauyiPdkIHMc/kQ9vJwcTFOWULBHS1Db1a3uY58cVTJUk HW7CCwukqXN8WPfkbJzHAmZFXYE/78i7AVCKqCEdi84rhM9OsFza4ZLUB0wPj62jt3Ll AEWV8eAKnwfy+6jvwZRI4HJm+n97kIYNdSPCI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <ffd27e210909080304p1eac516di74c96f90a6a767c6@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> <ffd27e210909080304p1eac516di74c96f90a6a767c6@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
Should i need to build the initrd image  or i can use the old one(the
one which was build when i installed a previous version of xen
hypervisor). I am am using the old kernel.

thanks
shankha

On Tue, Sep 8, 2009 at 6:04 AM, shankha<shankhabanerjee@xxxxxxxxx> wrote:
> 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