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

[Xen-bugs] [Bug 1560] New: Fail to parse NUMA nodes information when cre

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1560] New: Fail to parse NUMA nodes information when create HVM guest
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Thu, 14 Jan 2010 08:27:02 -0800
Delivery-date: Thu, 14 Jan 2010 08:27:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1560

           Summary: Fail to parse NUMA nodes information when create HVM
                    guest
           Product: Xen
           Version: unstable
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Hypervisor
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: jiajun.xu@xxxxxxxxx


Environment:
------------
Service Arch (ia32/ia32e/IA64): 
Guest Arch (ia32/ia32e/IA64): 
Guest OS Type (Linux/Windows):
Change Set: 20749:bb34d8e578d2
Hardware: NHM-EX
Other:
pvops dom0 60e0545e9649b08dd8ef5f2b991930049c40537e


Bug detailed description:
--------------------------
THis is NHM-EX Specific issue, it does not happend on other machine. 

when I create a HVM guest, I meet a python error. 

[root@localhost ~]# xm cr xmexample.hvm 
Using config file "./xmexample.hvm".
Error: integer division or modulo by zero



Reproduce steps:
----------------
1.
2.
3.

Current result:
----------------


Expected result:
----------------


Basic root-causing log:
----------------------
[2009-12-30 21:54:02 7638] INFO (image:822) Need to create platform
device.[domid:1]
[2009-12-30 21:54:02 7638] ERROR (XendDomainInfo:474) VM start failed
Traceback (most recent call last):
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
460, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendTask.py", line 209, in
log_progress
    retval = func(*args, **kwds)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
2769, in _initDomain
    node = self._setCPUAffinity()
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
2689, in _setCPUAffinity
    best_node = find_relaxed_node(candidate_node_list)[0]
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
2676, in find_relaxed_node
    nodeload[i] = int(nodeload[i] * 16 / len(info['node_to_cpu'][i]))
ZeroDivisionError: integer division or modulo by zero
[2009-12-30 21:54:02 7638] DEBUG (XendDomainInfo:2994) XendDomainInfo.destroy:
domid=1
[2009-12-30 21:54:03 7638] DEBUG (XendDomainInfo:2353) Destroying device model
[2009-12-30 21:54:03 7638] ERROR (XendDomainInfo:2356) Device model destroy
failed X86_HVM_ImageHandler instance has no attribute 'sentinel_lock'
Traceback (most recent call last):
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
2354, in _releaseDevices
    self.image.destroyDeviceModel()
  File "usr/lib64/python2.4/site-packages/xen/xend/image.py", line 621, in
destroyDeviceModel
    self.sentinel_lock.acquire()
AttributeError: X86_HVM_ImageHandler instance has no attribute 'sentinel_lock'
[2009-12-30 21:54:03 7638] DEBUG (XendDomainInfo:2360) Releasing devices
[2009-12-30 21:54:03 7638] ERROR (XendDomainInfo:105) Domain construction
failed
Traceback (most recent call last):
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
103, in create
    vm.start()
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
460, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendTask.py", line 209, in
log_progress
    retval = func(*args, **kwds)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
2769, in _initDomain
    node = self._setCPUAffinity()
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
2689, in _setCPUAffinity
    best_node = find_relaxed_node(candidate_node_list)[0]
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
2676, in find_relaxed_node
    nodeload[i] = int(nodeload[i] * 16 / len(info['node_to_cpu'][i]))
ZeroDivisionError: integer division or modulo by zero
[2009-12-30 21:54:03 7638] ERROR (xmlrpclib2:178) Internal error handling
xend.domain.create
Traceback (most recent call last):
  File "usr/lib64/python2.4/site-packages/xen/util/xmlrpclib2.py", line 131, in
_marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/lib64/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
    return func(*params)
  File "usr/lib64/python2.4/site-packages/xen/xend/server/XMLRPCServer.py",
line 79, in domain_create
    info = XendDomain.instance().domain_create(config)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 982, in
domain_create
    dominfo = XendDomainInfo.create(config)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
103, in create
    vm.start()
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
460, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendTask.py", line 209, in
log_progress
    retval = func(*args, **kwds)
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
2769, in _initDomain
    node = self._setCPUAffinity()
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
2689, in _setCPUAffinity
    best_node = find_relaxed_node(candidate_node_list)[0]
  File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
2676, in find_relaxed_node
    nodeload[i] = int(nodeload[i] * 16 / len(info['node_to_cpu'][i]))
ZeroDivisionError: integer division or modulo by zero


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

<Prev in Thread] Current Thread [Next in Thread>