I've compiled and installed xen-unstable, but when launching xend I
get the following error (although xend seems to start):
[2011-07-08 21:11:04 136] INFO (SrvDaemon:336) Xend changeset: Thu Jul
07 12:35:05 2011 +0100 23658:21ff10d9a617.
[2011-07-08 21:11:04 136] DEBUG (tcp:96) Listening on :8002
[2011-07-08 21:11:04 136] ERROR (SrvDaemon:349) Exception starting
xend (argument 2 to map() must support iteration)
Traceback (most recent call last):
File "/usr/xen42/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.py",
line 341, in run
servers = SrvServer.create()
File "/usr/xen42/lib/python2.6/site-packages/xen/xend/server/SrvServer.py",
line 258, in create
root.putChild('xend', SrvRoot())
File "/usr/xen42/lib/python2.6/site-packages/xen/xend/server/SrvRoot.py",
line 40, in __init__
self.get(name)
File "/usr/xen42/lib/python2.6/site-packages/xen/web/SrvDir.py",
line 84, in get
val = val.getobj()
File "/usr/xen42/lib/python2.6/site-packages/xen/web/SrvDir.py",
line 52, in getobj
self.obj = klassobj()
File "/usr/xen42/lib/python2.6/site-packages/xen/xend/server/SrvNode.py",
line 30, in __init__
self.xn = XendNode.instance()
File "/usr/xen42/lib/python2.6/site-packages/xen/xend/XendNode.py",
line 1181, in instance
inst = XendNode()
File "/usr/xen42/lib/python2.6/site-packages/xen/xend/XendNode.py",
line 159, in __init__
self._init_PPCIs()
File "/usr/xen42/lib/python2.6/site-packages/xen/xend/XendNode.py",
line 282, in _init_PPCIs
for pci_dev in PciUtil.get_all_pci_devices():
File "/usr/xen42/lib/python2.6/site-packages/xen/util/pci.py", line
475, in get_all_pci_devices
return map(PciDevice, get_all_pci_dict())
File "/usr/xen42/lib/python2.6/site-packages/xen/util/pci.py", line
472, in get_all_pci_dict
return map(parse_pci_name, get_all_pci_names())
TypeError: argument 2 to map() must support iteration
Then when trying to start a domu with xm:
Error: Unable to connect to xend: No such file or directory. Is xend running?
Although I see this in ps aux:
root 136 0.0 2.7 125728 14144 ? Il 9:11PM 0:00.13
/usr/pkg/bin/python2.6 /usr/xen42/sbin/xend start
root 231 0.0 1.0 116512 5104 ? I 9:11PM 0:00.01
/usr/pkg/bin/python2.6 /usr/xen42/sbin/xend start
Thanks for the help, Roger.
2011/7/8 Roger Pau Monné <roger.pau@xxxxxxxxxxxxx>:
> Sorry, I've cloned the repo yesterday. I have another question, but I
> don't know if I should post it in another thread. During compilation
> of tools, I get:
>
> AR i386-dm/libqemu.a
> LINK i386-dm/qemu-dm
> ld: cannot find -lblktap
> gmake[4]: *** [qemu-dm] Error 1
> gmake[4]: Leaving directory
> `/root/xen/xen-unstable.hg/tools/ioemu-remote/i386-dm'
> gmake[3]: *** [subdir-i386-dm] Error 2
> gmake[3]: Leaving directory `/root/xen/xen-unstable.hg/tools/ioemu-remote'
> gmake[2]: *** [subdir-install-ioemu-dir] Error 2
> gmake[2]: Leaving directory `/root/xen/xen-unstable.hg/tools'
> gmake[1]: *** [subdirs-install] Error 2
> gmake[1]: Leaving directory `/root/xen/xen-unstable.hg/tools'
> gmake: *** [install-tools] Error 2
>
> Becasue the blktap driver for NetBSD is not added in the Xen
> repository, but blktap2 has support for NetBSD (well, at least there
> seems to be some NetBSD specific files in the drivers folder). Is it
> possible to replace blktap with blktap2 during the build of qemu, so I
> don't need to add blk_netbsd.c and blktapctrl_netbsd.c to
> tools/blktap/drivers/ manually?
>
> Thanks, Roger.
>
> 2011/7/8 Keir Fraser <keir.xen@xxxxxxxxx>:
>> On 08/07/2011 08:51, "Roger Pau Monné" <roger.pau@xxxxxxxxxxxxx> wrote:
>>
>>> I don't know if this has anything to do with the patches I've applied
>>> from Xen41, I will try to clone the repo again and post the problems
>>> encountered during compiling, to try to fix them independently.
>>
>> Update your xen-unstable tree. This bug is fixed.
>>
>> -- Keir
>>
>>
>>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|