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 1336] New: Wrong exception-format-string in config-parse

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1336] New: Wrong exception-format-string in config-parser or pci-passthrough
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Thu, 28 Aug 2008 10:55:04 -0700
Delivery-date: Thu, 28 Aug 2008 10:55:14 -0700
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=1336

           Summary: Wrong exception-format-string in config-parser or pci-
                    passthrough
           Product: Xen
           Version: unstable
          Platform: x86-64
        OS/Version: Windows
            Status: NEW
          Severity: minor
          Priority: P4
         Component: Hardware Support
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: Patrick.Neumann@xxxxxx


Exception call seems to be wrong:

/usr/lib64/python/xen/xend/server/pciif.py:
    raise VmError("pci: %: non-page-aligned MMIO BAR found." % dev.name)

Results in this error-text:
ValueError: unsupported format character ':' (0x3a) at index 6


I used an pci device for pass-through that seems not capable. The error text is
lost because the format string of the exception text is wrong. 



[2008-08-28 19:24:41 4744] INFO (__init__:1072) NO quirks found for PCI device
[8086:1229:8086:0040]
[2008-08-28 19:24:41 4744] DEBUG (__init__:1072) Permissive mode NOT enabled
for PCI device [8086:1229:8086:0040]
[2008-08-28 19:24:41 4744] DEBUG (__init__:1072) pci: assign device 4:2.0
[2008-08-28 19:24:41 4744] DEBUG (__init__:1072) pci: enabling ioport
0xe800/0x40
[2008-08-28 19:24:41 4744] DEBUG (__init__:1072) pci: enabling iomem
0xfebff000/0x1000 pfn 0xfebff/0x1
[2008-08-28 19:24:41 4744] DEBUG (__init__:1072) pci: enabling iomem
0xfebc0000/0x20000 pfn 0xfebc0/0x20
[2008-08-28 19:24:41 4744] DEBUG (__init__:1072) pci: enabling iomem
0xe0000000/0x10000 pfn 0xe0000/0x10
[2008-08-28 19:24:41 4744] DEBUG (__init__:1072) pci: enabling irq 17
[2008-08-28 19:24:41 4744] ERROR (__init__:1072) VM start failed
Traceback (most recent call last):
  File
"/home/patrick/xen-3.3.0/dist/install/usr/lib64/python/xen/xend/XendDomainInfo.py",
line 425, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File
"/home/patrick/xen-3.3.0/dist/install/usr/lib64/python/xen/xend/XendTask.py",
line 209, in log_progress
    retval = func(*args, **kwds)
  File
"/home/patrick/xen-3.3.0/dist/install/usr/lib64/python/xen/xend/XendDomainInfo.py",
line 2256, in _initDomain
    self._createDevices()
  File
"/home/patrick/xen-3.3.0/dist/install/usr/lib64/python/xen/xend/XendDomainInfo.py",
line 1902, in _createDevices
    devid = self._createDevice(devclass, config)
  File
"/home/patrick/xen-3.3.0/dist/install/usr/lib64/python/xen/xend/XendDomainInfo.py",
line 1869, in _createDevice
    return self.getDeviceController(deviceClass).createDevice(devConfig)
  File
"/home/patrick/xen-3.3.0/dist/install/usr/lib64/python/xen/xend/server/DevController.py",
line 94, in createDevice
    self.setupDevice(config)
  File
"/home/patrick/xen-3.3.0/dist/install/usr/lib64/python/xen/xend/server/pciif.py",
line 431, in setupDevice
    self.setupOneDevice(domain, bus, slot, func)
  File
"/home/patrick/xen-3.3.0/dist/install/usr/lib64/python/xen/xend/server/pciif.py",
line 289, in setupOneDevice
    raise VmError("pci: %: non-page-aligned MMIO BAR found." % dev.name)
ValueError: unsupported format character ':' (0x3a) at index 6


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