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: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>, Pasi Kärkkäinen <pasik@xxxxxx>
Subject: RE: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
From: "Pradeep Padala" <ppadala@xxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Oct 2010 10:46:46 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 05 Oct 2010 10:46:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <193455.68051.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <228680.32269.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <193455.68051.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Actkm9OcDixbmH/ES6OO44+TAdA9QQAGS8cw
Thread-topic: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
1. Good catch, updated HOWTO
2. It is needed on CentOS 5.5. Otherwise it doesn't work, updated HOWTO with a 
note.

Pradeep

 
From: Boris Derzhavets [mailto:bderzhavets@xxxxxxxxx] 
Sent: Tuesday, October 05, 2010 7:43 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

I have two more questions regarding yours "Howto"

1. Quote 

***********************************************************************************************
OR, add the following to /etc/rc.local (I had trouble making the modprobe work)
if ( uname -r | grep "2.6.32.21") ; then
   for mod in xen-evtchn xen-netback xen-blkback xenfs; do

        /sbin/modprobe $mod
   done

   /etc/init.d/xend restart
fi
**************************************************************
Xend will fail to start as service if module xenfs has not been loaded yet. So 
nothing to restart. Should be 

service xend start

2.Quote

 Install Xen and kernel
*******************************************************************************************
make install-xen
make install-tools PYTHON_PREFIX_ARG=

cd build-*
make modules_install
make install
***********************************************************
I would guess that on CentOS 5.5 just

make install-tools

due to standard default location of python packages
/usr/lib/python2.x/site-packages . I haven't alive CentOS 5.5
instance, but on Fedoras it's unnecessary

Boris.

--- On Mon, 10/4/10, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 
5.5
To: "Pradeep Padala" <ppadala@xxxxxxxxxxxxxxxxxx>, "Pasi Kärkkäinen" 
<pasik@xxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Monday, October 4, 2010, 8:00 AM
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


-----Inline Attachment Follows-----
_______________________________________________
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