All of lore.kernel.org
 help / color / mirror / Atom feed
* xend pciback-config-parsing broken
@ 2006-11-13 19:17 Patrick Scharrenberg
  2006-11-13 23:08 ` Hans-Christian Armingeon
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Scharrenberg @ 2006-11-13 19:17 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: xend pciback-config-parsing broken
  2006-11-13 19:17 xend pciback-config-parsing broken Patrick Scharrenberg
@ 2006-11-13 23:08 ` Hans-Christian Armingeon
  0 siblings, 0 replies; 2+ messages in thread
From: Hans-Christian Armingeon @ 2006-11-13 23:08 UTC (permalink / raw)
  To: xen-devel

Hi,

I am having the same problem, described in the "[Xen-devel] xen and latency - sending faxes via capi (fritzcard USB in domU)" thread.

Johnny

Am Montag, 13. November 2006 20:17 schrieb Patrick Scharrenberg:
> 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
> 
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-13 23:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-13 19:17 xend pciback-config-parsing broken Patrick Scharrenberg
2006-11-13 23:08 ` Hans-Christian Armingeon

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.