From: Boris Derzhavets Subject: Re: Re: [Xen-tools] Unable to start xend Date: Tue, 30 Mar 2010 11:07:11 -0700 (PDT) Message-ID: <395065.44577.qm@web56106.mail.re3.yahoo.com> References: <686a81951003301046g58349a90g3c5adb21f0618e39@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0453010075==" Return-path: In-Reply-To: <686a81951003301046g58349a90g3c5adb21f0618e39@mail.gmail.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: Konrad Rzeszutek Wilk , Onkar Mahajan Cc: Joseph Coleman , "xen-devel@lists.xensource.com" , "xen-users@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============0453010075== Content-Type: multipart/alternative; boundary="0-323835244-1269972431=:44577" --0-323835244-1269972431=:44577 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Build Xen Dom0 supporting Pvops kernel and load under xen.gz. View for instance :- http://lxer.com/module/newswire/view/133477/index.html Boris. --- On Tue, 3/30/10, Onkar Mahajan wrote: From: Onkar Mahajan Subject: Re: [Xen-devel] Re: [Xen-tools] Unable to start xend To: "Konrad Rzeszutek Wilk" Cc: "Joseph Coleman" , "xen-devel@lists.xen= source.com" , "xen-users@lists.xensource.com= " Date: Tuesday, March 30, 2010, 1:46 PM I have followed the instructions in http://wiki.xensource.com/xenwiki/XenPa= ravirtOps /=20 Using =0AXen/paravirt_ops=0A=0ABuilding with=0A domU support=20 exactly .. =A0 1. Get a current kernel. The latest kernel.org kernel is generally a g= ood choice. =A0=A0 Done =A0=A0 2. Configure as normal; you can start with your current .config file =0A=A0=A0 Done =A0=A0 3. If building 32 bit kernel make sure you have CONFIG_X86_PAE enabl= ed (which is set by selecting CONFIG_HIGHMEM64G) =A0=A0 CONFIG_HIGHMEM64G=3Dy,CONFIG_X86_PAE=3Dy=20 =A0=A0 Done=20 =A0=A0=A0=A0=A0=A0=A0=A0=A0 * non-PAE mode doesn't work in 2.6.25, and has = been dropped altogether from 2.6.26 and newer kernel versions.=20 =0A=A0=A0 4. Enable these core options: =A0=A0=A0=A0=A0=A0=A0=A0 1. CONFIG_PARAVIRT_GUEST =A0=A0=A0=A0=A0=A0=A0=A0 Done - CONFIG_PARAVIRT_GUEST=3Dy =A0=A0=A0=A0=A0=A0=A0=A0 2. CONFIG_XEN=20 =A0=A0=A0=A0=A0=A0=A0=A0 Done - CONFIG_XEN=3Dy =A0=A0 5. And Xen pv device support =A0=A0=A0=A0=A0=A0=A0=A0 1. CONFIG_HVC_DRIVER and CONFIG_HVC_XEN =0A=A0=A0=A0=A0=A0=A0=A0=A0 Done - CONFIG_HVC_DRIVER=3Dy =A0=A0=A0=A0=A0=A0=A0=A0 Done - CONFIG_HVC_XEN=3Dy =A0=A0=A0=A0=A0=A0=A0=20 =A0=A0=A0=A0=A0=A0=A0=A0 2. CONFIG_XEN_BLKDEV_FRONTEND =A0=A0=A0=A0=A0=A0=A0=A0 Done - CONFIG_XEN_BLKDEV_FRONTEND=3Dy =A0=A0=A0=A0=A0=A0=A0=A0 3. CONFIG_XEN_NETDEV_FRONTEND=20 =0A=A0=A0=A0=A0=A0=A0=A0=A0 Done - CONFIG_XEN_NETDEV_FRONTEND=3Dy =A0=A0 6. And build as usual=20 =A0=A0=A0=A0=A0 make oldconfig, make -j2 bzImage modules , make -j2 modules= _install , make install=20 On Tue, Mar 30, 2010 at 10:55 PM, Konrad Rzeszutek Wilk wrote: =0AOn Tue, Mar 30, 2010 at 10:39:03PM +0530, Onkar Mahajan wrote: =0A> On Tue, Mar 30, 2010 at 10:33 PM, Joseph Coleman < =0A> joe.coleman@infinitecampus.com> wrote: =0A> =0A> > =A0Hate to ask but I assume your booting from the XEN Kernel and are= using =0A> > an account with the appropriate permissions to run Xend? =0A> > =0A> Yes, =A0this is latest xen ( compiled from git clone git:// =0A> git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen )= and I =0A> am running under root =0A> privileges. =0A =0AI think you are confusing Linux pvops from the git tree above and Xen. T= here are two seperate =0Aproducts. =0A =0ALook at http://wiki.xensource.com/xenwiki/XenParavirtOps =0Aand pay especailly attention in the grub line. You NEED xen.gz in it. =0A =0A =0A -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-323835244-1269972431=:44577 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Build Xen Dom0 supporting Pvops kernel and lo= ad under xen.gz.
View for instance :-
http://lxer.com/module/newswire= /view/133477/index.html

Boris.

--- On Tue, 3/30/10, Onkar = Mahajan <kern.devel@gmail.com> wrote:

From: Onkar Mahajan <kern.devel@gmail.com>
Subject: Re= : [Xen-devel] Re: [Xen-tools] Unable to start xend
To: "Konrad Rzeszutek= Wilk" <konrad.wilk@oracle.com>
Cc: "Joseph Coleman" <joe.colem= an@infinitecampus.com>, "xen-devel@lists.xensource.com" <xen-devel@li= sts.xensource.com>, "xen-users@lists.xensource.com" <xen-users@lists.= xensource.com>
Date: Tuesday, March 30, 2010, 1:46 PM

I have followed the instructions in http://wiki.xensource.com/xenwiki/XenParavirtOps /

Using =0AXen/paravirt_ops

= =0A

=0A

Building with=0A = domU support

exactly ..

  1. Get a current kernel. Th= e latest k= ernel.org kernel is generally a good choice.
   Done
   2. Configure as normal; you can start with your current .con= fig file
=0A   Done

   3. If building 32 bit = kernel make sure you have CONFIG_X86_PAE enabled (which is set by selecting= CONFIG_HIGHMEM64G)
   CONFIG_HIGHMEM64G=3Dy,CONFIG_X86_PAE=3D= y
   Done

       &= nbsp;  * non-PAE mode doesn't work in 2.6.25, and has been dropped alt= ogether from 2.6.26 and newer kernel versions.
=0A   4. Enabl= e these core options:
         1= . CONFIG_PARAVIRT_GUEST
        = Done - CONFIG_PARAVIRT_GUEST=3Dy
      &n= bsp;  2. CONFIG_XEN
       &nbs= p; Done - CONFIG_XEN=3Dy

   5. And Xen pv device support         1. CONFIG_HVC_DRIVER and= CONFIG_HVC_XEN
=0A         Done= - CONFIG_HVC_DRIVER=3Dy
        = ; Done - CONFIG_HVC_XEN=3Dy
        <= br>         2. CONFIG_XEN_BLKDEV_FR= ONTEND
         Done - CONFIG_XE= N_BLKDEV_FRONTEND=3Dy

       &nbs= p; 3. CONFIG_XEN_NETDEV_FRONTEND
=0A      = ;   Done - CONFIG_XEN_NETDEV_FRONTEND=3Dy

   6. = And build as usual
      make oldconfig, make = -j2 bzImage modules , make -j2 modules_install , make install

On Tue, Mar 30, 2010 at 10:55 PM, Konrad Rzeszutek Wi= lk <konrad.wilk@oracle.com> wrote:
=0A
On Tue, Mar 30, 201= 0 at 10:39:03PM +0530, Onkar Mahajan wrote:
=0A> On Tue, Mar 30, 2010= at 10:33 PM, Joseph Coleman <
=0A> joe.coleman@infinitecampus.com&= gt; wrote:
=0A>
=0A> >  Hate to ask but I assume your b= ooting from the XEN Kernel and are using
=0A> > an account with th= e appropriate permissions to run Xend?
=0A> >
=0A> Yes, &nbs= p;this is latest xen ( compiled from git clone git://
=0A> git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.= git linux-2.6-xen ) and I
=0A> am running under root
=0A> p= rivileges.
=0A
=0A
I think you are confusing Linux pvops from th= e git tree above and Xen. There are two seperate
=0Aproducts.
=0A
= =0ALook at http://wiki.xensource.com/xenwiki/XenParavi= rtOps
=0Aand pay especailly attention in the grub line. You NEED xen= .gz in it.
=0A
=0A

=0A

-----Inline Att= achment Follows-----

______________________= _________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-de= vel

=0A=0A --0-323835244-1269972431=:44577-- --===============0453010075== 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 --===============0453010075==--