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/
Home Products Support Community News


Re: [Xen-users] CentOS 4.0 as guest OS

To: "Fajar A. Nugraha" <fajar@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] CentOS 4.0 as guest OS
From: "rishi pathak" <mailmaverick666@xxxxxxxxx>
Date: Wed, 5 Dec 2007 12:40:51 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 04 Dec 2007 23:11:49 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=LvT4tRL46BQ12fOvAsLHh8IAYmVYJj8WiF68NFmOK38=; b=TSrJvEhD76sNvgp+hdqN1fcbSJunYCBuFfZ8epS8vsilPGMNpnq3Hui5QIxrVuVLykR6dho8hAlTB2eQCbS/Dy6Qb/gCqWVoAwTcFGptFNYMF2NQvwUQp1fpF6JMmH/Fzv5pP13DXmemsDD23g4EOHGprG//2InSPynGQ2pXCeM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=oDKZzLTZxtzXREvNcnTZQ55ktb6KqRiquBYNfmcURIh0p9LY6YoBbQDXa8OPFMQbbWScz5aoX43YqXxu8vu2eLiBn9jQIILvIAKCOIfMv9Gf4MAJUvb/ha+3+BJrHpxjGAj9k8TxbT2XHvCP7h2d1HloiKMFCQs9zN/cdVqNz8c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47564557.4030402@xxxxxxxxxxxxx>
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: <180b672e0712040746kbd0d743tde9fb55f187ba380@xxxxxxxxxxxxxx> <Pine.NEB.4.64.0712040932070.17910@xxxxxxxxxxxxxxxxxx> <180b672e0712042157q5f28a7edxe8be70fc9c875591@xxxxxxxxxxxxxx> <47564557.4030402@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Fajar

On 12/5/07, Fajar A. Nugraha <fajar@xxxxxxxxxxxxx> wrote:
rishi pathak wrote:
> Hi ,
> The problem is that we have got a high speed interconnect and the
> driver for it was compiled for 2.6.9-5 EL.
> We have got only binaries of the driver and not source.For this reason
> we have to stick to the said kernel.
You DO know a BINARY kernel module for normal linux kernel doesn't work
on Xen PV kernel, right?

I was not aware of that fact:(.Thanks for the information

The module itself must be recompiled. If you HAVE to use that particular
version of the kernel (and not from RH 4.5, for example) then most
likely it won't work in PV guest.

If I compile the module from within the  guest  It will work right?.

> Let me explain the scenario/problem for which we need
> virtualization.We have a compute cluster with nodes having 8GB of
> memory.The nodes are all dual socket single core Intel Xeon.The driver
> for high speed interconnect can only work with 4GB of available
> RAM(i.e. it cannot see more than 4GB).If I restrict RAM to 4GB then it
> would be a wastage.So the solution that came up was to divide node
> into two virtual machine and assign high speed interconnect to one
> virtual machine.Both machines will have 4GB.

Start here to run RHEL4 as PV guest

I have a strong hunch your setup won't work though.
You might be able to use HVM domU instead, and (if the device is PCI)
use PCI passthrough. This way you should be able to use normal RHEL4 kernel.

The nodes does not have support for Intel VT. What would be performance degradation if I use HVM instead of PV.
I tried with inserting module in 2.6.9-42  based domU...oops:kernel panic


Regards --
Rishi Pathak

Xen-users mailing list