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

Re: [Xen-devel] Unable to create guest domain AND mm.c/grant_table.c errors


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Chris Bainbridge <chris.bainbridge@xxxxxxxxx>
  • Date: Thu, 22 Sep 2005 09:49:03 +0100
  • Delivery-date: Thu, 22 Sep 2005 08:47:08 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oCHf8U/L2TMaP+tVkKD1dvMl8buTPNE1pC7lJXyVsFyPuxMpcWNXpTgrznvDI88PQ0jyd6Tgvxy9a+wusEZcs+6N/jE95/jEqD8hxG7GEZD5lRJm9luKJQRc/yajDjX1W+XJUZbVAlo+AhRscOZol3ZvfKKvxRzZ2NMtutQiB9o=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

changeset:   6987:76f4c7ea7602

On 21/09/05, Chris Bainbridge <chris.bainbridge@xxxxxxxxx> wrote:
>
>  # xm create ubuntu -c
> Using config file "ubuntu".
> Error: Error creating domain: int argument required
>
>  # cat xend-debug.log
> Traceback (most recent call last):
>   File "/usr/lib/python2.3/site-packages/xen/xend/XendDomainInfo.py",
> line 719, in construct
>     self.info['bootloader']))
>   File "/usr/lib/python2.3/site-packages/xen/xend/image.py", line 158,
> in initDomain
>     log.debug("initDomain: cpu=%d mem_kb=%d ssidref=%d dom=%d", cpu,
> mem_kb, ssidref, dom)

At this point, cpu==None. Confirmed by xend.log:

[2005-09-22 09:37:19 xend] DEBUG (XendDomainInfo:712)
XendDomainInfo.construct: calling initDomain(None 98304 0 None 1.0)

domid and cpu are both None there... the rest of xend.log is:

  2005-09-22 09:46:03 xend] DEBUG (XendDomainInfo:539)
XendDomainInfo.update({'vcpu_to_cpu': [0, 1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1], 'cpu_time': 15142445835L, 'ssidref': 0,
'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'running': 1, 'maxmem_kb':
-4, 'paused': 0, 'crashed': 0, 'vcpus': 2, 'shutdown': 0, 'mem_kb':
93184, 'cpumap': [-1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on domain
0
[2005-09-22 09:46:03 xend] DEBUG (XendDomainInfo:550)
XendDomainInfo.update done on domain 0: {'paused': 0, 'shutdown': 0,
'backend': [], 'dying': 0, 'maxmem_KiB': 1073741824, 'cpu_weight':
1.0, 'restart_mode': 'onreboot', 'blocked': 0, 'shutdown_reason': 0,
'crashed': 0, 'running': 1, 'device': [], 'cpumap': [-1, -1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [0, 1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time': 15142445835L,
'ssidref': 0, 'memory_KiB': 93184, 'name': 'Domain-0', 'dom': 0,
'vcpus': 2}
[2005-09-22 09:46:03 xend] DEBUG (XendDomainInfo:539)
XendDomainInfo.update(None) on domain 0
[2005-09-22 09:46:03 xend] DEBUG (XendDomainInfo:550)
XendDomainInfo.update done on domain 0: {'paused': 0, 'shutdown': 0,
'backend': [], 'dying': 0, 'maxmem_KiB': 1073741824, 'cpu_weight':
1.0, 'restart_mode': 'onreboot', 'blocked': 0, 'shutdown_reason': 0,
'crashed': 0, 'running': 1, 'device': [], 'cpumap': [-1, -1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [0, 1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time': 15149955096L,
'ssidref': 0, 'memory_KiB': 93184, 'name': 'Domain-0', 'dom': 0,
'vcpus': 2}
[2005-09-22 09:46:19 xend] DEBUG (XendDomainInfo:143)
XendDomainInfo.create(/domain, ...)
[2005-09-22 09:46:19 xend] DEBUG (XendDomainInfo:210) parseConfig:
config is ['vm', ['name', 'ubuntu'], ['memory', '96'], ['ssidref',
'0'], ['image', ['linux', ['kernel', '/boot/vmlinuzU'], ['root',
'/dev/hda1'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']]],
['device', ['vbd', ['uname', 'file:/var/tmp/ubuntu.img'], ['dev',
'hda1'], ['mode', 'w']]], ['device', ['vif', ['mac',
'aa:00:00:00:00:11'], ['bridge', 'xen-br0']]]]
[2005-09-22 09:46:19 xend] DEBUG (XendDomainInfo:250) parseConfig:
result is {'ssidref': 0, 'name': 'ubuntu', 'image': ['linux',
['kernel', '/boot/vmlinuzU'], ['root', '/dev/hda1'], ['vcpus', '1'],
['vcpus', '1'], ['boot', 'c']], 'memory': 96, 'maxmem_kb': None,
'backend': [], 'vcpus': 1, 'cpu_weight': None, 'mem_kb': None,
'device': [('vbd', ['vbd', ['uname', 'file:/var/tmp/ubuntu.img'],
['dev', 'hda1'], ['mode', 'w']]), ('vif', ['vif', ['mac',
'aa:00:00:00:00:11'], ['bridge', 'xen-br0']])], 'restart_mode': None,
'bootloader': None, 'cpu': None, 'maxmem': None}
[2005-09-22 09:46:19 xend] DEBUG (XendDomainInfo:712)
XendDomainInfo.construct: calling initDomain(None 98304 0 None 1.0)
[2005-09-22 09:46:19 xend] DEBUG (XendDomainInfo:802) XendDomainInfo.destroy
[2005-09-22 09:46:19 xend] DEBUG (XendDomainInfo:458) Storing
{'xend/state': 'terminated', 'memory_KiB': '98304', 'uuid':
'4148da2c-bb0b-4afe-8585-aa8256ae5374', 'bootloader': 'None', 'image':
"['linux', ['kernel', '/boot/vmlinuzU'], ['root', '/dev/hda1'],
['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']]", 'cpu': 'None',
'maxmem_KiB': '1073741824', 'memory/target': '98304', 'domid': 'None',
'name': 'ubuntu', 'xend/restart_count': '0', 'xend/restart_mode':
'onreboot', 'restart_time': 'None', 'restart_mode': 'onreboot',
'device': "[('vbd', ['vbd', ['uname', 'file:/var/tmp/ubuntu.img'],
['dev', 'hda1'], ['mode', 'w']]), ('vif', ['vif', ['mac',
'aa:00:00:00:00:11'], ['bridge', 'xen-br0']])]", 'cpu_weight': '1.0',
'cpumap': '[1]', 'backend': '[]', 'vcpus': '1', 'ssidref': '0'}

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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