[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: how to get a scsi tape device to work with xen 3.3.1


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Sabuj Pattanayek <sabujp@xxxxxxxxx>
  • Date: Wed, 11 Feb 2009 23:57:14 -0600
  • Delivery-date: Wed, 11 Feb 2009 21:58:36 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=PHqab/XaE1yp6NmQmzEh/VFfMwkAMhw6ZOwXqhYwJf3TGiBnHaCIxpxrD89d99zJ8d SOpmQ7hYE8qXSdqYC0T5B0PXxp2evVtcOkd6Q8xZgKmgbjZV69SQ84vHweBtFKG2LqrQ rZ8WNuSdCWdxemK58ZLkmV6H30h3PlhR/eYUk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

> 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.