Bug with Xen and Nvidia Optimus cards
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xen (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The following error occurs when starting Xen with Nvidia Optimus graphics cards:
ERROR (SrvDaemon:349) Exception starting xend (Looped capability chain: 0000:01:00.0)
Traceback (most recent call last):
File "/usr/lib/
servers = SrvServer.create()
File "/usr/lib/
root.
File "/usr/lib/
self.get(name)
File "/usr/lib/
val = val.getobj()
File "/usr/lib/
self.obj = klassobj()
File "/usr/lib/
self.xn = XendNode.instance()
File "/usr/lib/
inst = XendNode()
File "/usr/lib/
self.
File "/usr/lib/
for pci_dev in PciUtil.
File "/usr/lib/
return map(PciDevice, get_all_pci_dict())
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
('Looped capability chain: %s' % self.name))
PciDeviceParseE
[2014-01-10 12:53:46 4486] INFO (SrvDaemon:220) Xend exited with status 1.
The following patch fixes the bug.
--- /root/pci.py 2012-03-31 16:36:52.633262092 +0100
+++ /usr/lib/
@@ -1266,7 +1266,12 @@
pass
def get_info_
- self.find_
+ try:
+ self.find_
+ except PciDeviceParseE
+ log.error("Caught '%s'" % err)
+ return False
+
sysfs_mnt = find_sysfs_mnt()
if sysfs_mnt == None:
return False
Details and the patch here (I am not the author):
http://
Originally found here:
https:/
Cheers!