From: Patrick Scharrenberg <pittipatti@web.de>
To: xen-devel@lists.xensource.com
Subject: xend pciback-config-parsing broken
Date: Mon, 13 Nov 2006 20:17:33 +0100 [thread overview]
Message-ID: <4558C4CD.9050807@web.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
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
[-- Attachment #2: xend.log --]
[-- Type: text/plain, Size: 3127 bytes --]
[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
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2006-11-13 19:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-13 19:17 Patrick Scharrenberg [this message]
2006-11-13 23:08 ` xend pciback-config-parsing broken Hans-Christian Armingeon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4558C4CD.9050807@web.de \
--to=pittipatti@web.de \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.