[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: Wed, 21 Sep 2005 18:38:04 +0100
  • Delivery-date: Wed, 21 Sep 2005 17:35:58 +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=VHmyn8zBXqbqlttRm2QLXwTCFzmDT2nzcV8IyebwQPaN72iNhb2xpVLbzrsQTcsB+8MQ2hY9ztpMtTqYzQCs3Ns5dGmiMZ4x16SruVA5WOzOAzfT7WGCYrey0wGYbLiaGU9yWV6Wy3QkC8dEyuFzfbGjm6VJsCckN3f23o8Q3RA=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 21/09/05, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> 
> On 21 Sep 2005, at 15:46, Keir Fraser wrote:
> 
> >> I'm been struggling with this for a couple of days.. I'd assumed that
> >> there was just something wrong with my setup rather than a bug. I've
> >> seen the same PTE error. In trying to eliminate possible problems I've
> >> started using the nightly binary xen builds. So I'm using the binary
> >> precompiled hypervisor, dom0 and domU kernels.
> >
> > Yeah this is a subtle bug in every backend driver. I'll see about
> > making a patch.
> 
> Should now be fixed. (Also the 'unable to read memory/target' bug
> should also be gone.)

Looks like a new problem? Changeset 6897:

 # 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)
  File "/usr/lib/python2.3/logging/__init__.py", line 879, in debug
    apply(self._log, (DEBUG, msg, args), kwargs)
  File "/usr/lib/python2.3/logging/__init__.py", line 994, in _log
    self.handle(record)
  File "/usr/lib/python2.3/logging/__init__.py", line 1004, in handle
    self.callHandlers(record)
  File "/usr/lib/python2.3/logging/__init__.py", line 1037, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python2.3/logging/__init__.py", line 592, in handle
    self.emit(record)
  File "/usr/lib/python2.3/logging/handlers.py", line 102, in emit
    msg = "%s\n" % self.format(record)
  File "/usr/lib/python2.3/logging/__init__.py", line 567, in format
    return fmt.format(record)
  File "/usr/lib/python2.3/logging/__init__.py", line 362, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.3/logging/__init__.py", line 233, in getMessage
    msg = msg % self.args
TypeError: int argument required

xend.log:
[2005-09-21 18:35:24 xend] DEBUG (XendDomainInfo:143)
XendDomainInfo.create(/domain, ...)
[2005-09-21 18:35:24 xend] DEBUG (XendDomainInfo:210) parseConfig:
config is ['vm', ['name', 'ttylinux'], ['memory', '64'], ['ssidref',
'0'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['ip',
'1.2.3.4:1.2.3.4::::eth0:off'], ['root', '/dev/sda1 ro'], ['vcpus',
'1'], ['vcpus', '1'], ['boot', 'c']]], ['device', ['vbd', ['uname',
'file:/root/ttylinux-xen'], ['dev', 'sda1'], ['mode', 'w']]],
['device', ['vif', ['mac', 'aa:00:00:5e:22:5f']]]]
[2005-09-21 18:35:24 xend] DEBUG (XendDomainInfo:250) parseConfig:
result is {'ssidref': 0, 'name': 'ttylinux', 'image': ['linux',
['kernel', '/boot/vmlinuz-2.6-xenU'], ['ip',
'1.2.3.4:1.2.3.4::::eth0:off'], ['root', '/dev/sda1 ro'], ['vcpus',
'1'], ['vcpus', '1'], ['boot', 'c']], 'memory': 64, 'maxmem_kb': None,
'backend': [], 'vcpus': 1, 'cpu_weight': None, 'mem_kb': None,
'device': [('vbd', ['vbd', ['uname', 'file:/root/ttylinux-xen'],
['dev', 'sda1'], ['mode', 'w']]), ('vif', ['vif', ['mac',
'aa:00:00:5e:22:5f']])], 'restart_mode': None, 'bootloader': None,
'cpu': None, 'maxmem': None}
[2005-09-21 18:35:24 xend] DEBUG (XendDomainInfo:712)
XendDomainInfo.construct: calling initDomain(None 65536 0 None 1.0)
[2005-09-21 18:35:24 xend] DEBUG (XendDomainInfo:802) XendDomainInfo.destroy
[2005-09-21 18:35:24 xend] DEBUG (XendDomainInfo:458) Storing
{'xend/state': 'terminated', 'memory_KiB': '65536', 'uuid':
'f915ea65-5ced-4f09-91d6-bc9ee7567351', 'bootloader': 'None', 'image':
"['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['ip',
'1.2.3.4:1.2.3.4::::eth0:off'], ['root', '/dev/sda1 ro'], ['vcpus',
'1'], ['vcpus', '1'], ['boot', 'c']]", 'cpu': 'None', 'maxmem_KiB':
'1073741824', 'memory/target': '65536', 'domid': 'None', 'name':
'ttylinux', 'xend/restart_count': '0', 'xend/restart_mode':
'onreboot', 'restart_time': 'None', 'restart_mode': 'onreboot',
'device': "[('vbd', ['vbd', ['uname', 'file:/root/ttylinux-xen'],
['dev', 'sda1'], ['mode', 'w']]), ('vif', ['vif', ['mac',
'aa:00:00:5e:22:5f']])]", '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®.