Port-xen archive

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

Re: Xen 3.1 and current netbsd



On 6/3/11 4:02 PM, Jean-Yves Migeon wrote:
On 03.06.2011 10:03, Marcin M. Jessa wrote:
Then I tried to compile xen3.3 but it failed.
I managed to compile xentools3 but trying to start xend I got following
errors.

Don't mix different Xen revisions. Use xenkernel33 and xentools33, or
xenkernel3 and xentools3, nothing in between.

Alas, this won't help much there. Next.

I did not mix them. The thing is xentools33 and xenkernel33 did not compile at all on CURRENT.


I only found one reference on google saying apps should be linked with
libpthread when compilig but this does not help me much. Any idea how to
fix this so xen 3x can run on current netbsd?

# /etc/rc.d/xend start
Starting xend.
Traceback (most recent call last):
   File "/usr/local/sbin/xend", line 42, in<module>
     from xen.xend.server import SrvDaemon
   File
"/usr/local/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.py",
line 20, in<module>
     import xen.lowlevel.xc
ImportError: Cannot dlopen non-loadable /usr/lib/libpthread.so.1

Mixing a program with pthread support linked in while the other is not?

Could you send the ouput of

$ ldd $(which python2.6)
$ ldd .../lib/python2.6/site-packages/xen/lowlevel/xc.so

Please? Anything specific in your /etc/mk.conf, or modification that can
affect pkg build? Did you update the system without rebuilding certain
packages?

I rebuilt both python2.6 and xen on CURRENT along with other packages.


You should have these:

ldd $(which python2.6)
/usr/pkg/bin/python2.6:
         -lpython2.6.1.0 =>  /usr/pkg/lib/libpython2.6.so.1.0
         -lpthread.1 =>  /usr/lib/libpthread.so.1
         -lc.12 =>  /usr/lib/libc.so.12
         -lutil.7 =>  /usr/lib/libutil.so.7
         -lm.0 =>  /usr/lib/libm.so.0

$ ldd /usr/pkg/lib/python2.6/site-packages/xen/lowlevel/xc.so
/usr/pkg/lib/python2.6/site-packages/xen/lowlevel/xc.so:
         -lxenctrl.3.2 =>  /usr/pkg/lib/libxenctrl.so.3.2
         -lpthread.1 =>  /usr/lib/libpthread.so.1
         -lc.12 =>  /usr/lib/libc.so.12
         -lxenguest.3.2 =>  /usr/pkg/lib/libxenguest.so.3.2
         -lz.1 =>  /usr/lib/libz.so.1
         -lxenstore.3.0 =>  /usr/pkg/lib/libxenstore.so.3.0
         -lpython2.6.1.0 =>  /usr/pkg/lib/libpython2.6.so.1.0
         -lutil.7 =>  /usr/lib/libutil.so.7
         -lm.0 =>  /usr/lib/libm.so.0


I can't run tests anymore as xen4 does not work without ACPI in the kernel, which I use. And XEN3 wont work with CURRENT (not even compile).


Thanks,
Marcin


--

Marcin M. Jessa


Home | Main Index | Thread Index | Old Index