From: Boris Derzhavets Subject: Re: [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5 Date: Tue, 5 Oct 2010 07:43:14 -0700 (PDT) Message-ID: <193455.68051.qm@web56108.mail.re3.yahoo.com> References: <228680.32269.qm@web56102.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1150233421==" Return-path: In-Reply-To: <228680.32269.qm@web56102.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Pradeep Padala , =?iso-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1150233421== Content-Type: multipart/alternative; boundary="0-1983143115-1286289794=:68051" --0-1983143115-1286289794=:68051 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I have two more questions regarding yours "Howto" 1. Quote=20 ***************************************************************************= ******************** OR, add the following to /etc/rc.local (I had trouble making the modprobe w= ork)=0Aif ( uname -r | grep "2.6.32.21") ; then=A0=A0=A0for mod in xen-evtc= hn xen-netback xen-blkback xenfs; do=A0=A0=A0=A0=A0=A0=A0=A0/sbin/modprobe = $mod=A0=A0=A0done=A0=A0=A0/etc/init.d/xend restartfi ************************************************************** Xend will fail to start as service if module xenfs has not been loaded yet.= So nothing to restart. Should be=20 service xend start 2.Quote =A0Install Xen and kernel ***************************************************************************= **************** make install-xenmake install-tools PYTHON_PREFIX_ARG=3Dcd build-*make modul= es_installmake 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 wrote: From: Boris Derzhavets Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on Cen= tOS 5.5 To: "Pradeep Padala" , "Pasi K=E4rkk=E4inen" Cc: xen-devel@lists.xensource.com 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-cen= tos-5-5-using-gitco-repository/ Recommended .config (fragment) CONFIG_XEN_DEV_EVTCHN=3Dy CONFIG_XEN_BACKEND=3Dy CONFIG_XEN_BLKDEV_BACKEND=3Dy CONFIG_XEN_NETDEV_BACKEND=3Dy CONFIG_XENFS=3Dy CONFIG_XEN_COMPAT_XENFS=3Dy I believe in this case modules :- =A0=A0 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=3Dm =0ACONFIG_XEN_BACKEND=3Dy =0ACONFIG_XEN_BLKDEV_BACKEND=3Dm =0ACONFIG_XEN_NETDEV_BACKEND=3Dm =0ACONFIG_XENFS=3Dm At least on my system (F14) with .config=20 Fragment from .config # CONFIG_XEN_BALLOON=3Dy CONFIG_XEN_SCRUB_PAGES=3Dy CONFIG_XEN_DEV_EVTCHN=3Dy CONFIG_XEN_BACKEND=3Dy CONFIG_XEN_NETDEV_BACKEND=3Dm CONFIG_XEN_BLKDEV_BACKEND=3Dy CONFIG_XEN_BLKDEV_TAP=3Dy # [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 :- =A0 CONFIG_XEN_NETDEV_BACKEND=3Dm 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=A0 ( OSOL 134 aswell). In other words i= need to configure PVOPS kernel=A0 like XenLinux=A0 kernel in regards of loading = xen backend=0A drivers. --- On Sun, 10/3/10, Pasi K=E4rkk=E4inen wrote: From: Pasi K=E4rkk=E4inen Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on Cen= tOS 5.5 To: "Pradeep Padala" Cc: xen-devel@lists.xensource.com Date: Sunday, October 3, 2010, 3:34 PM On Tue, Sep 28, 2010 at 11:04:11AM -0700, Pradeep Padala wrote: >=A0 =A0 Hi, >=20 >=A0 =A0 I spent some time configuring the latest Xen with pvops 2.6.32.x o= n CentOS >=A0 =A0 5.5. It hasn't been easy, to say the least. My HOWTOs on this are = located >=A0 =A0 at >=A0 =A0 [1]http://ppadala.net/blog/2010/09/how-to-setup-xen4-pvops-2-6-32-= x-on-centos-5-5/ >=A0 =A0 and >=A0 =A0 [2]http://ppadala.net/blog/2010/09/how-to-setup-xen4-and-pvops-2-6= -32-x-on-centos-5-5-using-gitco-repository/ >=20 >=A0 =A0 Hope they are helpful. Any comments are welcome. Feel free to add = this to >=A0 =A0 Xen4 Wiki. >=20 Thanks for the tutorials! I've added them to Xen4.0 wiki page. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A=0A=0A=0A=0A=0A =20 -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1983143115-1286289794=:68051 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
I have two more questions regarding yours "Ho= wto"

1. Quote

**********************************************= *************************************************

OR, add the followi= ng to /etc/rc.local (I had trouble making the modprobe work)

=0A
if ( uname -r | grep "2.6.32.21") ; then=
   for mod in xen-= evtchn xen-netback xen-blkback xenfs; d= o
   &nbs= p;    /sbin/modprobe $mod
   = done
   /etc/i= nit.d/xend restart
fi
**********************************************************= ****
Xend will fail to start as service if module xenfs has not been loa= ded 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=3D
cd build-= *
make modules_install
make install
***********************************************************I would guess that on CentOS 5.5 just

make install-tools

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

Boris= .

--- On Mon, 10/4/10,= Boris Derzhavets <bderzhavets@yahoo.com> wrote:

From: Boris Derzhavets <bderzhavets@yahoo.com>=
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on= CentOS 5.5
To: "Pradeep Padala" <ppadala@docomolabs-usa.com>, "Pa= si K=E4rkk=E4inen" <pasik@iki.fi>
Cc: xen-devel@lists.xensource.co= m
Date: Monday, October 4, 2010, 8:00 AM

=
If i will follow :-

http://ppada= la.net/blog/2010/09/how-to-setup-xen4-and-pvops-2-6-32-x-on-centos-5-5-usin= g-gitco-repository/

Recommended .config (fragment)

CONFIG_XEN_DEV_EVTCHN=3Dy
CONFIG_XEN_BACKEND=3Dy
C= ONFIG_XEN_BLKDEV_BACKEND=3Dy
CONFIG_XEN_NETDEV_BACKEND=3Dy
CONFIG_XEN= FS=3Dy
CONFIG_XEN_COMPAT_XENFS=3Dy

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

To get them as modules= i need :-

CONFIG_XEN_DEV_EVTCHN=3Dm
=0ACONFIG_XEN_BACKEND=3Dy=0ACONFIG_XEN_BLKDEV_BACKEND=3Dm
=0ACONFIG_XEN_NETDEV_BACKEND=3Dm
= =0ACONFIG_XENFS=3Dm

At least on my system (F14) with .config
Fra= gment from .config
#
CONFIG_XEN_BALLOON=3Dy
CONFIG_XEN_SCRUB_PAGES= =3Dy
CONFIG_XEN_DEV_EVTCHN=3Dy
CONFIG_XEN_BACKEND=3Dy
CONFIG_XEN_N= ETDEV_BACKEND=3Dm
CONFIG_XEN_BLKDEV_BACKEND=3Dy
CONFIG_XEN_BLKDEV_TAP= =3Dy
#
[root@fedora14 2.6.32.23]# pwd
/lib/modules/2.6.32.23
[r= oot@fedora14 2.6.32.23]# find . -name "xen-*back.ko" -print
./kernel/dri= vers/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 d= ue to :-
  CONFIG_XEN_NETDEV_BACKEND=3Dm

May be i am missing= something here ?

Boris.
P.S.
I just need xen-netback to be lo= aded as module for OpenIndiana 147 PV Guest
stable networking with PVOPS= kernel  ( OSOL 134 aswell). In other words i need
to configure PVO= PS kernel  like XenLinux  kernel in regards of loading xen backen= d=0A drivers.


--- On Sun, 10/3/10, Pasi K=E4rkk=E4inen <= ;pasik@iki.fi> wrote:

From: Pasi= K=E4rkk=E4inen <pasik@iki.fi>
Subject: Re: [Xen-devel] [HOWTO] Se= tting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Pradeep Padala" <= ;ppadala@docomolabs-usa.com>
Cc: xen-devel@lists.xensource.com
Dat= e: 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 configuri= ng the latest Xen with pvops 2.6.32.x on CentOS
>    5.5. I= t 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-c= entos-5-5-using-gitco-repository/
>
>    Hope th= ey are helpful. Any comments are welcome. Feel free to add this to
>&= nbsp;   Xen4 Wiki.
>

Thanks for the tutorials!
I've a= dded them to Xen4.0 wiki page.

-- Pasi


__________________= _____________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/x= en-devel

=0A=0A=0A= =0A=0A=0A=0A=0A

-----Inline Attachment Follows-----

<= div class=3D"plainMail">_______________________________________________
= Xen-devel mailing list
Xen-devel@lists.= xensource.com
http://lists.xensource.com/xen-devel

=0A=0A --0-1983143115-1286289794=:68051-- --===============1150233421== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1150233421==--