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

[Xen-devel] xend pciback-config-parsing broken

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xend pciback-config-parsing broken
From: Patrick Scharrenberg <pittipatti@xxxxxx>
Date: Mon, 13 Nov 2006 20:17:33 +0100
Delivery-date: Mon, 13 Nov 2006 11:17:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)
Hi!

parsing for the "pci" parameter for pciback is broken and returns "too
many values to unpack" - errormessage
this error occurs since cs 12070

Tried as command line parameter

    xm create <cfg> pci=00:10.1

and as option in config file itself

    pci= [ '00:10.1']


Please see attached xend.log for backtrace captured from a cs 12392

Patrick

[2006-11-13 19:46:32 xend.XendDomainInfo 2931] DEBUG (__init__:1072) 
XendDomainInfo.create(['vm', ['name', 'atlantis'], ['memory', 256], ['vcpus', 
1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', 
['linux', ['kernel', '/boot/vmlinuz-2.6.16.29-xen0'], ['root', '/dev/xvda2 
ro'], ['args', 'S']]], ['device', ['vbd', ['uname', 'phy:/dev/sdb2'], ['dev', 
'xvda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 
'phy:/dev/storage/atlantis-sarge'], ['dev', 'xvda2'], ['mode', 'w']]], 
['device', ['vbd', ['uname', 'phy:/dev/storage/home'], ['dev', 'xvda3'], 
['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/storage/scratch'], 
['dev', 'xvda4'], ['mode', 'w']]], ['device', ['vbd', ['uname', 
'phy:/dev/storage/srv'], ['dev', 'xvda5'], ['mode', 'w']]], ['device', ['vbd', 
['uname', 'phy:/dev/storage/data-random'], ['dev', 'xvda15'], ['mode', 'w']]], 
['device', ['pci', ['dev', ['domain', '0x0'], ['bus', '0x00'], ['slot', 
'0x10'], ['func', '0x0']]]], ['device', ['vif', ['mac', 'FE:FF:FF:FF:FF:01']]]])
[2006-11-13 19:46:32 xend 2931] DEBUG (__init__:1072) XendConfig: reading 
device: {'uname': 'phy:/dev/sdb2', 'mode': 'w', 'dev': 'xvda1'}
[2006-11-13 19:46:32 xend 2931] DEBUG (__init__:1072) XendConfig: reading 
device: {'uname': 'phy:/dev/storage/atlantis-sarge', 'mode': 'w', 'dev': 
'xvda2'}
[2006-11-13 19:46:32 xend 2931] DEBUG (__init__:1072) XendConfig: reading 
device: {'uname': 'phy:/dev/storage/home', 'mode': 'w', 'dev': 'xvda3'}
[2006-11-13 19:46:32 xend 2931] DEBUG (__init__:1072) XendConfig: reading 
device: {'uname': 'phy:/dev/storage/scratch', 'mode': 'w', 'dev': 'xvda4'}
[2006-11-13 19:46:32 xend 2931] DEBUG (__init__:1072) XendConfig: reading 
device: {'uname': 'phy:/dev/storage/srv', 'mode': 'w', 'dev': 'xvda5'}
[2006-11-13 19:46:32 xend 2931] DEBUG (__init__:1072) XendConfig: reading 
device: {'uname': 'phy:/dev/storage/data-random', 'mode': 'w', 'dev': 'xvda15'}
[2006-11-13 19:46:32 xend 2931] ERROR (__init__:1072) too many values to unpack
Traceback (most recent call last):
  File 
"/usr/src/xen/xen-unstable/dist/install/usr/lib/python/xen/util/xmlrpclib2.py", 
line 179, in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "SimpleXMLRPCServer.py", line 406, in _dispatch
    return func(*params)
  File 
"/usr/src/xen/xen-unstable/dist/install/usr/lib/python/xen/xend/server/XMLRPCServer.py",
 line 64, in domain_create
    info = XendDomain.instance().domain_create(config)
  File 
"/usr/src/xen/xen-unstable/dist/install/usr/lib/python/xen/xend/XendDomain.py", 
line 802, in domain_create
    dominfo = XendDomainInfo.create(config)
  File 
"/usr/src/xen/xen-unstable/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
 line 148, in create
    vm = XendDomainInfo(XendConfig(sxp = config))
  File 
"/usr/src/xen/xen-unstable/dist/install/usr/lib/python/xen/xend/XendConfig.py", 
line 285, in __init__
    cfg = self._populate_from_sxp(sxp)
  File 
"/usr/src/xen/xen-unstable/dist/install/usr/lib/python/xen/xend/XendConfig.py", 
line 455, in _populate_from_sxp
    for opt, val in config[1:]:
ValueError: too many values to unpack
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>