[root@localhost onkar]# which xend /usr/sbin/xend [root@localhost onkar]# uname -a Linux localhost.localdomain 2.6.31.12 #1 SMP Wed Mar 31 09:51:44 IST 2010 i686 i686 i386 GNU/Linux [root@localhost onkar]# xend start ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory) Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon File "/usr/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.py", line 26, in <module> import relocate File "/usr/lib/python2.6/site-packages/xen/xend/server/relocate.py", line 28, in <module> from xen.xend import XendDomain File "/usr/lib/python2.6/site-packages/xen/xend/XendDomain.py", line 35, in <module> from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo File "/usr/lib/python2.6/site-packages/xen/xend/XendCheckpoint.py", line 20, in <module> from xen.xend import balloon, sxp, image File "/usr/lib/python2.6/site-packages/xen/xend/image.py", line 46, in <module> xc = xen.lowlevel.xc.xc() xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could not obtain handle on privileged command interface (2 = No such file or directory)'') /Onkar _______________________________________________ Xen-tools mailing list Xen-tools@lists.xensource.com http://lists.xensource.com/xen-tools
Hate to ask but I assume your booting from the XEN Kernel and are using an account with the appropriate permissions to run Xend? From: xen-tools-bounces@lists.xensource.com [mailto:xen-tools-bounces@lists.xensource.com] On Behalf Of Onkar Mahajan Sent: Tuesday, March 30, 2010 11:39 AM To: xen-devel@lists.xensource.com; xen-users@lists.xensource.com; xen-bugs@lists.xensource.com; xen-tools@lists.xensource.com Subject: [Xen-tools] Unable to start xend [root@localhost onkar]# which xend /usr/sbin/xend [root@localhost onkar]# uname -a Linux localhost.localdomain 2.6.31.12 #1 SMP Wed Mar 31 09:51:44 IST 2010 i686 i686 i386 GNU/Linux [root@localhost onkar]# xend start ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory) Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon File "/usr/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.py", line 26, in <module> import relocate File "/usr/lib/python2.6/site-packages/xen/xend/server/relocate.py", line 28, in <module> from xen.xend import XendDomain File "/usr/lib/python2.6/site-packages/xen/xend/XendDomain.py", line 35, in <module> from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo File "/usr/lib/python2.6/site-packages/xen/xend/XendCheckpoint.py", line 20, in <module> from xen.xend import balloon, sxp, image File "/usr/lib/python2.6/site-packages/xen/xend/image.py", line 46, in <module> xc = xen.lowlevel.xc.xc() xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could not obtain handle on privileged command interface (2 = No such file or directory)'') /Onkar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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. Thanks for your concern, /Onkar *From:* xen-tools-bounces@lists.xensource.com [mailto:> xen-tools-bounces@lists.xensource.com] *On Behalf Of *Onkar Mahajan > *Sent:* Tuesday, March 30, 2010 11:39 AM > *To:* xen-devel@lists.xensource.com; xen-users@lists.xensource.com; > xen-bugs@lists.xensource.com; xen-tools@lists.xensource.com > *Subject:* [Xen-tools] Unable to start xend > > > > [root@localhost onkar]# which xend > /usr/sbin/xend > [root@localhost onkar]# uname -a > Linux localhost.localdomain 2.6.31.12 #1 SMP Wed Mar 31 09:51:44 IST 2010 > i686 i686 i386 GNU/Linux > [root@localhost onkar]# xend start > ERROR Internal error: Could not obtain handle on privileged command > interface (2 = No such file or directory) > Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > File "/usr/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.py", > line 26, in <module> > import relocate > File "/usr/lib/python2.6/site-packages/xen/xend/server/relocate.py", line > 28, in <module> > from xen.xend import XendDomain > File "/usr/lib/python2.6/site-packages/xen/xend/XendDomain.py", line 35, > in <module> > from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo > File "/usr/lib/python2.6/site-packages/xen/xend/XendCheckpoint.py", line > 20, in <module> > from xen.xend import balloon, sxp, image > File "/usr/lib/python2.6/site-packages/xen/xend/image.py", line 46, in > <module> > xc = xen.lowlevel.xc.xc() > xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could not obtain handle on > privileged command interface (2 = No such file or directory)'') > > > /Onkar >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Mar-30 17:25 UTC
Re: [Xen-devel] Re: [Xen-tools] Unable to start xend
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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Onkar Mahajan
2010-Mar-30 17:46 UTC
[Xen-users] Re: [Xen-devel] Re: [Xen-tools] Unable to start xend
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. > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Konrad Rzeszutek Wilk
2010-Mar-30 17:58 UTC
Re: [Xen-devel] Re: [Xen-tools] Unable to start xend
On Tue, Mar 30, 2010 at 11:16:04PM +0530, Onkar Mahajan wrote:> I have followed the instructions in > http://wiki.xensource.com/xenwiki/XenParavirtOps / > Using Xen/paravirt_opsYou need to build the hypervisor as well. Look at: http://virtually-a-machine.blogspot.com/2009/12/experimental-xen-and-ubuntu-part-2.html _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2010-Mar-30 18:07 UTC
Re: [Xen-devel] Re: [Xen-tools] Unable to start xend
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 <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.coleman@infinitecampus.com>, "xen-devel@lists.xensource.com" <xen-devel@lists.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 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. -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Mar-30 18:13 UTC
[Xen-users] Re: [Xen-devel] Re: [Xen-tools] Unable to start xend
On Tue, Mar 30, 2010 at 11:07:11AM -0700, Boris Derzhavets wrote:> Build Xen Dom0 supporting Pvops kernel and load under xen.gz. > View for instance :- > http://lxer.com/module/newswire/view/133477/index.htmlOh nice. Thanks Boris for making that writeup. Onkar, please the link that Boris pointed out - it has much more in depth explanation than the one I posted. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Mar-30 19:01 UTC
Re: [Xen-devel] Re: [Xen-tools] Unable to start xend
One more notice. Running "make menuconfig" to enable Xen Dom0 support is not described in details in the post and might be hard for the first time exercise. I just attached working ".config" for 2.6.32.10 on Ubuntu 9.10 Server to this message. Boris --- On Tue, 3/30/10, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote: From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Subject: Re: [Xen-devel] Re: [Xen-tools] Unable to start xend To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Onkar Mahajan" <kern.devel@gmail.com>, "Joseph Coleman" <joe.coleman@infinitecampus.com>, "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>, "xen-users@lists.xensource.com" <xen-users@lists.xensource.com> Date: Tuesday, March 30, 2010, 2:13 PM On Tue, Mar 30, 2010 at 11:07:11AM -0700, Boris Derzhavets wrote:> Build Xen Dom0 supporting Pvops kernel and load under xen.gz. > View for instance :- > http://lxer.com/module/newswire/view/133477/index.htmlOh nice. Thanks Boris for making that writeup. Onkar, please the link that Boris pointed out - it has much more in depth explanation than the one I posted. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Please confirm if I am right : #!/bin/sh cat << EOF menuentry "Xen 3.5 / Ubuntu, 2.6.31.6-xen1" { insmod ext2 set root=(hd0,1) multiboot /boot/xen-3.5.gz <- This is the Xen VMM proper ??? module /boot/vmlinuz-2.6.31.6-xen1 dummy=dummy dom0_mem=1024M root=/dev/sda1 ro <- This is linux kernel with pvops right ??? module /boot/initrd.img-2.6.31.6-xen1 } EOF so in my case , I have compiled Linux kernel containing pvops ; Now , I also need Xen VMM ?? right ?? Please confirm Thank you very very much, /Onkar On Tue, Mar 30, 2010 at 11:28 PM, Konrad Rzeszutek Wilk < konrad.wilk@oracle.com> wrote:> On Tue, Mar 30, 2010 at 11:16:04PM +0530, Onkar Mahajan wrote: > > I have followed the instructions in > > http://wiki.xensource.com/xenwiki/XenParavirtOps / > > Using Xen/paravirt_ops > > You need to build the hypervisor as well. Look at: > > http://virtually-a-machine.blogspot.com/2009/12/experimental-xen-and-ubuntu-part-2.html >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Mar-31 14:19 UTC
Re: [Xen-devel] Re: [Xen-tools] Unable to start xend
On Wed, Mar 31, 2010 at 12:45:02PM +0530, Onkar Mahajan wrote:> Please confirm if I am right : >Aaah, you are using GRUB2, not GRUB!> #!/bin/sh > > cat << EOF > menuentry "Xen 3.5 / Ubuntu, 2.6.31.6-xen1" { > insmod ext2 > set root=(hd0,1) > multiboot /boot/xen-3.5.gz <- This is the Xen VMM proper ???Yup> module /boot/vmlinuz-2.6.31.6-xen1 dummy=dummy dom0_mem=1024M > root=/dev/sda1 ro <- This is linux kernel with pvops right ???Yup. I would suggest you add ''console=hvc0'' so you can see the output.> module /boot/initrd.img-2.6.31.6-xen1 > } > > EOF > > so in my case , I have compiled Linux kernel containing pvops ; Now , I also > need Xen VMM ?? right ??Yes. But from your /boot/grub/menu.lst it looks that you do have the xen-3.5.gz compiled? For details on how to do that look at the URL that Boris sent - it is pretty comprehensive. Also take a look at this (which Boris wrote as well): http://bderzhavets.wordpress.com/2009/08/31/loading-xen-via-grub2-on-top-ubuntu-karmic-server-alpha-4/ That explains how to setup the GRUB2 entry correctly. Boris, I am CC-ing you on this e-mail. Any suggestions on what else he might need to do? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-Mar-31 14:41 UTC
Re: [Xen-devel] Re: [Xen-tools] Unable to start xend
On Wed, Mar 31, 2010 at 10:19:28AM -0400, Konrad Rzeszutek Wilk wrote:> On Wed, Mar 31, 2010 at 12:45:02PM +0530, Onkar Mahajan wrote: > > Please confirm if I am right : > > > > Aaah, you are using GRUB2, not GRUB! > > > #!/bin/sh > > > > cat << EOF > > menuentry "Xen 3.5 / Ubuntu, 2.6.31.6-xen1" { > > insmod ext2 > > set root=(hd0,1) > > multiboot /boot/xen-3.5.gz <- This is the Xen VMM proper ??? > > Yup > > module /boot/vmlinuz-2.6.31.6-xen1 dummy=dummy dom0_mem=1024M > > root=/dev/sda1 ro <- This is linux kernel with pvops right ??? > > Yup. I would suggest you add ''console=hvc0'' so you can see the output. > > module /boot/initrd.img-2.6.31.6-xen1 > > } > > > > EOF > > > > so in my case , I have compiled Linux kernel containing pvops ; Now , I also > > need Xen VMM ?? right ?? > > Yes. But from your /boot/grub/menu.lst it looks that you do have the > xen-3.5.gz compiled? For details on how to do that look at the URL that > Boris sent - it is pretty comprehensive. > > Also take a look at this (which Boris wrote as well): > http://bderzhavets.wordpress.com/2009/08/31/loading-xen-via-grub2-on-top-ubuntu-karmic-server-alpha-4/ > > That explains how to setup the GRUB2 entry correctly. > > Boris, I am CC-ing you on this e-mail. Any suggestions on what else he > might need to do? >More information about Xen+grub2 here aswell: http://wiki.xensource.com/xenwiki/XenCommonProblems -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Onkar Mahajan
2010-Mar-31 14:42 UTC
[Xen-users] Re: [Xen-devel] Re: [Xen-tools] Unable to start xend
On Wed, Mar 31, 2010 at 7:49 PM, Konrad Rzeszutek Wilk < konrad.wilk@oracle.com> wrote:> On Wed, Mar 31, 2010 at 12:45:02PM +0530, Onkar Mahajan wrote: > > Please confirm if I am right : > > > > Aaah, you are using GRUB2, not GRUB! > > > #!/bin/sh > > > > cat << EOF > > menuentry "Xen 3.5 / Ubuntu, 2.6.31.6-xen1" { > > insmod ext2 > > set root=(hd0,1) > > multiboot /boot/xen-3.5.gz <- This is the Xen VMM proper ??? > > Yup > > module /boot/vmlinuz-2.6.31.6-xen1 dummy=dummy dom0_mem=1024M > > root=/dev/sda1 ro <- This is linux kernel with pvops right ??? > > Yup. I would suggest you add ''console=hvc0'' so you can see the output. > > module /boot/initrd.img-2.6.31.6-xen1 > > } > > > > EOF > > > > so in my case , I have compiled Linux kernel containing pvops ; Now , I > also > > need Xen VMM ?? right ?? > > Yes. But from your /boot/grub/menu.lst it looks that you do have the > xen-3.5.gz compiled?No , this is just the copy-paste from http://virtually-a-machine.blogspot.com/2009/12/experimental-xen-and-ubuntu-part-2.html I don''t have the xen-3.5.gz compiled . (just for my understanding ) Neither do i know how to compile it for the pvops kernel (2.6.31.6) that I am using. Can you shed some light as to how I can generate the xen.gz image , Please note that I have CONFIG_XEN_DOM0=y set in my .config file. I have attached the .config and menu.lst file for your reference. What is the significance of CONFIG_XEN_DOM0=y ? does is generate dom0 image as well ? If yes where ?? Thanks anyways for your concern. /Onkar For details on how to do that look at the URL that> Boris sent - it is pretty comprehensive. > > Also take a look at this (which Boris wrote as well): > > http://bderzhavets.wordpress.com/2009/08/31/loading-xen-via-grub2-on-top-ubuntu-karmic-server-alpha-4/ > > That explains how to setup the GRUB2 entry correctly. > > Boris, I am CC-ing you on this e-mail. Any suggestions on what else he > might need to do? >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Mar-31 15:11 UTC
Re: [Xen-devel] Re: [Xen-tools] Unable to start xend
On Wed, Mar 31, 2010 at 08:12:27PM +0530, Onkar Mahajan wrote:> On Wed, Mar 31, 2010 at 7:49 PM, Konrad Rzeszutek Wilk > <[1]konrad.wilk@oracle.com> wrote: > > On Wed, Mar 31, 2010 at 12:45:02PM +0530, Onkar Mahajan wrote: > > Please confirm if I am right : > > > > Aaah, you are using GRUB2, not GRUB! > > #!/bin/sh > > > > cat << EOF > > menuentry "Xen 3.5 / Ubuntu, 2.6.31.6-xen1" { > > insmod ext2 > > set root=(hd0,1) > > multiboot /boot/xen-3.5.gz <- This is the Xen VMM proper ??? > > Yup > > module /boot/vmlinuz-2.6.31.6-xen1 dummy=dummy dom0_mem=1024M > > root=/dev/sda1 ro <- This is linux kernel with pvops right ??? > > Yup. I would suggest you add ''console=hvc0'' so you can see the output. > > module /boot/initrd.img-2.6.31.6-xen1 > > } > > > > EOF > > > > so in my case , I have compiled Linux kernel containing pvops ; Now , > I also > > need Xen VMM ?? right ?? > > Yes. But from your /boot/grub/menu.lst it looks that you do have the > xen-3.5.gz compiled? > > No , this is just the copy-paste from > [2]http://virtually-a-machine.blogspot.com/2009/12/experimental-xen-and-ubuntu-part-2.html > I don''t have the xen-3.5.gz compiled . (just for my understanding ) > Neither do i know how to compile it > for the pvops kernel (2.6.31.6) that I am using. > Can you shed some light as to how I can generate the xen.gz image , Please > note that > I have CONFIG_XEN_DOM0=y set in my .config file. > I have attached the .config and menu.lst file for your reference. > > What is the significance of CONFIG_XEN_DOM0=y ?It''ll make the kernel to be able to run as Xen Dom0.> does is generate dom0 image as well ? If yes where ?? >xen.gz is Xen hypervisor, and it''s totally separate piece of software. Xen hypervisor is not included in the Linux kernel, it''s a separate download from xen.org. Xen hypervisor 4.0.0-rc9 is available from this mercurial repository: http://xenbits.xen.org/xen-4.0-testing.hg -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2010-Mar-31 15:14 UTC
Re: [Xen-users] Re: [Xen-devel] Re: [Xen-tools] Unable to start xend
I am confused. Just try to reproduce :- http://lxer.com/module/newswire/view/133477/index.html with .config i''ve sent to you yesterday. I believe Konrad wrote you the same. You mix several sources. I wouldn''t do that. Boris. --- On Wed, 3/31/10, Onkar Mahajan <kern.devel@gmail.com> wrote: From: Onkar Mahajan <kern.devel@gmail.com> Subject: [Xen-users] Re: [Xen-devel] Re: [Xen-tools] Unable to start xend To: "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com> Cc: bderzhavets@yahoo.com, "Joseph Coleman" <joe.coleman@infinitecampus.com>, "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>, "xen-users@lists.xensource.com" <xen-users@lists.xensource.com> Date: Wednesday, March 31, 2010, 10:42 AM On Wed, Mar 31, 2010 at 7:49 PM, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote: On Wed, Mar 31, 2010 at 12:45:02PM +0530, Onkar Mahajan wrote:> Please confirm if I am right :>Aaah, you are using GRUB2, not GRUB!> #!/bin/sh>> cat << EOF> menuentry "Xen 3.5 / Ubuntu, 2.6.31.6-xen1" {> insmod ext2> set root=(hd0,1)> multiboot /boot/xen-3.5.gz <- This is the Xen VMM proper ???Yup> module /boot/vmlinuz-2.6.31.6-xen1 dummy=dummy dom0_mem=1024M> root=/dev/sda1 ro <- This is linux kernel with pvops right ???Yup. I would suggest you add ''console=hvc0'' so you can see the output.> module /boot/initrd.img-2.6.31.6-xen1> }>> EOF>> so in my case , I have compiled Linux kernel containing pvops ; Now , I also> need Xen VMM ?? right ??Yes. But from your /boot/grub/menu.lst it looks that you do have the xen-3.5.gz compiled? No , this is just the copy-paste from http://virtually-a-machine.blogspot.com/2009/12/experimental-xen-and-ubuntu-part-2.html I don''t have the xen-3.5.gz compiled . (just for my understanding ) Neither do i know how to compile it for the pvops kernel (2.6.31.6) that I am using. Can you shed some light as to how I can generate the xen.gz image , Please note that I have CONFIG_XEN_DOM0=y set in my .config file. I have attached the .config and menu.lst file for your reference. What is the significance of CONFIG_XEN_DOM0=y ? does is generate dom0 image as well ? If yes where ?? Thanks anyways for your concern. /Onkar For details on how to do that look at the URL that Boris sent - it is pretty comprehensive. Also take a look at this (which Boris wrote as well): http://bderzhavets.wordpress.com/2009/08/31/loading-xen-via-grub2-on-top-ubuntu-karmic-server-alpha-4/ That explains how to setup the GRUB2 entry correctly. Boris, I am CC-ing you on this e-mail. Any suggestions on what else he might need to do? -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
So that means that I am able to boot completely the dom0 right ?? On Wed, Mar 31, 2010 at 8:41 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Wed, Mar 31, 2010 at 08:12:27PM +0530, Onkar Mahajan wrote: > > On Wed, Mar 31, 2010 at 7:49 PM, Konrad Rzeszutek Wilk > > <[1]konrad.wilk@oracle.com> wrote: > > > > On Wed, Mar 31, 2010 at 12:45:02PM +0530, Onkar Mahajan wrote: > > > Please confirm if I am right : > > > > > > > Aaah, you are using GRUB2, not GRUB! > > > #!/bin/sh > > > > > > cat << EOF > > > menuentry "Xen 3.5 / Ubuntu, 2.6.31.6-xen1" { > > > insmod ext2 > > > set root=(hd0,1) > > > multiboot /boot/xen-3.5.gz <- This is the Xen VMM proper ??? > > > > Yup > > > module /boot/vmlinuz-2.6.31.6-xen1 dummy=dummy dom0_mem=1024M > > > root=/dev/sda1 ro <- This is linux kernel with pvops right ??? > > > > Yup. I would suggest you add ''console=hvc0'' so you can see the > output. > > > module /boot/initrd.img-2.6.31.6-xen1 > > > } > > > > > > EOF > > > > > > so in my case , I have compiled Linux kernel containing pvops ; > Now , > > I also > > > need Xen VMM ?? right ?? > > > > Yes. But from your /boot/grub/menu.lst it looks that you do have the > > xen-3.5.gz compiled? > > > > No , this is just the copy-paste from > > [2] > http://virtually-a-machine.blogspot.com/2009/12/experimental-xen-and-ubuntu-part-2.html > > I don''t have the xen-3.5.gz compiled . (just for my understanding ) > > Neither do i know how to compile it > > for the pvops kernel (2.6.31.6) that I am using. > > Can you shed some light as to how I can generate the xen.gz image , > Please > > note that > > I have CONFIG_XEN_DOM0=y set in my .config file. > > I have attached the .config and menu.lst file for your reference. > > > > What is the significance of CONFIG_XEN_DOM0=y ? > > It''ll make the kernel to be able to run as Xen Dom0. > > > does is generate dom0 image as well ? If yes where ?? > > > > xen.gz is Xen hypervisor, and it''s totally separate piece of software. > Xen hypervisor is not included in the Linux kernel, it''s a separate > download > from xen.org. > > Xen hypervisor 4.0.0-rc9 is available from this mercurial repository: > http://xenbits.xen.org/xen-4.0-testing.hg > > -- Pasi > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel