> xm create PCI=${SLOT} /etc/xen/seabass
changed that to :
xm create pci=0000:01:01.0 /etc/xen/seabass
and tried to start it manually. I got the following in xend.log:
[2009-02-11 23:45:55 5647] ERROR (xmlrpclib2:178) Internal error
handling xend.domain.create
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line
131, in _marshaled_dispatch
response = self._dispatch(method, params)
File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
return func(*params)
File "/usr/lib/python2.4/site-packages/xen/xend/server/XMLRPCServer.py",
line 79, in domain_create
info = XendDomain.instance().domain_create(config)
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line
967, in domain_create
dominfo = XendDomainInfo.create(config)
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 92, in create
vm.start()
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 447, in start
XendTask.log_progress(31, 60, self._initDomain)
File "/usr/lib/python2.4/site-packages/xen/xend/XendTask.py", line
209, in log_progress
retval = func(*args, **kwds)
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 2268, in _initDomain
self._createDevices()
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1902, in _createDevices
devid = self._createDevice(devclass, config)
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1869, in _createDevice
return self.getDeviceController(deviceClass).createDevice(devConfig)
File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py",
line 94, in createDevice
self.setupDevice(config)
File "/usr/lib/python2.4/site-packages/xen/xend/server/pciif.py",
line 416, in setupDevice
devs_str = dev.find_coassigned_devices(True)
File "/usr/lib/python2.4/site-packages/xen/util/pci.py", line 465,
in find_coassigned_devices
dev = self.find_the_uppermost_pci_bridge()
File "/usr/lib/python2.4/site-packages/xen/util/pci.py", line 420,
in find_the_uppermost_pci_bridge
(dom, b, d, f) = self.find_parent()
TypeError: unpack non-sequence
[root@virt4 ~]# xm create -n pci=0000:01:01.0 /etc/xen/seabass
Using config file "/etc/xen/seabass".
(vm
(name seabass)
(memory 512)
(maxmem 512)
(on_poweroff destroy)
(on_reboot restart)
(on_crash restart)
(vcpus 2)
(on_xend_start ignore)
(on_xend_stop ignore)
(uuid f137a596-566e-4a3c-a771-6596dad0c247)
(bootloader /usr/bin/pygrub)
(bootloader_args -q)
(image (linux))
(device
(tap
(uname tap:aio:/var/lib/xen/images/seabass.img)
(dev xvda)
(mode w)
)
)
(device (pci (dev (domain 0x0000) (bus 0x01) (slot 0x01) (func 0x0))))
(device (vif (bridge xenbr0) (mac 00:16:3e:36:15:d7)))
(device (vkbd))
(device
(vfb
(vncunused 1)
(keymap en-us)
(type vnc)
(xauthority /root/.Xauthority)
)
)
)
What's going on, is it not able to find the parent PCI-bridge? Here's
the complete lspci:
[root@virt4 ~]# lspci
00:00.0 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset) (rev 32)
00:00.1 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset)
00:00.2 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset)
00:03.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:04.0 RAID bus controller: Compaq Computer Corporation Smart Array
5i/532 (rev 01)
00:05.0 System peripheral: Compaq Computer Corporation Integrated
Lights Out Controller (rev 01)
00:05.2 System peripheral: Compaq Computer Corporation Integrated
Lights Out Processor (rev 01)
00:0f.0 ISA bridge: Broadcom CSB5 South Bridge (rev 93)
00:0f.1 IDE interface: Broadcom CSB5 IDE Controller (rev 93)
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 05)
00:0f.3 Host bridge: Broadcom CSB5 LPC bridge
00:11.0 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 05)
00:11.2 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 05)
01:01.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02)
01:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703X
Gigabit Ethernet (rev 02)
04:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703X
Gigabit Ethernet (rev 02)
Thanks,
Sabuj Pattanayek
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|