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-devel

RE: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.

To: Pasi Kärkkäinen <pasik@xxxxxx>, Pradeep Padala <ppadala@xxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Mon, 4 Oct 2010 10:28:05 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 04 Oct 2010 10:28:53 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1286213285; bh=Mhf0BcIegQaACj6Gq+3kta+SY/QdgxAYQwVqulmvSFQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=gCb7Y587/6uqtSocapw9NxvOxWJ/lakRbRel1UJ+d3Gs7J6rnF8EYoYivw0iSCcP/tJ55hJH9V6UgGy5nUrgSUs+GZ5TdJ2jJ6QHVz/AbAymxFoUOrCT8Vs4b94ie7M2fCv+FxVCLHOislqxhxAomLt6zYvA4epsRp8hafr/Kac=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=NOh0RZEDYHZtCpMiCVUNWGcdjoj7zIQDjokToj9UxPHYUNoKOzt74KLsJauiS05sdzkQSBL7ZWh2owmrDaue3Aw8IKl0lnt9QFzLI3WX1E7odkAVPo5jwIF+5r4AiM4VXhSOjHi/vN26l6+OCRscpwIr1wl2gFHpx5KMmYucDqk=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2FD61F37AFF16D4DB46149330E4273C70353C146@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Pradeep,
 
 Yours "Howto" worked for me in some unexpected way. There is well known issue
with failure OSOL 134 ( Indiana in meantime)  DHCPREQUEST success on system
with pvops kernel mostly have all xen backend drivers hard linked to the kernel.
 At the same time same OSOL 134 behaves fine on OpenSuse 11.3 , loading xen-backend drivers via xend at every boot up.
 I just decided try to load as module xen-netback on systems with pvops kernel (  on top of F13,Ubuntu 10.04.1 Server) and got positive results.
 The final conclusion is :-  for OSOL 134 (OI 147)  xen-netback driver should be loaded
as module, otherwise in 90% off attempts DHCP request for Solaris DomU will fail right away.

Boris.

--- On Mon, 10/4/10, Pradeep Padala <ppadala@xxxxxxxxxxxxxxxxxx> wrote:

From: Pradeep Padala <ppadala@xxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>, "Pasi Kärkkäinen" <pasik@xxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Monday, October 4, 2010, 12:59 PM

Hi Boris,

 

Thanks for the comments. I will update the HOWTO with the right config. You can either compile it as a module or in the kernel.

 

Pradeep

 

From: Boris Derzhavets [mailto:bderzhavets@xxxxxxxxx]
Sent: Monday, October 04, 2010 5:01 AM
To: Pradeep Padala; Pasi Kärkkäinen
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5

 

If i will follow :-

http://ppadala.net/blog/2010/09/how-to-setup-xen4-and-pvops-2-6-32-x-on-centos-5-5-using-gitco-repository/

Recommended .config (fragment)

CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XEN_BACKEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_NETDEV_BACKEND=y
CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y

I believe in this case modules :-
   xen-evtchn xen-netback xen-blkback xenfs
won't be created because they are hard linked to kernel.

To get them as modules i need :-

CONFIG_XEN_DEV_EVTCHN=m
CONFIG_XEN_BACKEND=y
CONFIG_XEN_BLKDEV_BACKEND=m
CONFIG_XEN_NETDEV_BACKEND=m
CONFIG_XENFS=m

At least on my system (F14) with .config
Fragment from .config
#
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XEN_BACKEND=y
CONFIG_XEN_NETDEV_BACKEND=m
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_BLKDEV_TAP=y
#
[root@fedora14 2.6.32.23]# pwd
/lib/modules/2.6.32.23
[root@fedora14 2.6.32.23]# find . -name "xen-*back.ko" -print
./kernel/drivers/xen/netback/xen-netback.ko
[root@fedora14 2.6.32.23]# find . -name "xen-evtchn.ko" -print

Module xen-netback.ko has been created only due to :-
  CONFIG_XEN_NETDEV_BACKEND=m

May be i am missing something here ?

Boris.
P.S.
I just need xen-netback to be loaded as module for OpenIndiana 147 PV Guest
stable networking with PVOPS kernel  ( OSOL 134 aswell). In other words i need
to configure PVOPS kernel  like XenLinux  kernel in regards of loading xen backend drivers.


--- On Sun, 10/3/10, Pasi Kärkkäinen <pasik@xxxxxx> wrote:


From: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Pradeep Padala" <ppadala@xxxxxxxxxxxxxxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Sunday, October 3, 2010, 3:34 PM

On Tue, Sep 28, 2010 at 11:04:11AM -0700, Pradeep Padala wrote:
>    Hi,
>
>    I spent some time configuring the latest Xen with pvops 2.6.32.x on CentOS
>    5.5. It hasn't been easy, to say the least. My HOWTOs on this are located
>    at
>    [1]http://ppadala.net/blog/2010/09/how-to-setup-xen4-pvops-2-6-32-x-on-centos-5-5/
>    and
>    [2]http://ppadala.net/blog/2010/09/how-to-setup-xen4-and-pvops-2-6-32-x-on-centos-5-5-using-gitco-repository/
>
>    Hope they are helpful. Any comments are welcome. Feel free to add this to
>    Xen4 Wiki.
>

Thanks for the tutorials!
I've added them to Xen4.0 wiki page.

-- Pasi


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

 


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