Hi Everyone, I am trying to compile Xen 3.4.2 on kernel 2.6.32.8 on Debian 5. Seems I am missing something simple here, and seek your help. I downloaded the kernel source from kernel.org and xen''s source from xen.org Compiled kernel in its own directory, included ''XEN'' and/or ''PARAVIRT'' related options in the .config file and built bzImage and modules. It compiles fine with no errors. Then, compiled xen''s source. That downloaded kernel 2.6.18 from mercurial, and built happened successfully. Next, I installed this xen build and rebooted the node. So far so good. Then, I installed the newly built kernel 2.6.32.8 and pointed xen to that kernal, thinking that it should come back with the new kernel after the reboot. Turns out that is not the case. It did not boot correctly and did not show any messages on the console too. Now, I am a bit confused about if my approach was in the right direction or not. All I want to do is to run recent Xen (3.4.2) with the recent kernel (2.6.32.x). Can you please point me in the right direction? Appreciate your help. Regards, dot yet _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dot Yet wrote:>Compiled kernel in its own directory, included ''XEN'' and/or ''PARAVIRT'' >related options in the .config file and built bzImage and modules. It >compiles fine with no errors. > >Then, compiled xen''s source. That downloaded kernel 2.6.18 from >mercurial, and built happened successfully. Next, I installed this xen >build and rebooted the node. So far so good. Then, I installed the >newly built kernel 2.6.32.8 and pointed xen to that kernal, thinking >that it should come back with the new kernel after the reboot. Turns >out that is not the case. It did not boot correctly and did not show >any messages on the console too.I''ve never got past the stage of using pre-packaged kernels, so this could be a bit "blind leading the blind" here ... Did you compile in all the modules you need, or if not, did you create an initrd to go with the new config ? Did you update the bootloader ? Does it show anything at all when you try and boot ? In my (very limited) experience, you should get some output as the bootloader loads Xen and runs it - Xen should log what it''s doing. If the kernel is bad then things will stop after Xen loads. If the kernel is OK, but there is no initrd (or it''s bad) then the kernel will try and load but will halt at some point when it''s unable to do something important. If you''re getting absolutely nothing at all, then that suggests either a bootloader problem or a bad Xen imgae to me. -- Simon Hobson WANTED: "Software CD ROM Kit" for Canon CLBP 360-PS printer (Canon part no RH6-3612, or possibly RH6-3810, or RH6-3610 might do). I''ve a dead HD and need this CD so I can replace the disk and re-install the printer OS on it. If anyone knows where I might get hold of one I''d be grateful - requests to Canon drew a blank, it''s been out of support for years. Alternatively, if anyone has one of these and would let me image their hard disk ... Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Feb-23 07:58 UTC
Re: [Xen-users] Xen 3.4.2 on kernel 2.6.32.8 on Lenny
On Tue, Feb 23, 2010 at 10:12 AM, Dot Yet <dot.yet@gmail.com> wrote:> All I want to do is to run recent Xen (3.4.2) with the recent kernel (2.6.32.x).See http://wiki.xensource.com/xenwiki/XenDom0Kernels The easiest way for you is probably to grab latest opensuse kernel-xen RPM, extract, and copy everything on /boot and /lib. After that do the usual method for creating/updating initrd and grub.conf (update-initramfs, update-grub, ...) -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Feb-23 09:53 UTC
Re: [Xen-users] Xen 3.4.2 on kernel 2.6.32.8 on Lenny
On Mon, Feb 22, 2010 at 10:12:32PM -0500, Dot Yet wrote:> Hi Everyone, > > I am trying to compile Xen 3.4.2 on kernel 2.6.32.8 on Debian 5. > > Seems I am missing something simple here, and seek your help. > > I downloaded the kernel source from kernel.org and xen''s source from xen.org > > Compiled kernel in its own directory, included ''XEN'' and/or ''PARAVIRT'' > related options in the .config file and built bzImage and modules. It > compiles fine with no errors. > > Then, compiled xen''s source. That downloaded kernel 2.6.18 from > mercurial, and built happened successfully. Next, I installed this xen > build and rebooted the node. So far so good. Then, I installed the > newly built kernel 2.6.32.8 and pointed xen to that kernal, thinking > that it should come back with the new kernel after the reboot. Turns > out that is not the case. It did not boot correctly and did not show > any messages on the console too. > > Now, I am a bit confused about if my approach was in the right > direction or not. > > All I want to do is to run recent Xen (3.4.2) with the recent kernel (2.6.32.x). > > Can you please point me in the right direction? >Upstream Linux 2.6.32.8 kernel from kernel.org doesn''t support running as Xen dom0. It only supports running as Xen domU (guest). You need to get the 2.6.31.6 kernel from Jeremy''s git tree (xen/master branch), it has dom0 support included. xen/next branch has 2.6.32 kernel. See: http://wiki.xensource.com/xenwiki/XenParavirtOps and: http://wiki.xensource.com/xenwiki/XenDom0Kernels -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Robbie A. Garrett
2010-Feb-23 15:53 UTC
RE: [Xen-users] Xen 3.4.2 on kernel 2.6.32.8 on Lenny
Hello, perhaps I missed something I see no xen options in menuconfig when i pull down the kernel from xen/master The command i did was git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git xen/master which brought down a directory of xen/master. When I run make menuconfig it does show 2.6.31.6 as the kernel version which i think is correct.. but again I see no xen options. ________________________________________ From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Pasi Kärkkäinen [pasik@iki.fi] Sent: Tuesday, February 23, 2010 4:53 AM To: Dot Yet Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Xen 3.4.2 on kernel 2.6.32.8 on Lenny On Mon, Feb 22, 2010 at 10:12:32PM -0500, Dot Yet wrote:> Hi Everyone, > > I am trying to compile Xen 3.4.2 on kernel 2.6.32.8 on Debian 5. > > Seems I am missing something simple here, and seek your help. > > I downloaded the kernel source from kernel.org and xen''s source from xen.org > > Compiled kernel in its own directory, included ''XEN'' and/or ''PARAVIRT'' > related options in the .config file and built bzImage and modules. It > compiles fine with no errors. > > Then, compiled xen''s source. That downloaded kernel 2.6.18 from > mercurial, and built happened successfully. Next, I installed this xen > build and rebooted the node. So far so good. Then, I installed the > newly built kernel 2.6.32.8 and pointed xen to that kernal, thinking > that it should come back with the new kernel after the reboot. Turns > out that is not the case. It did not boot correctly and did not show > any messages on the console too. > > Now, I am a bit confused about if my approach was in the right > direction or not. > > All I want to do is to run recent Xen (3.4.2) with the recent kernel (2.6.32.x). > > Can you please point me in the right direction? >Upstream Linux 2.6.32.8 kernel from kernel.org doesn''t support running as Xen dom0. It only supports running as Xen domU (guest). You need to get the 2.6.31.6 kernel from Jeremy''s git tree (xen/master branch), it has dom0 support included. xen/next branch has 2.6.32 kernel. See: http://wiki.xensource.com/xenwiki/XenParavirtOps and: http://wiki.xensource.com/xenwiki/XenDom0Kernels -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Feb-23 19:29 UTC
Re: [Xen-users] Xen 3.4.2 on kernel 2.6.32.8 on Lenny
On Tue, Feb 23, 2010 at 10:53:04AM -0500, Robbie A. Garrett wrote:> Hello, > perhaps I missed something I see no xen options in menuconfig when i pull down the kernel from xen/master > > The command i did was > git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git xen/master which brought down a directory of xen/master. > > When I run make menuconfig it does show 2.6.31.6 as the kernel version which i think is correct.. but again I see no xen options. >Please see: http://wiki.xensource.com/xenwiki/XenParavirtOps for more information about how to compile and what options to choose. -- Pasi> ________________________________________ > From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Pasi Kärkkäinen [pasik@iki.fi] > Sent: Tuesday, February 23, 2010 4:53 AM > To: Dot Yet > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] Xen 3.4.2 on kernel 2.6.32.8 on Lenny > > On Mon, Feb 22, 2010 at 10:12:32PM -0500, Dot Yet wrote: > > Hi Everyone, > > > > I am trying to compile Xen 3.4.2 on kernel 2.6.32.8 on Debian 5. > > > > Seems I am missing something simple here, and seek your help. > > > > I downloaded the kernel source from kernel.org and xen''s source from xen.org > > > > Compiled kernel in its own directory, included ''XEN'' and/or ''PARAVIRT'' > > related options in the .config file and built bzImage and modules. It > > compiles fine with no errors. > > > > Then, compiled xen''s source. That downloaded kernel 2.6.18 from > > mercurial, and built happened successfully. Next, I installed this xen > > build and rebooted the node. So far so good. Then, I installed the > > newly built kernel 2.6.32.8 and pointed xen to that kernal, thinking > > that it should come back with the new kernel after the reboot. Turns > > out that is not the case. It did not boot correctly and did not show > > any messages on the console too. > > > > Now, I am a bit confused about if my approach was in the right > > direction or not. > > > > All I want to do is to run recent Xen (3.4.2) with the recent kernel (2.6.32.x). > > > > Can you please point me in the right direction? > > > > Upstream Linux 2.6.32.8 kernel from kernel.org doesn''t support > running as Xen dom0. It only supports running as Xen domU (guest). > > You need to get the 2.6.31.6 kernel from Jeremy''s git tree (xen/master branch), > it has dom0 support included. > > xen/next branch has 2.6.32 kernel. > > See: > http://wiki.xensource.com/xenwiki/XenParavirtOps > > and: > http://wiki.xensource.com/xenwiki/XenDom0Kernels > > -- Pasi > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Everyone, Thanks for all the inputs. I am trying to work with Jeremy''s repository with xen 3.4.2 source. The compilation for kernel 2.6.31.6 as well as xen happens fine. The system boots fine too. But xend does not start. Earlier, it was complaining about /proc/xen/capabilities not being present, fixed that error by adding xenfs to /etc/fstab. Now, its giving the following error about port 111. I noticed that portmap service is running on that port. Can you help me find whats wrong here? Any help is appreciated. [2010-02-24 21:58:27 4266] INFO (SrvDaemon:332) Xend Daemon started [2010-02-24 21:58:27 4266] INFO (SrvDaemon:336) Xend changeset: unavailable. [2010-02-24 21:58:27 4266] INFO (XendNetwork:114) Not recreating missing unmanaged network tmpbridge [2010-02-24 21:58:29 4266] ERROR (SrvDaemon:349) Exception starting xend ((111, ''Connection refused'')) Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.py", line 341, in run servers = SrvServer.create() File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvServer.py", line 251, in create root.putChild(''xend'', SrvRoot()) File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvRoot.py", line 40, in __init__ self.get(name) File "/usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 84, in get val = val.getobj() File "/usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 52, in getobj self.obj = klassobj() File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvNode.py", line 30, in __init__ self.xn = XendNode.instance() File "/usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line 949, in instance inst.save() File "/usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line 484, in save self.save_networks() File "/usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line 499, in save_networks for network_uuid in XendNetwork.get_all()]) File "/usr/lib/python2.5/site-packages/xen/xend/XendBase.py", line 102, in get_record for key in keys]) File "/usr/lib/python2.5/site-packages/xen/xend/XendNetwork.py", line 196, in get_VIFs vms = XendDomain.instance().get_all_vms() File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 1778, in instance inst.init() File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 113, in init xstransact.Mkdir(XS_VMROOT) File "/usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", line 355, in Mkdir complete(path, lambda t: t.mkdir(*args)) File "/usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", line 361, in complete t = xstransact(path) File "/usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", line 29, in __init__ self.transaction = xshandle().transaction_start() File "/usr/lib/python2.5/site-packages/xen/xend/xenstore/xsutil.py", line 18, in xshandle xs_handle = xen.lowlevel.xs.xs() Error: (111, ''Connection refused'') [2010-02-24 21:58:30 4265] INFO (SrvDaemon:220) Xend exited with status 1. thx, dot yet On Tue, Feb 23, 2010 at 2:29 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Tue, Feb 23, 2010 at 10:53:04AM -0500, Robbie A. Garrett wrote: >> Hello, >> perhaps I missed something I see no xen options in menuconfig when i pull down the kernel from xen/master >> >> The command i did was >> git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git xen/master which brought down a directory of xen/master. >> >> When I run make menuconfig it does show 2.6.31.6 as the kernel version which i think is correct.. but again I see no xen options. >> > > Please see: > http://wiki.xensource.com/xenwiki/XenParavirtOps > > for more information about how to compile and what options to choose. > > -- Pasi > >> ________________________________________ >> From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Pasi Kärkkäinen [pasik@iki.fi] >> Sent: Tuesday, February 23, 2010 4:53 AM >> To: Dot Yet >> Cc: xen-users@lists.xensource.com >> Subject: Re: [Xen-users] Xen 3.4.2 on kernel 2.6.32.8 on Lenny >> >> On Mon, Feb 22, 2010 at 10:12:32PM -0500, Dot Yet wrote: >> > Hi Everyone, >> > >> > I am trying to compile Xen 3.4.2 on kernel 2.6.32.8 on Debian 5. >> > >> > Seems I am missing something simple here, and seek your help. >> > >> > I downloaded the kernel source from kernel.org and xen''s source from xen.org >> > >> > Compiled kernel in its own directory, included ''XEN'' and/or ''PARAVIRT'' >> > related options in the .config file and built bzImage and modules. It >> > compiles fine with no errors. >> > >> > Then, compiled xen''s source. That downloaded kernel 2.6.18 from >> > mercurial, and built happened successfully. Next, I installed this xen >> > build and rebooted the node. So far so good. Then, I installed the >> > newly built kernel 2.6.32.8 and pointed xen to that kernal, thinking >> > that it should come back with the new kernel after the reboot. Turns >> > out that is not the case. It did not boot correctly and did not show >> > any messages on the console too. >> > >> > Now, I am a bit confused about if my approach was in the right >> > direction or not. >> > >> > All I want to do is to run recent Xen (3.4.2) with the recent kernel (2.6.32.x). >> > >> > Can you please point me in the right direction? >> > >> >> Upstream Linux 2.6.32.8 kernel from kernel.org doesn''t support >> running as Xen dom0. It only supports running as Xen domU (guest). >> >> You need to get the 2.6.31.6 kernel from Jeremy''s git tree (xen/master branch), >> it has dom0 support included. >> >> xen/next branch has 2.6.32 kernel. >> >> See: >> http://wiki.xensource.com/xenwiki/XenParavirtOps >> >> and: >> http://wiki.xensource.com/xenwiki/XenDom0Kernels >> >> -- Pasi >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
OK. I fixed that issue. I had to load module xen-evtchn. By default the system was loading module evtchn, whose name has been changed. thx anyways, dot yet On Wed, Feb 24, 2010 at 10:08 PM, Dot Yet <dot.yet@gmail.com> wrote:> Hi Everyone, > > Thanks for all the inputs. I am trying to work with Jeremy''s > repository with xen 3.4.2 source. > > The compilation for kernel 2.6.31.6 as well as xen happens fine. The > system boots fine too. But xend does not start. Earlier, it was > complaining about /proc/xen/capabilities not being present, fixed that > error by adding xenfs to /etc/fstab. > > Now, its giving the following error about port 111. I noticed that > portmap service is running on that port. Can you help me find whats > wrong here? > > Any help is appreciated. > > [2010-02-24 21:58:27 4266] INFO (SrvDaemon:332) Xend Daemon started > [2010-02-24 21:58:27 4266] INFO (SrvDaemon:336) Xend changeset: unavailable. > [2010-02-24 21:58:27 4266] INFO (XendNetwork:114) Not recreating > missing unmanaged network tmpbridge > [2010-02-24 21:58:29 4266] ERROR (SrvDaemon:349) Exception starting > xend ((111, ''Connection refused'')) > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.py", > line 341, in run > servers = SrvServer.create() > File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvServer.py", > line 251, in create > root.putChild(''xend'', SrvRoot()) > File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvRoot.py", > line 40, in __init__ > self.get(name) > File "/usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 84, in get > val = val.getobj() > File "/usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 52, in getobj > self.obj = klassobj() > File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvNode.py", > line 30, in __init__ > self.xn = XendNode.instance() > File "/usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line > 949, in instance > inst.save() > File "/usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line > 484, in save > self.save_networks() > File "/usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line > 499, in save_networks > for network_uuid in XendNetwork.get_all()]) > File "/usr/lib/python2.5/site-packages/xen/xend/XendBase.py", line > 102, in get_record > for key in keys]) > File "/usr/lib/python2.5/site-packages/xen/xend/XendNetwork.py", > line 196, in get_VIFs > vms = XendDomain.instance().get_all_vms() > File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line > 1778, in instance > inst.init() > File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line > 113, in init > xstransact.Mkdir(XS_VMROOT) > File "/usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", > line 355, in Mkdir > complete(path, lambda t: t.mkdir(*args)) > File "/usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", > line 361, in complete > t = xstransact(path) > File "/usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", > line 29, in __init__ > self.transaction = xshandle().transaction_start() > File "/usr/lib/python2.5/site-packages/xen/xend/xenstore/xsutil.py", > line 18, in xshandle > xs_handle = xen.lowlevel.xs.xs() > Error: (111, ''Connection refused'') > [2010-02-24 21:58:30 4265] INFO (SrvDaemon:220) Xend exited with status 1. > > > thx, > dot yet > > > On Tue, Feb 23, 2010 at 2:29 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote: >> On Tue, Feb 23, 2010 at 10:53:04AM -0500, Robbie A. Garrett wrote: >>> Hello, >>> perhaps I missed something I see no xen options in menuconfig when i pull down the kernel from xen/master >>> >>> The command i did was >>> git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git xen/master which brought down a directory of xen/master. >>> >>> When I run make menuconfig it does show 2.6.31.6 as the kernel version which i think is correct.. but again I see no xen options. >>> >> >> Please see: >> http://wiki.xensource.com/xenwiki/XenParavirtOps >> >> for more information about how to compile and what options to choose. >> >> -- Pasi >> >>> ________________________________________ >>> From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Pasi Kärkkäinen [pasik@iki.fi] >>> Sent: Tuesday, February 23, 2010 4:53 AM >>> To: Dot Yet >>> Cc: xen-users@lists.xensource.com >>> Subject: Re: [Xen-users] Xen 3.4.2 on kernel 2.6.32.8 on Lenny >>> >>> On Mon, Feb 22, 2010 at 10:12:32PM -0500, Dot Yet wrote: >>> > Hi Everyone, >>> > >>> > I am trying to compile Xen 3.4.2 on kernel 2.6.32.8 on Debian 5. >>> > >>> > Seems I am missing something simple here, and seek your help. >>> > >>> > I downloaded the kernel source from kernel.org and xen''s source from xen.org >>> > >>> > Compiled kernel in its own directory, included ''XEN'' and/or ''PARAVIRT'' >>> > related options in the .config file and built bzImage and modules. It >>> > compiles fine with no errors. >>> > >>> > Then, compiled xen''s source. That downloaded kernel 2.6.18 from >>> > mercurial, and built happened successfully. Next, I installed this xen >>> > build and rebooted the node. So far so good. Then, I installed the >>> > newly built kernel 2.6.32.8 and pointed xen to that kernal, thinking >>> > that it should come back with the new kernel after the reboot. Turns >>> > out that is not the case. It did not boot correctly and did not show >>> > any messages on the console too. >>> > >>> > Now, I am a bit confused about if my approach was in the right >>> > direction or not. >>> > >>> > All I want to do is to run recent Xen (3.4.2) with the recent kernel (2.6.32.x). >>> > >>> > Can you please point me in the right direction? >>> > >>> >>> Upstream Linux 2.6.32.8 kernel from kernel.org doesn''t support >>> running as Xen dom0. It only supports running as Xen domU (guest). >>> >>> You need to get the 2.6.31.6 kernel from Jeremy''s git tree (xen/master branch), >>> it has dom0 support included. >>> >>> xen/next branch has 2.6.32 kernel. >>> >>> See: >>> http://wiki.xensource.com/xenwiki/XenParavirtOps >>> >>> and: >>> http://wiki.xensource.com/xenwiki/XenDom0Kernels >>> >>> -- Pasi >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users