From: Hans-Christian Armingeon Subject: Re: xen and latency - sending faxes via capi (fritzcard USBin domU) Date: Sun, 5 Nov 2006 17:49:11 +0100 Message-ID: <200611051749.14198.mog.johnny@gmx.net> References: <200611031907.08494.mog.johnny@gmx.net> <200611051614.47848.mog.johnny@gmx.net> <8A87A9A84C201449A0C56B728ACF491E01F71F@liverpoolst.ad.cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_KYhTF2azAvi9ChQ" Return-path: In-Reply-To: <8A87A9A84C201449A0C56B728ACF491E01F71F@liverpoolst.ad.cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-00=_KYhTF2azAvi9ChQ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Am Sonntag, 5. November 2006 17:33 schrieb Ian Pratt: > > I tried to upgrade xen, but it doesn't accept the PCI device option, > as I'm > > writing in "[Xen-users] pciback: Error: too many values to unpack". Do > you > > have any ideas, what changed? > > > > I would like to update the xen system, but the pci passthrough is > cruical. > > Which cset are you using? What version were you using before? xen_changeset : Thu Oct 12 15:28:59 2006 +0100 11748:af1aa35265eb is working with this config. the current doesn't. #usb pci = [ '0000:03:00.0', '0000:03:00.1' ] Full config attached. > What syntax are you using in the config file? Please post the error log > from /var/log/xen* xend.log: Traceback (most recent call last): File "/data/src/xen/build/xen-unstable.hg-3.0-20061104.2/debian/xen-unstable.hg-3.0/usr/lib/python/xen/util/xmlrpclib2.py", line 179, in _marshaled_dispatch File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch return func(*params) File "/data/src/xen/build/xen-unstable.hg-3.0-20061104.2/debian/xen-unstable.hg-3.0/usr/lib/python/xen/xend/server/XMLRPCServer.py", line 64, in domain_create File "/data/src/xen/build/xen-unstable.hg-3.0-20061104.2/debian/xen-unstable.hg-3.0/usr/lib/python/xen/xend/XendDomain.py", line 768, in domain_create File "/data/src/xen/build/xen-unstable.hg-3.0-20061104.2/debian/xen-unstable.hg-3.0/usr/lib/python/xen/xend/XendDomainInfo.py", line 147, in create File "/data/src/xen/build/xen-unstable.hg-3.0-20061104.2/debian/xen-unstable.hg-3.0/usr/lib/python/xen/xend/XendConfig.py", line 285, in __init__ File "/data/src/xen/build/xen-unstable.hg-3.0-20061104.2/debian/xen-unstable.hg-3.0/usr/lib/python/xen/xend/XendConfig.py", line 455, in _populate_from_sxp ValueError: too many values to unpack [2006-11-05 17:44:57 xend.XendDomainInfo 3181] DEBUG (XendDomainInfo:146) XendDomainInfo.create(['vm', ['name', 'themisto'], ['memory', 256], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel', '/boot/vmlinuz-nosmp-xenU'], ['ramdisk', '/boot/initrd.img-nosmp-xenU'], ['ip', '192.168.5.59:1.2.3.4:192.168.5.15:255.255.255.0::eth0:off'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'phy:promotheus500g/themisto-xenU-root'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:promotheus500g/themisto-xenU-swap'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:promotheus500g/modules'], ['dev', 'hda1'], ['mode', 'r']]], ['device', ['pci', ['dev', ['domain', '0x0'], ['bus', '0x03'], ['slot', '0x00'], ['func', '0x0']]]], [' device', ['vif', ['bridge', 'xenbr0'], ['mac', '00:0c:8d:00:0a:10']]]]) [2006-11-05 17:44:57 xend 3181] DEBUG (XendConfig:457) XendConfig: reading device: {'uname': 'phy:promotheus500g/themisto-xenU-root', 'mode': 'w', 'dev': 'sda1'} [2006-11-05 17:44:57 xend 3181] DEBUG (XendConfig:457) XendConfig: reading device: {'uname': 'phy:promotheus500g/themisto-xenU-swap', 'mode': 'w', 'dev': 'sda2'} [2006-11-05 17:44:57 xend 3181] DEBUG (XendConfig:457) XendConfig: reading device: {'uname': 'phy:promotheus500g/modules', 'mode': 'r', 'dev': 'hda1'} [2006-11-05 17:44:57 xend 3181] ERROR (xmlrpclib2:200) too many values to unpack Traceback (most recent call last): File "/data/src/xen/build/xen-unstable.hg-3.0-20061104.2/debian/xen-unstable.hg-3.0/usr/lib/python/xen/util/xmlrpclib2.py", line 179, in _marshaled_dispatch File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch return func(*params) File "/data/src/xen/build/xen-unstable.hg-3.0-20061104.2/debian/xen-unstable.hg-3.0/usr/lib/python/xen/xend/server/XMLRPCServer.py", line 64, in domain_create File "/data/src/xen/build/xen-unstable.hg-3.0-20061104.2/debian/xen-unstable.hg-3.0/usr/lib/python/xen/xend/XendDomain.py", line 768, in domain_create File "/data/src/xen/build/xen-unstable.hg-3.0-20061104.2/debian/xen-unstable.hg-3.0/usr/lib/python/xen/xend/XendDomainInfo.py", line 147, in create File "/data/src/xen/build/xen-unstable.hg-3.0-20061104.2/debian/xen-unstable.hg-3.0/usr/lib/python/xen/xend/XendConfig.py", line 285, in __init__ File "/data/src/xen/build/xen-unstable.hg-3.0-20061104.2/debian/xen-unstable.hg-3.0/usr/lib/python/xen/xend/XendConfig.py", line 455, in _populate_from_sxp ValueError: too many values to unpack xen-hotplug.log: Nothing to flush. Well, I'm using a script, that adjusts the weighs of all domains. I had the fax domain at 4096, and the next impoortant system at 256. I set the priority now to 65000 of the fax domain. > > Ian > > Thank you for your help, in sorting out this issue, Johnny --Boundary-00=_KYhTF2azAvi9ChQ Content-Type: text/plain; charset="iso-8859-1"; name="themisto" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="themisto" kernel = "/boot/vmlinuz-nosmp-xenU" ramdisk = "/boot/initrd.img-nosmp-xenU" #kernel = "/boot/vmlinuz-2.6.16.27-20060911-xen" #ramdisk = "/boot/initrd.img-2.6.16.27-20060911-xen" #kernel = "/boot/vmlinuz-2.6.16.28-20060913-nosmp-xen" #ramdisk = "/boot/initrd.img-2.6.16.28-20060913-nosmp-xen" #pci = [ '0000:03:00.0' ] #usb #pci = [ '0000:03:00.0', '0000:03:00.1' ] pci = [ '03:00.0' ] #fcpci #pci = [ '0000:02:03.0' ] #usb fcpci #pci = [ '0000:02:03.0', '0000:03:00.0', '0000:03:00.1' ] memory = 256 name = "themisto" #cpus = "0-1" #vcpus = 2 vif = [ 'mac=00:0c:8d:00:0a:10,bridge=xenbr0' ] disk = [ 'phy:promotheus500g/themisto-xenU-root,sda1,w', 'phy:promotheus500g/themisto-xenU-swap,sda2,w', 'phy:promotheus500g/modules,hda1,r' ] #dhcp="dhcp" ip="192.168.5.59" netmask="255.255.255.0" gateway="192.168.5.15" #hostname= "vm%d" % vmid root = "/dev/sda1 ro" # Sets runlevel 4. #extra = "4" #extra = "swiotlb=force noirqdebug" #extra = "swiotlb=force" on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' --Boundary-00=_KYhTF2azAvi9ChQ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_KYhTF2azAvi9ChQ--