Port-xen archive

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

Xen Unstable on NetBSD



Hello,
I'm trying to get xen-unstable running on NetBSD-current (version
5.99.52 because newer kernel 5.99.54 fails to boot under xen as dom0).
I was wondering if anybody has got any success in getting this to
work, I've applied the patches from xentools41, and the compilation
was successful, but xend doesn't start correctly (I haven't looked
into it closely, but looks like it fails to list PCI devices):
[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
And xl fails to run the bootloader (pygrub). I was wandering if anyone
is using it, and can give me some advice, I was trying to get unstable
to work to see if the xl console stuff was fixed, but it seems like
unstable need some more patching than just the xl console problem.
As a side note, I just saw that most patches regarding NetBSD are not
committed to the Xen repository, like the blktap drivers. Is there any
reason to not commit this modifications? I'm just asking because I
would like to try to get most of this patches added to mainstream Xen,
if the authors allow it.
Thanks, Roger.


Home | Main Index | Thread Index | Old Index

AltStyle によって変換されたページ (->オリジナル) /