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-devel

Re: [Xen-devel] xen.lowlevel.xu.PortError: Failed to map domain control

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] xen.lowlevel.xu.PortError: Failed to map domain control interface
From: Edward Middleton <edward@xxxxxxxxxxxxxxx>
Date: Thu, 24 Mar 2005 11:12:41 +0900
Delivery-date: Thu, 24 Mar 2005 02:14:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D1E37AB@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organization: Nikon Systems Inc.
References: <A95E2296287EAD4EB592B5DEEFCE0E9D1E37AB@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)
Ian Pratt wrote:

Not enough info in that log to debug things.

Was the failed domain still shown as present on xm list? If you were
running a debug build (with a serial line), we'd be able to find out
more.

I am getting the same with the latest 2.0.5. I restarted nps1 domain form a console and that worked, then I tried to restart the dns domain from a console and it hung after the "Restarting system." message.

# xm shutdown dns
Error: Internal Server Error

# xm list
Name      Id        Mem(MB)   CPU    State     Time(s)   Console
Domain-0  0            123      0    r----     9522.8
dns       3              0      0    ---s-     5341.5      9603
nps1      2            127      0    -b---        7.5      9602

I have attached the xend-debug.log

Edward

recv_fe_driver_status> {'status': 1}

recv_fe_driver_status>

recv_fe_interface_connect {'tx_shmem_frame': 121893, 'rx_shmem_frame': 121892, 
'handle': 0}
VirqClient.virqReceived> 4
vif-bridge down vif=vif3.0 domain=dns mac=aa:00:00:10:00:1b bridge=br0
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/twisted/protocols/basic.py", line 229, 
in dataReceived
    return self.rawDataReceived(data)
  File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 1015, 
in rawDataReceived
    self.allContentReceived()
  File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 1006, 
in allContentReceived
    req.requestReceived(command, path, version)
  File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 557, 
in requestReceived
    self.process()
--- <exception caught here> ---
  File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 165, in 
process
    self.render(resrc)
  File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 172, in 
render
    body = resrc.render(self)
  File "/usr/lib/python2.3/site-packages/twisted/web/resource.py", line 201, in 
render
    return m(request)
  File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 197, in render_POST
    return self.perform(req)
  File "/usr/lib/python/xen/xend/server/SrvBase.py", line 103, in perform
    return self._perform(op, op_method, req)
  File "/usr/lib/python/xen/xend/server/SrvBase.py", line 109, in _perform
    return self._perform_err(err, op, req)
  File "/usr/lib/python/xen/xend/server/SrvBase.py", line 107, in _perform
    val = op_method(op, req)
  File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 52, in op_shutdown
    val = fn(req.args, {'dom': self.dom.id})
  File "/usr/lib/python/xen/xend/Args.py", line 140, in __call__
    return self.call_with_form_args(self.fn, fargs, xargs=xargs)
  File "/usr/lib/python/xen/xend/Args.py", line 116, in call_with_form_args
    return fn(*params, **keys)
  File "/usr/lib/python/xen/xend/XendDomain.py", line 477, in domain_shutdown
    val = xend.domain_shutdown(dominfo.id, reason, key)
  File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 721, in 
domain_shutdown
    ctrl = self.domainCF.getController(dom)
  File "/usr/lib/python/xen/xend/server/controller.py", line 323, in 
getController
    ctrl = self.createController(dom)
  File "/usr/lib/python/xen/xend/server/domain.py", line 20, in createController
    return DomainController(self, dom)
  File "/usr/lib/python/xen/xend/server/domain.py", line 38, in __init__
    self.registerChannel()
  File "/usr/lib/python/xen/xend/server/controller.py", line 220, in 
registerChannel
    self.channel = self.channelFactory.domChannel(self.dom)
  File "/usr/lib/python/xen/xend/server/channel.py", line 59, in domChannel
    remote_port=remote_port)
  File "/usr/lib/python/xen/xend/server/channel.py", line 229, in __init__
    remote_port=remote_port)
  File "/usr/lib/python/xen/xend/server/channel.py", line 113, in createPort
    remote_port=int(remote_port))
xen.lowlevel.xu.PortError: Failed to map domain control interface
/usr/lib/python2.3/site-packages/twisted/web/util.py:290: FutureWarning: 
hex()/oct() of negative int will return a signed string in Python 2.4 and up
  return '''<div class="instance"><span class="instanceName">%s instance @ 
%s</span>
/usr/lib/python2.3/site-packages/twisted/web/util.py:266: FutureWarning: 
hex()/oct() of negative int will return a signed string in Python 2.4 and up
  w('<div class="dict"><span class="heading">Dictionary instance @ %s</span>' % 
hex(id(d)))
/usr/lib/python2.3/site-packages/twisted/web/util.py:279: FutureWarning: 
hex()/oct() of negative int will return a signed string in Python 2.4 and up
  w('<div class="list"><span class="heading">List instance @ %s</span>' % 
hex(id(l)))
n/xend/server/SrvDomain.py", line 52, in op_shutdown
    val = fn(req.args, {'dom': self.dom.id})
  File "/usr/lib/python2.3/site-packages/xen/xend/Args.py", line 140, in 
__call__
    return self.call_with_form_args(self.fn, fargs, xargs=xargs)
  File "/usr/lib/python2.3/site-packages/xen/xend/Args.py", line 116, in 
call_with_form_args
    return fn(*params, **keys)
  File "/usr/lib/python2.3/site-packages/xen/xend/XendDomain.py", line 477, in 
domain_shutdown
    val = xend.domain_shutdown(dominfo.id, reason, key)
  File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line 
718, in domain_shutdown
    ctrl = self.domainCF.getController(dom)
  File "/usr/lib/python2.3/site-packages/xen/xend/server/controller.py", line 
323, in getController
    ctrl = self.createController(dom)
  File "/usr/lib/python2.3/site-packages/xen/xend/server/domain.py", line 20, 
in createController
    return DomainController(self, dom)
  File "/usr/lib/python2.3/site-packages/xen/xend/server/domain.py", line 38, 
in __init__
    self.registerChannel()
  File "/usr/lib/python2.3/site-packages/xen/xend/server/controller.py", line 
220, in registerChannel
    self.channel = self.channelFactory.domChannel(self.dom)
  File "/usr/lib/python2.3/site-packages/xen/xend/server/channel.py", line 59, 
in domChannel
    remote_port=remote_port)
  File "/usr/lib/python2.3/site-packages/xen/xend/server/channel.py", line 229, 
in __init__
    remote_port=remote_port)
  File "/usr/lib/python2.3/site-packages/xen/xend/server/channel.py", line 113, 
in createPort
    remote_port=int(remote_port))
xen.lowlevel.xu.PortError: Failed to map domain control interface

Attachment: edward.vcf
Description: Vcard