WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] xm create - Xend has probably crashed! Invalid or missin

To: "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-users] xm create - Xend has probably crashed! Invalid or missing HTTP status code.
From: "Hayawardh V" <hayawardh@xxxxxxxxx>
Date: Mon, 3 Dec 2007 21:49:44 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Dec 2007 18:50:39 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=HRTgYkWYMPFh92tUsfcQhHgKOT29H+xnTtiV7mT/EZ0=; b=ljPhtikDvRVPmE7tHGxGidyVV2vd9heH53v2AaUJKDvT6u+FKhmP0Z5jXIL3oPGAqm+vrzCAzaEDJYxc83mVphMOgx1Iy85iMYEeBTLIVynDuZ2vNDVcs5uLsH6npGRktHfjRbFcBlEoWt58AJOra8duXDdFD3WJgKOifLTYzEg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=HMz92s/gKjECFkaGL4bN5Q5l6ubp1X9lvqxiHj36kbfbd3e4OtziblNOOCFqmwOBKR5JgybhxDyEZint6Kqsn5qGZVpXwUTA/6KhXQwRlUK3xEH0GIynh0NcmD26xKCTkX5ilAhgRLWQBWu3Qk3c16zPzfEtTnuFaJ86HZbMe4s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200712040215.03303.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <68f1f87c0712031452x10ae38cam84db56262fd6b0c4@xxxxxxxxxxxxxx> <68f1f87c0712031503h7de2a45ei4d6bb1e1a00acf6a@xxxxxxxxxxxxxx> <68f1f87c0712031747s49eec4dak785c306e884f4f5b@xxxxxxxxxxxxxx> <200712040215.03303.mark.williamson@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Dec 3, 2007 9:15 PM, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
Anything interesting in /var/log/xen/xend.log or /var/log/xen/xend-debug.log?
    /var/log/xen/xend.log
    Near the top:
    (Its recreating some domain)
    [2007-12-02 17:37:05 6495] DEBUG (XendDomainInfo:126) XendDomainInfo.recreate({'max_vcpu_id': 0, 'cpu_time': 141296484314L, 'ssidref': 65537, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'online_vcpus': 1, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 1048576L, 'shutdown': 0, 'mem_kb': 954796L, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name': 'Domain-0'})
[2007-12-02 17:37:05 6495] INFO (XendDomainInfo:143) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
   .....
   .....
[2007-12-02 17:37:32 6495] DEBUG (XendDomainInfo:1517) XendDomainInfo.initDomain: 17 256
[2007-12-02 17:37:32 6495] DEBUG (XendDomainInfo:1549) _initDomain:shadow_memory=0x0, memory_static_max=0x40000000, memory_static_min=0x0.
[2007-12-02 17:37:32 6494] CRITICAL (SrvDaemon:231) Xend died due to signal 11!  Restarting it[2007-12-02 17:37:32 6530] INFO (SrvDaemon:331) Xend Daemon started
   (The same recreation doesnt work below)
[2007-12-02 17:37:32 6530] INFO (SrvDaemon:335) Xend changeset: Thu Nov 29 19:30:33 2007 +0000 16491:3057f813da14.
[2007-12-02 17:37:32 6530] INFO (SrvDaemon:342) Xend version: Unknown.
[2007-12-02 17:37:32 6530] DEBUG (XendDomainInfo:126) XendDomainInfo.recreate({'max_vcpu_id': 0, 'cpu_time': 142499085675L, 'ssidref': 65537, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'online_vcpus': 1, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 1048576L, 'shutdown': 0, 'mem_kb': 954796L, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name': 'Domain-0'})
[2007-12-02 17:37:32 6530] INFO (XendDomainInfo:143) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
[2007-12-02 17:37:32 6530] DEBUG (XendDomain:443) Adding Domain: 0
[2007-12-02 17:37:32 6530] DEBUG (XendDomainInfo:873) Storing domain details: {'name': 'Domain-0', 'console/limit': '1048576', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0', 'cpu/0/availability': 'online', 'memory/target': '954796', 'control/platform-feature-multiprocessor-suspend': '1'}
[2007-12-02 17:37:32 6530] DEBUG (XendDomainInfo:957) XendDomainInfo.handleShutdownWatch
[2007-12-02 17:37:32 6530] DEBUG (XendDomain:379) number of vcpus to use is 0
[2007-12-02 17:37:32 6530] DEBUG (XendDomainInfo:126) XendDomainInfo.recreate({'max_vcpu_id': 0, 'cpu_time': 0L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'online_vcpus': 0, 'domid': 17, 'paused': 1, 'crashed': 0, 'running': 0, 'maxmem_kb': 1048576L, 'shutdown': 0, 'mem_kb': 0L, 'handle': [247, 236, 220, 56, 215, 217, 181, 31, 227, 57, 251, 99, 222, 118, 127, 58], 'blocked': 1})
[2007-12-02 17:37:32 6530] ERROR (XendDomain:178) Failed to create reference to running domain id: 17
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 175, in _init_domains
    new_dom = XendDomainInfo.recreate(dom, False)
  File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 130, in recreate
    xeninfo = XendConfig.XendConfig(dominfo = info)
  File "/usr/lib/python2.5/site-packages/xen/xend/XendConfig.py", line 275, in __init__
    self._dominfo_to_xapi(dominfo, update_mem = True)
  File "/usr/lib/python2.5/site-packages/xen/xend/XendConfig.py", line 420, in _dominfo_to_xapi
    self._memory_sanity_check()
  File "/usr/lib/python2.5/site-packages/xen/xend/XendConfig.py", line 365, in _memory_sanity_check
    raise XendConfigError("memory_dynamic_max must be greater " \
XendConfigError: Invalid Configuration: memory_dynamic_max must be greater than zero

 

Cheers,
Mark

On Tuesday 04 December 2007, Hayawardh V wrote:
> To make things more clearer,
> ------------------------------------------
> Hi,
>
> We downloaded  xen-3.2 unstable.
> hg clone http://xenbits.xensource.com/xen-unstable.hg
>
> We made changes to Config.mk to enable XSM with sHype
> XSM_ENABLE ?= y
> FLASK_ENABLE ?= n
> ACM_SECURITY ?= y
>
> We compiled with:
>
> make world
> make install
> and changed grub entries appropriately.
>
> We booted dom0 and then tried to create a domU:
>
>
> [root@xxxx xxxx]# xm create /etc/xen/cfg
> Using config file "/etc/xen/cfg".
> Xend has probably crashed!  Invalid or missing HTTP status code.
>
> We tried the same by using an earlier stable version of xen and the cfg
> worked. Hence, the cfg file is correct.
>
> /etc/xen/cfg:
> kernel = '/boot/vmlinuz-2.6.20-2943.fc7xen '
> memory = 64
> name = "domu"
> vif = [ '' ]
> disk = ['file:/srv/xen/fedora.fc6.img,sda1,w']
> root = '/dev/sda1'
> extra = "ro selinux=0 3"
>
> Is this a known problem with xen-3.2 unstable? Or are we missing some step
> (some configuration)?
>
> Thanks.
> Hayawardh
> ----------------------------------
>
> On Dec 3, 2007 6:03 PM, Hayawardh V < hayawardh@xxxxxxxxx> wrote:
> > On Dec 3, 2007 6:02 PM, Shane D. Johnson <SDJ@xxxxxxxxxxxxxxxxxxxxxx>
> >
> > wrote:
> > >  Is your xend running?  That would be the first place I would look.
> > > When I do xend stop and run xm list, it says xend is not running.
> > >   When I do xend start and run xm list, it gives the output mentioned
> > > above.
> > >   However xend start|stop|status|restart does not print anything on the
> > > console.
> >
> >   When I do ps -A | grep python, it shows few processes (which are xend).
> >
> > > Shane
> > >
> > >
> > > Hayawardh V wrote:
> > >
> > > Hi,
> > >
> > > I have compiled xen-unstable (using hg clone
> > > http://xenbits.xensource.com/xen-unstable.hg).
> > >
> > > I have successfully booted into the dom0 kernel.
> > >
> > > output of xm list:
> > > Name                                      ID   Mem VCPUs      State
> > > Time(s)
> > > Domain-0                                   0   932     1     r-----
> > > 591.2
> > >
> > > But whenever I xm create, I get:
> > >
> > > # xm create /etc/xen/domu1
> > > Using config file "/etc/xen/domu1".
> > > Xend has probably crashed!  Invalid or missing HTTP status code.
> > >
> > > My file is:
> > >
> > > /etc/xen/domu1:
> > >
> > > kernel = '/boot/vmlinuz- 2.6.18.8-xenU'
> > > vif = [ '' ]
> > > disk = ['file:/srv/xen/fedora.fc6.img,sda1,w']
> > > root = '/dev/sda1 ro'
> > >
> > > What could be wrong?
> > >
> > > Thanks.
> > > Hayawardh
> > >
> > > ------------------------------
> > >
> > > _______________________________________________
> > > Xen-users mailing
> > > listXen-users@xxxxxxxxxxxxxxxxxxxxxxx://lists.xensource.com/xen-users
> > >
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users



--
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

Thanks,
Hayawardh
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users