Hayawardh V
2007-Dec-03 22:52 UTC
[Xen-users] xm create - Xend has probably crashed! Invalid or missing HTTP status code.
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 list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Shane D. Johnson
2007-Dec-03 23:02 UTC
Re: [Xen-users] xm create - Xend has probably crashed! Invalid or missing HTTP status code.
Is your xend running? That would be the first place I would look. 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 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
Hayawardh V
2007-Dec-03 23:03 UTC
Re: [Xen-users] xm create - Xend has probably crashed! Invalid or missing HTTP status code.
On Dec 3, 2007 6:02 PM, Shane D. Johnson <SDJ@rasmussenequipment.com> 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@lists.xensource.comhttp://lists.xensource.com/xen-users > > > _______________________________________________ > 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
Hayawardh V
2007-Dec-04 01:47 UTC
Re: [Xen-users] xm create - Xend has probably crashed! Invalid or missing HTTP status code.
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@gmail.com> wrote:> > > On Dec 3, 2007 6:02 PM, Shane D. Johnson <SDJ@rasmussenequipment.com> > 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@lists.xensource.comhttp://lists.xensource.com/xen-users > > > > > > _______________________________________________ > > 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
Mark Williamson
2007-Dec-04 02:15 UTC
Re: [Xen-users] xm create - Xend has probably crashed! Invalid or missing HTTP status code.
Anything interesting in /var/log/xen/xend.log or /var/log/xen/xend-debug.log? 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@gmail.com> wrote: > > On Dec 3, 2007 6:02 PM, Shane D. Johnson <SDJ@rasmussenequipment.com> > > > > 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@lists.xensource.comhttp://lists.xensource.com/xen-users > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > 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! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hayawardh V
2007-Dec-04 02:49 UTC
Re: [Xen-users] xm create - Xend has probably crashed! Invalid or missing HTTP status code.
On Dec 3, 2007 9:15 PM, Mark Williamson <mark.williamson@cl.cam.ac.uk> 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@gmail.com> wrote: > > > On Dec 3, 2007 6:02 PM, Shane D. Johnson <SDJ@rasmussenequipment.com> > > > > > > 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@lists.xensource > .comhttp://lists.xensource.com/xen-users > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > 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@lists.xensource.com http://lists.xensource.com/xen-users
Sadique Puthen
2007-Dec-04 07:13 UTC
Re: [Xen-users] xm create - Xend has probably crashed! Invalid or missing HTTP status code.
Hayawardh V wrote:> To make things more clearer, > ------------------------------------------ > Hi, > > We downloaded xen-3.2 unstable. > hg clone http://xenbits.xensource.com/xen-unstable.hg > <http://xenbits.xensource.com/xen-unstable.hg> > > We made changes to Config.mk <http://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 = 64I should never expect an fc6 of f7 to work nicely with 64MB of memory. Can u please set the "maxmem = <something greater than 64>" in the guest configuration file and test after that? --Sadique> 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@gmail.com > <mailto:hayawardh@gmail.com>> wrote: > > > > On Dec 3, 2007 6:02 PM, Shane D. Johnson > <SDJ@rasmussenequipment.com <mailto:SDJ@rasmussenequipment.com>> > 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 list >> Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> >> http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > <mailto: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_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hayawardh V
2007-Dec-04 22:15 UTC
Re: [Xen-users] xm create - Xend has probably crashed! Invalid or missing HTTP status code.
On Dec 4, 2007 2:13 AM, Sadique Puthen <sputhenp@redhat.com> wrote:> Hayawardh V wrote: > > To make things more clearer, > > ------------------------------------------ > > Hi, > > > > We downloaded xen-3.2 unstable. > > hg clone http://xenbits.xensource.com/xen-unstable.hg > > <http://xenbits.xensource.com/xen-unstable.hg> > > > > We made changes to Config.mk <http://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 > > I should never expect an fc6 of f7 to work nicely with 64MB of memory. > Can u please set the "maxmem = <something greater than 64>" in the guest > configuration file and test after that? >Thanks for the reply. We modified the config file as follows: kernel = "/boot/vmlinuz-2.6.20-2943.fc7xen" memory = 256 name = "fedora.fc6" vif = [ '''' ] dhcp = "dhcp" disk = [''file:/srv/xen/fedora.fc6.img,sda1,w''] root = "/dev/sda1 ro" But running the same config file on an earlier xen version works (xm create shows domain created). Only when running on xen-3.2-unstable.gz as the hypervisor this error comes. I have tried both the -xen and -xen0 and -xenU versions for dom0 and domU, which compiled along with xen-3.2-unstable. Hayawardh> > --Sadique > > > 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@gmail.com > > <mailto:hayawardh@gmail.com>> wrote: > > > > > > > > On Dec 3, 2007 6:02 PM, Shane D. Johnson > > <SDJ@rasmussenequipment.com <mailto:SDJ@rasmussenequipment.com>> > > 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 list > >> Xen-users@lists.xensource.com <mailto: > Xen-users@lists.xensource.com> > >> http://lists.xensource.com/xen-users > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > <mailto: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 > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2007-Dec-09 02:34 UTC
Re: [Xen-users] xm create - Xend has probably crashed! Invalid or missing HTTP status code.
Hi there,> > 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 > ..... > .....Is this next bit where you create your new domain?> > > [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 startedOK. The fact that Xend died here due to Signal 11 (segfault) is quite worrying in itself. It juggests that some kind of bug has just happened... weird. I guess that suggests that whatever bit you skipped above might have had something to do with it. Sorry, it''s not the direct cause of the error you''re seeing, so I understand why you skipped it. But I suspect it has something to do with the root cause.> > *(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 zeroFor some reason, maxmem_kb is 0 in the domain it''s trying to recreate, so it seems not to have any memory. It also says the domain is paused... Perhaps Xend crashed with signal 11 part way through creating a domain for you - is that a possibility? Xend seems to have got itself into a funny state, possibly due to the earlier crash. Ideally, it should probably handle this sort of thing better, though. Are you still having this problem? Have you tried updating your pull of xen-unstable? And in your setup, have you enabled any particular security policy at all? I''m afraid I don''t understand the security policies very well, so this is slightly unfamiliar territory for me. Cheers, Mark -- 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! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Apparently Analagous Threads
- Bug#681213: Full logs?
- Gentoo+Xen4.0: Error: coercing to Unicode: need string or buffer, NoneType found.
- Two problems with DomU reboot (cmdline, duplicate domains)
- Error 22 on domU creation after installing 3.1 from source
- Error: Not enough memory is available, and dom0 cannot be shrunk any further