From mboxrd@z Thu Jan 1 00:00:00 1970 From: Onkar Mahajan Subject: Re: [Xen-devel] Re: [Xen-tools] Unable to start xend Date: Tue, 30 Mar 2010 23:16:04 +0530 Message-ID: <686a81951003301046g58349a90g3c5adb21f0618e39@mail.gmail.com> References: <686a81951003300938u22fa3a79sb626f2a9779df85a@mail.gmail.com> <686a81951003301009l6eaf4728x4cd3fb200191cf0e@mail.gmail.com> <20100330172526.GA16788@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0852949755==" Return-path: In-Reply-To: <20100330172526.GA16788@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: Joseph Coleman , "xen-devel@lists.xensource.com" , "xen-users@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============0852949755== Content-Type: multipart/alternative; boundary=0016e64cba5e219cbe0483083472 --0016e64cba5e219cbe0483083472 Content-Type: text/plain; charset=ISO-8859-1 I have followed the instructions in http://wiki.xensource.com/xenwiki/XenParavirtOps / Using Xen/paravirt_ops Building with domU support exactly .. 1. Get a current kernel. The latest kernel.org kernel is generally a good choice. Done 2. Configure as normal; you can start with your current .config file Done 3. If building 32 bit kernel make sure you have CONFIG_X86_PAE enabled (which is set by selecting CONFIG_HIGHMEM64G) CONFIG_HIGHMEM64G=y,CONFIG_X86_PAE=y Done * non-PAE mode doesn't work in 2.6.25, and has been dropped altogether from 2.6.26 and newer kernel versions. 4. Enable these core options: 1. CONFIG_PARAVIRT_GUEST Done - CONFIG_PARAVIRT_GUEST=y 2. CONFIG_XEN Done - CONFIG_XEN=y 5. And Xen pv device support 1. CONFIG_HVC_DRIVER and CONFIG_HVC_XEN Done - CONFIG_HVC_DRIVER=y Done - CONFIG_HVC_XEN=y 2. CONFIG_XEN_BLKDEV_FRONTEND Done - CONFIG_XEN_BLKDEV_FRONTEND=y 3. CONFIG_XEN_NETDEV_FRONTEND Done - CONFIG_XEN_NETDEV_FRONTEND=y 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 Wilk < konrad.wilk@oracle.com> wrote: > On Tue, Mar 30, 2010 at 10:39:03PM +0530, Onkar Mahajan wrote: > > On Tue, Mar 30, 2010 at 10:33 PM, Joseph Coleman < > > joe.coleman@infinitecampus.com> wrote: > > > > > Hate to ask but I assume your booting from the XEN Kernel and are > using > > > an account with the appropriate permissions to run Xend? > > > > > Yes, this is latest xen ( compiled from git clone git:// > > git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen ) > and I > > am running under root > > privileges. > > I think you are confusing Linux pvops from the git tree above and Xen. > There are two seperate > products. > > Look at http://wiki.xensource.com/xenwiki/XenParavirtOps > and pay especailly attention in the grub line. You NEED xen.gz in it. > > --0016e64cba5e219cbe0483083472 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have followed the instructions in http://wiki.xensource.com/xenwiki/XenParavirtOps = /

Using=20 Xen/paravirt_ops

Building with domU support

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 st= art with your current .config file
=A0=A0 Done

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

=A0=A0= =A0=A0=A0=A0=A0=A0=A0 * non-PAE mode doesn't work in 2.6.25, and has be= en dropped altogether from 2.6.26 and newer kernel versions.
=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
=A0=A0=A0=A0=A0=A0=A0=A0 Don= e - 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
=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
=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
=A0=A0=A0=A0=A0=A0=A0=A0 Done - CONFIG_XEN_NETDEV_FRONTEND=3Dy

=A0= =A0 6. And build as usual
=A0=A0=A0=A0=A0 make oldconfig, make -j2 bzIm= age modules , make -j2 modules_install , make install

On Tue, Mar 30, 2010 at 10:55 PM, Konrad Rzeszutek Wilk <konrad.wilk@orac= le.com> wrote:
On Tue, Mar 30, 2010 at 10:39:03PM +0530, Onkar Mahajan wrote:
> On Tue, Mar 30, 2010 at 10:33 PM, Joseph Coleman <
> joe.coleman@infinite= campus.com> wrote:
>
> > =A0Hate to ask but I assume your booting from the XEN Kernel and = are using
> > an account with the appropriate permissions to run Xend?
> >
> Yes, =A0this is latest xen ( compiled from git clone git://
> git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gi= t linux-2.6-xen ) and I
> am running under root
> privileges.

I think you are confusing Linux pvops from the git tree above and Xen= . There are two seperate
products.

Look at http://wiki.xensource.com/xenwiki/XenParavirtOps
and pay especailly attention in the grub line. You NEED xen.gz in it.


--0016e64cba5e219cbe0483083472-- --===============0852949755== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============0852949755==--