Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
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
http://ppadala.net/blog/2010/09/how-to-setup-xen4-pvops-2-6-32-x-on-centos-5
-5/ and
http://ppadala.net/blog/2010/09/how-to-setup-xen4-and-pvops-2-6-32-x-on-cent
os-5-5-using-gitco-repository/
Hope they are helpful. Any comments are welcome. Feel free to add this to Xen4 Wiki.
Regards,
Pradeep
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
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
http://ppadala.net/blog/2010/09/how-to-setup-xen4-pvops-2-6-32-x-on-centos-5
-5/ and
http://ppadala.net/blog/2010/09/how-to-setup-xen4-and-pvops-2-6-32-x-on-cent
os-5-5-using-gitco-repository/
Hope they are helpful. Any comments are welcome. Feel free to add this to Xen4 Wiki.
Regards,
Pradeep
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 9 lines · Pradeep Padala
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/
Quoted 3 lines
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
If i will follow :-
Recommended .config (fragment)
CONFIG_XEN_DEV_EVTCHN=yCONFIG_XEN_BACKEND=yCONFIG_XEN_BLKDEV_BACKEND=yCONFIG_XEN_NETDEV_BACKEND=yCONFIG_XENFS=yCONFIG_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=yCONFIG_XEN_SCRUB_PAGES=yCONFIG_XEN_DEV_EVTCHN=yCONFIG_XEN_BACKEND=yCONFIG_XEN_NETDEV_BACKEND=m CONFIG_XEN_BLKDEV_BACKEND=yCONFIG_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 <[email protected]> wrote:
From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Pradeep Padala" <[email protected]>
Cc: [email protected]
Date: Sunday, October 3, 2010, 3:34 PM
Quoted 9 lines · Pradeep Padala
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/
Quoted 3 lines
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
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
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:[email protected]]
Sent: Monday, October 04, 2010 5:01 AM
To: Pradeep Padala; Pasi Kärkkäinen
Cc: [email protected]
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
If i will follow :-
Recommended .config (fragment)
CONFIG_XEN_DEV_EVTCHN=yCONFIG_XEN_BACKEND=yCONFIG_XEN_BLKDEV_BACKEND=yCONFIG_XEN_NETDEV_BACKEND=yCONFIG_XENFS=yCONFIG_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=mCONFIG_XEN_BACKEND=yCONFIG_XEN_BLKDEV_BACKEND=mCONFIG_XEN_NETDEV_BACKEND=mCONFIG_XENFS=m
At least on my system (F14) with .config
Fragment from .config
#CONFIG_XEN_BALLOON=yCONFIG_XEN_SCRUB_PAGES=yCONFIG_XEN_DEV_EVTCHN=yCONFIG_XEN_BACKEND=yCONFIG_XEN_NETDEV_BACKEND=m CONFIG_XEN_BLKDEV_BACKEND=yCONFIG_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 <[email protected]> wrote:
From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Pradeep Padala" <[email protected]>
Cc: [email protected]
Date: Sunday, October 3, 2010, 3:34 PM
Quoted 9 lines · Pradeep Padala
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/
Quoted 3 lines
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
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
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 <[email protected]> wrote:
From: Pradeep Padala <[email protected]>
Subject: RE: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Boris Derzhavets" <[email protected]>, "Pasi Kärkkäinen" <[email protected]>
Cc: [email protected]
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:[email protected]]
Sent: Monday, October 04, 2010 5:01 AM
To: Pradeep Padala; Pasi Kärkkäinen
Cc: [email protected]
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5 If i will follow :-
Recommended .config (fragment)
CONFIG_XEN_DEV_EVTCHN=yCONFIG_XEN_BACKEND=yCONFIG_XEN_BLKDEV_BACKEND=yCONFIG_XEN_NETDEV_BACKEND=yCONFIG_XENFS=yCONFIG_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=mCONFIG_XEN_BACKEND=yCONFIG_XEN_BLKDEV_BACKEND=mCONFIG_XEN_NETDEV_BACKEND=mCONFIG_XENFS=m
At least on my system (F14) with .config
Fragment from .config
#CONFIG_XEN_BALLOON=yCONFIG_XEN_SCRUB_PAGES=yCONFIG_XEN_DEV_EVTCHN=yCONFIG_XEN_BACKEND=yCONFIG_XEN_NETDEV_BACKEND=m CONFIG_XEN_BLKDEV_BACKEND=yCONFIG_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 <[email protected]> wrote:
From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Pradeep Padala" <[email protected]>
Cc: [email protected]
Quoted 9 lines · Pradeep Padala
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/
Quoted 3 lines
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
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
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 restartfi
**************************************************************
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-xenmake install-tools PYTHON_PREFIX_ARG=cd build-*make modules_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 <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Pradeep Padala" <[email protected]>, "Pasi Kärkkäinen" <[email protected]>
Cc: [email protected]
Date: Monday, October 4, 2010, 8:00 AM
If i will follow :-
Recommended .config (fragment)
CONFIG_XEN_DEV_EVTCHN=yCONFIG_XEN_BACKEND=yCONFIG_XEN_BLKDEV_BACKEND=yCONFIG_XEN_NETDEV_BACKEND=yCONFIG_XENFS=yCONFIG_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=yCONFIG_XEN_SCRUB_PAGES=yCONFIG_XEN_DEV_EVTCHN=yCONFIG_XEN_BACKEND=yCONFIG_XEN_NETDEV_BACKEND=m CONFIG_XEN_BLKDEV_BACKEND=yCONFIG_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 <[email protected]> wrote:
From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Pradeep Padala" <[email protected]>
Cc: [email protected]
Date: Sunday, October 3, 2010, 3:34 PM
Quoted 9 lines · Pradeep Padala
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/
Quoted 3 lines
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
[email protected]
http://lists.xensource.com/xen-devel
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
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:[email protected]]
Sent: Tuesday, October 05, 2010 7:43 AM
To: Pradeep Padala; Pasi Kärkkäinen
Cc: [email protected]
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 <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Pradeep Padala" <[email protected]>, "Pasi Kärkkäinen" <[email protected]>
Cc: [email protected]
Date: Monday, October 4, 2010, 8:00 AM
If i will follow :-
Recommended .config (fragment)
CONFIG_XEN_DEV_EVTCHN=yCONFIG_XEN_BACKEND=yCONFIG_XEN_BLKDEV_BACKEND=yCONFIG_XEN_NETDEV_BACKEND=yCONFIG_XENFS=yCONFIG_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=mCONFIG_XEN_BACKEND=yCONFIG_XEN_BLKDEV_BACKEND=mCONFIG_XEN_NETDEV_BACKEND=mCONFIG_XENFS=m
At least on my system (F14) with .config
Fragment from .config
#CONFIG_XEN_BALLOON=yCONFIG_XEN_SCRUB_PAGES=yCONFIG_XEN_DEV_EVTCHN=yCONFIG_XEN_BACKEND=yCONFIG_XEN_NETDEV_BACKEND=m CONFIG_XEN_BLKDEV_BACKEND=yCONFIG_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 <[email protected]> wrote:
From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Pradeep Padala" <[email protected]>
Cc: [email protected]
Date: Sunday, October 3, 2010, 3:34 PM
Quoted 9 lines · Pradeep Padala
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/
Quoted 3 lines
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
[email protected]
http://lists.xensource.com/xen-devel
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Option not to start xend via /etc/rc.local (Ubuntu 10.04.1 Server) should be good for CentOS , i guess :-
--- xend.orig 2010-10-06 18:44:35.055245544 +0400
+++ xend 2010-10-06 18:46:26.056620024 +0400
@@ -21,7 +21,7 @@
shopt -s extglob
test -f /etc/sysconfig/xend && . /etc/sysconfig/xend
-
+/sbin/modprobe -v xenfs
if test "x$1" = xstart && \
test -d /proc/xen && \
! test -d /proc/xen/capabilities && \@@ -57,6 +57,11 @@
test -z "$XENCONSOLED_TRACE" || export XENCONSOLED_TRACE
[[ "$XENSTORED_TRACE" == @(yes|on|1) ]] && export XENSTORED_TRACE
[[ "$XENBACKENDD_DEBUG" == @(yes|on|1) ]] && export XENBACKENDD_DEBUG+ /sbin/modprobe -v xen-evtchn
+ /sbin/modprobe -v xen-gntdev
+ /sbin/modprobe -v xen-blkback
+ /sbin/modprobe -v xen-netback
+ /sbin/modprobe -v blktap
xend start
await_daemons_up
;;Boris.
--- On Tue, 10/5/10, Pradeep Padala <[email protected]> wrote:
From: Pradeep Padala <[email protected]>
Subject: RE: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Boris Derzhavets" <[email protected]>, "Pasi Kärkkäinen" <[email protected]>
Cc: [email protected]
Date: Tuesday, October 5, 2010, 1:46 PM
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:[email protected]]
Sent: Tuesday, October 05, 2010 7:43 AM
To: Pradeep Padala; Pasi Kärkkäinen
Cc: [email protected]
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 <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Pradeep Padala" <[email protected]>, "Pasi Kärkkäinen" <[email protected]>
Cc: [email protected]
Date: Monday, October 4, 2010, 8:00 AM
If i will follow :-
Recommended .config (fragment)
CONFIG_XEN_DEV_EVTCHN=yCONFIG_XEN_BACKEND=yCONFIG_XEN_BLKDEV_BACKEND=yCONFIG_XEN_NETDEV_BACKEND=yCONFIG_XENFS=yCONFIG_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=mCONFIG_XEN_BACKEND=yCONFIG_XEN_BLKDEV_BACKEND=mCONFIG_XEN_NETDEV_BACKEND=mCONFIG_XENFS=m
At least on my system (F14) with .config
Fragment from .config
#CONFIG_XEN_BALLOON=yCONFIG_XEN_SCRUB_PAGES=yCONFIG_XEN_DEV_EVTCHN=yCONFIG_XEN_BACKEND=yCONFIG_XEN_NETDEV_BACKEND=m CONFIG_XEN_BLKDEV_BACKEND=yCONFIG_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 <[email protected]> wrote:
From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] [HOWTO] Setting up Xen4 + pvops 2.6.32.21.x on CentOS 5.5
To: "Pradeep Padala" <[email protected]>
Cc: [email protected]
Date: Sunday, October 3, 2010, 3:34 PM
Quoted 9 lines · Pradeep Padala
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/
Quoted 3 lines
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
[email protected]
http://lists.xensource.com/xen-devel
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel