From: Boris Derzhavets Subject: RE: [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5 Date: Mon, 4 Oct 2010 10:28:05 -0700 (PDT) Message-ID: <474334.930.qm@web56107.mail.re3.yahoo.com> References: <2FD61F37AFF16D4DB46149330E4273C70353C146@dcl-ex.dcml.docomolabs-usa.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1756638352==" Return-path: In-Reply-To: <2FD61F37AFF16D4DB46149330E4273C70353C146@dcl-ex.dcml.docomolabs-usa.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: =?iso-8859-1?Q?Pasi_K=E4rkk=E4inen?= , Pradeep Padala Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1756638352== Content-Type: multipart/alternative; boundary="0-1803846970-1286213285=:930" --0-1803846970-1286213285=:930 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Pradeep, =A0 =A0Yours "Howto" worked for me in some unexpected way. There is well known = issue with failure OSOL 134 ( Indiana in meantime)=A0 DHCPREQUEST success on syst= em with pvops kernel mostly have all xen backend drivers hard linked to the ke= rnel. =A0At the same time same OSOL 134 behaves fine on OpenSuse 11.3 , loading x= en-backend drivers via xend at every boot up. =A0I just decided try to load as module xen-netback on systems with pvops k= ernel (=A0 on top of F13,Ubuntu 10.04.1 Server) and got positive results. =A0The final conclusion is :-=A0 for OSOL 134 (OI 147)=A0 xen-netback drive= r should be loaded as module, otherwise in 90% off attempts DHCP request for Solaris DomU will= fail right away.=20 Boris. --- On Mon, 10/4/10, Pradeep Padala wrote: From: Pradeep Padala Subject: RE: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on Cen= tOS 5.5 To: "Boris Derzhavets" , "Pasi K=E4rkk=E4inen" Cc: xen-devel@lists.xensource.com Date: Monday, October 4, 2010, 12:59 PM =0AHi Boris, =A0Thanks for the comments. I will update the HOWTO with the r= ight config. You can either compile it as a module or in the kernel. =A0Pra= deep =A0From: Boris Derzhavets [mailto:bderzhavets@yahoo.com]=20 Sent: Monday, October 04, 2010 5:01 AM To: Pradeep Padala; Pasi K=E4rkk=E4inen Cc: xen-devel@lists.xensource.com Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on Cen= tOS 5.5 =A0If 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 CONFIG_XEN_BACKEND=3Dy CONFIG_XEN_BLKDEV_BACKEND=3Dm CONFIG_XEN_NETDEV_BACKEND=3Dm CONFIG_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 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 PMOn Tue, Sep 28, 2010 at 11:04:11AM -0= 700, 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 =A0=0A=0A=0A --0-1803846970-1286213285=:930 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =
Pradeep,
 
 Yours "Howto" wor= ked for me in some unexpected way. There is well known issue
with failur= e OSOL 134 ( Indiana in meantime)  DHCPREQUEST success on system
wi= th pvops kernel mostly have all xen backend drivers hard linked to the kern= el.
 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 dec= ided 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.
 Th= e final conclusion is :-  for OSOL 134 (OI 147)  xen-netback driv= er should be loaded
as module, otherwise in 90% off attempts DHCP reques= t for Solaris DomU will fail right away.

Boris.

--- On Mo= n, 10/4/10, Pradeep Padala <ppadala@docomolabs-usa.com> wrote:

From: Pradeep Padala <ppadala@do= comolabs-usa.com>
Subject: RE: [Xen-devel] [HOWTO] Setting up Xen4 + = pvops 2.6.32.21.x on CentOS 5.5
To: "Boris Derzhavets" <bderzhavets@y= ahoo.com>, "Pasi K=E4rkk=E4inen" <pasik@iki.fi>
Cc: xen-devel@l= ists.xensource.com
Date: Monday, October 4, 2010, 12:59 PM

=0A

Hi Boris,

 

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

 

Pradeep

 

<= b>Fro= m: Boris Derzhavets [mailto:bderzhavets@yahoo.com]
Sent: M= onday, October 04, 2010 5:01 AM
To: Pradeep Padala; Pasi K=E4rkk= =E4inen
Cc: xen-devel@lists.xensource.com
Subject: Re: = [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5

 

<= table class=3D"yiv1606071886MsoNormalTable" border=3D"0" cellpadding=3D"0" = cellspacing=3D"0">

If i will follow :-

http://ppad= ala.net/blog/2010/09/how-to-setup-xen4-and-pvops-2-6-32-x-on-centos-5-5-usi= ng-gitco-repository/

Recommended .config (fragment)

CONFI= G_XEN_DEV_EVTCHN=3Dy
CONFIG_XEN_BACKEND=3Dy
CONFIG_XEN_BLKDEV_BACKEND= =3Dy
CONFIG_XEN_NETDEV_BACKEND=3Dy
CONFIG_XENFS=3Dy
CONFIG_XEN_COM= PAT_XENFS=3Dy

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

To get them as modules i need :-

CONFIG_XEN_DEV_EVTCHN=3Dm
CONFIG_XEN_BACKEND=3Dy
CONFIG_XE= N_BLKDEV_BACKEND=3Dm
CONFIG_XEN_NETDEV_BACKEND=3Dm
CONFIG_XENFS=3Dm
At least on my system (F14) with .config
Fragment from .config#
CONFIG_XEN_BALLOON=3Dy
CONFIG_XEN_SCRUB_PAGES=3Dy
CONFIG_XEN_DE= V_EVTCHN=3Dy
CONFIG_XEN_BACKEND=3Dy
CONFIG_XEN_NETDEV_BACKEND=3Dm
= CONFIG_XEN_BLKDEV_BACKEND=3Dy
CONFIG_XEN_BLKDEV_TAP=3Dy
#
[root@fe= dora14 2.6.32.23]# pwd
/lib/modules/2.6.32.23
[root@fedora14 2.6.32.2= 3]# find . -name "xen-*back.ko" -print
./kernel/drivers/xen/netback/xen-= netback.ko
[root@fedora14 2.6.32.23]# find . -name "xen-evtchn.ko" -prin= t

Module xen-netback.ko has been created only due to :-
  CO= NFIG_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 Op= enIndiana 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=E4rkk=E4inen <pasi= k@iki.fi> wrote:


From: Pasi K=E4rkk=E4inen <pasik@iki.fi>
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>
Cc: xen-devel@lists.xe= nsource.com
Date: Sunday, October 3, 2010, 3:34 PM

 


=0A=0A --0-1803846970-1286213285=:930-- --===============1756638352== 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 --===============1756638352==--