[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] [Xen-devel] Xen Source code build



Hi Ian/All,

Thanks for your prompt reply.

No, I didn't remove the earlier Xen version earlier, but now I have done so, and installed the new Xen4.1.2 again.

"xm" commands are still not running, Using "xl" commands, I get the following error:

cadlab:/srv/xen-4.1.2 # xl list
libxl: error: libxl.c:56:libxl_ctx_init Is xenstore daemon running?
failed to stat /var/run/xenstored.pid: No such file or directory
cannot init xl context

cadlab:/srv/xen-4.1.2 # xenstored
cadlab:/srv/xen-4.1.2 # FATAL: Failed to open evtchn device: No such file or directory

cadlab:/etc/init.d # ps -A | grep xen
   23 ?        00:00:00 xenwatch
   24 ?        00:00:00 xenbus
 3226 ?        00:00:00 xend
 3228 ?        00:00:00 xend



On googling, I found the following old discussion, but the thread closed without any solution it seems.
http://old-list-archives.xen.org/archives/html/xen-users/2011-08/msg00083.html






xend logs :
----------------------------------------------------------------------------------------------------------------------
[2012-04-07 16:20:56 3752] INFO (SrvDaemon:332) Xend Daemon started
[2012-04-07 16:20:56 3752] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2012-04-07 16:20:56 3752] DEBUG (tcp:96) Listening on :8002
[2012-04-07 16:20:56 3752] INFO (XendNetwork:114) Not recreating missing unmanaged network pbr0
[2012-04-07 16:20:56 3752] INFO (XendNetwork:114) Not recreating missing unmanaged network br0
[2012-04-07 16:20:56 3752] DEBUG (XendNode:332) pscsi record count: 4
[2012-04-07 16:20:56 3752] DEBUG (XendCPUPool:747) recreate_active_pools
[2012-04-07 16:20:56 3752] ERROR (SrvDaemon:349) Exception starting xend ((19, 'No such device'))
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xen/xend/server/SrvDaemon.py", line 341, in run
    servers = SrvServer.create()
  File "/usr/lib64/python2.7/site-packages/xen/xend/server/SrvServer.py", line 258, in create
    root.putChild('xend', SrvRoot())
  File "/usr/lib64/python2.7/site-packages/xen/xend/server/SrvRoot.py", line 40, in __init__
    self.get(name)
  File "/usr/lib64/python2.7/site-packages/xen/web/SrvDir.py", line 84, in get
    val = val.getobj()
  File "/usr/lib64/python2.7/site-packages/xen/web/SrvDir.py", line 52, in getobj
    self.obj = klassobj()
  File "/usr/lib64/python2.7/site-packages/xen/xend/server/SrvNode.py", line 30, in __init__
    self.xn = XendNode.instance()
  File "/usr/lib64/python2.7/site-packages/xen/xend/XendNode.py", line 1181, in instance
    inst = XendNode()
  File "/usr/lib64/python2.7/site-packages/xen/xend/XendNode.py", line 163, in __init__
    self._init_cpu_pools()
  File "/usr/lib64/python2.7/site-packages/xen/xend/XendNode.py", line 382, in _init_cpu_pools
    XendCPUPool.recreate_active_pools()
  File "/usr/lib64/python2.7/site-packages/xen/xend/XendCPUPool.py", line 754, in recreate_active_pools
    uuid = xstransact.Read(path, 'uuid')
  File "/usr/lib64/python2.7/site-packages/xen/xend/xenstore/xstransact.py", line 307, in Read
    return complete(path, lambda t: t.read(*args))
  File "/usr/lib64/python2.7/site-packages/xen/xend/xenstore/xstransact.py", line 361, in complete
    t = xstransact(path)
  File "/usr/lib64/python2.7/site-packages/xen/xend/xenstore/xstransact.py", line 29, in __init__
    self.transaction = xshandle().transaction_start()
Error: (19, 'No such device')
                                                                                
------------------------------------------------------------------------------------------------------------------------



There is not xenstored in /etc/init.d also.
In /var/run, I have
cadlab:/var/run/xenstored # ls
socket  socket_ro

----------------------------
Thanks & Regards
Mohit Dhingra 
+919611190435



On 7 April 2012 13:00, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
Redirecting to xen-uers@ where this belongs.

On Sat, 2012-04-07 at 07:25 +0100, Mohit Dhingra wrote:
> Hi Ian/All,
>
> I am sorry, I was mistaken by "For now, a 32 bits host environnment is
> necessary to build successfuly. building on a 64 bits host machine is
> not yet supported" in http://xen.org/products/xci_source.html
>
> Well, I am now able to build the xen binary image xen4.1.2, (after
> installing the missing packages as suggested by you)
>
> -rw-r--r--  1 root root   691748 Jul 27  2011 xen-4.0.2_52-0.2.1.gz
> lrwxrwxrwx  1 root root       21 Feb  9 23:49 xen-4.0.gz ->
> xen-4.0.2_52-0.2.1.gz
> -rw-r--r--  1 root root   734699 Apr  7 11:39 xen-4.1.2.gz
> lrwxrwxrwx  1 root root       12 Apr  7 11:39 xen-4.1.gz ->
> xen-4.1.2.gz
> lrwxrwxrwx  1 root root       12 Apr  7 11:39 xen-4.gz -> xen-4.1.2.gz
>
> I earlier had the xen-4.0.2 installed through zypper in Dom0 (opensuse
> 11.4)

You removed this before installing 4.1?

> (cadlab:/srv/xen-4.1.2 # uname -a
> Linux cadlab 2.6.37.6-0.11-xen #1 SMP 2011-12-19 23:39:38 +0100 x86_64
> x86_64 x86_64 GNU/Linux
> )
>
>
> But xm commands are not working now.
>
> cadlab:/srv/xen-4.1.2 # xm list
> Error: Unable to connect to xend: Connection refused. Is xend running?
>
> Is it not compatible with the openSUSE11.4? Or is there something
> which I am missing out.

Please check the logs under /var/log/xen/ for clues.

Note that xm is going to be deprecated in 4.2 so you might want to
consider using the new xl toolstack instead.

Ian.

>
> ----------------------------
>
> Thanks & Regards
> Mohit Dhingra
> +919611190435
>
>
> On 2 April 2012 14:51, Olaf Hering <olaf@xxxxxxxxx> wrote:
>         On Mon, Apr 02, Ian Campbell wrote:
>
>         > On Sun, 2012-04-01 at 06:34 +0100, Mohit Dhingra wrote:
>         > > Hello All,
>         > >
>         > > I am a newbie to Linux and Xen. I tried compiling Xen
>         Source code (I
>         > > want to make some changes and see how it works), but it
>         failed on my
>         > > system as it couldn't find gnu-stubs32.h. Later, on
>         looking at
>         > > Makefile, I figured out that for x86_64, it is not yet
>         supported !!
>
>
>         > WRT gnu-stubs32.h I suspect you are missing some -devel
>         package or
>         > other. I don't know about how SuSE lays things out but you
>         should locate
>         > the package containing this file and install it. Googling
>         suggests that
>         > perhaps you meant gnu/stubs32.h? In which case you probably
>         want to
>         > install glibc-devel.
>
>
>         Running configure and/or make in a 32bit shell is not needed.
>         "zypper in gcc-32bit glibc-devel-32bit" will install the
>         required
>         packages to compile the 32bit parts in the firmware.
>
>         Olaf
>



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.