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

Re: [Xen-devel] Re: Xen-unstable save error



On 06/21/2010 03:08 PM, Keir Fraser wrote:
On 21/06/2010 13:57, "Michal Novotny"<minovotn@xxxxxxxxxx>  wrote:

Well, those are objdumps:

$ objdump -x /xen-unstable.hg/tools/xcutils/xc_save | grep xs_sus
0000000000000000       F *UND*  00000000000000ad
xs_suspend_evtchn_port
$ objdump -x /usr/lib64/xen/bin/xc_save | grep xs_suspend
0000000000000000       F *UND*  00000000000000ad
xs_suspend_evtchn_port
$ ls -al /usr/lib64/libxenctrl.so
lrwxrwxrwx 1 root root 17 Jun 21 13:52 /usr/lib64/libxenctrl.so ->
libxenctrl.so.4.0

I was having some libxenctrl* files at /lib64 so I removed them in order
to make linked link those from /usr/lib64 so it did. However, the error
now is:
Well what was the above supposed to achieve? xs_suspend_evtchn_port is
provided by libxenstore. It's that library which is getting mis-linked.
Moving the xc_save binary itself, and/or libxenctrl, isn't going to change
that. Go use ldd to find what libxenstore is being linked against; work out
why it's the wrong one; put the right one in its place.

  -- Keir


Well, I was trying to show that the version that's being linked it the 4.0 version and not 3.4 or older one.

Also,
# ldd /usr/lib64/libxenctrl.so
        linux-vdso.so.1 =>  (0x00007fff275ff000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x000000391ec00000)
        libc.so.6 => /lib64/libc.so.6 (0x000000391e000000)
        /lib64/ld-linux-x86-64.so.2 (0x000000391dc00000)
# objdump -x /usr/lib64/libxenctrl.so | grep xs_
#

So there's no xs_suspend_evtchn_port (or anything xs_*) function being exported by /usr/lib64/libxenctrl.so (which is the symlink to /usr/lib64/libxenctrl.so.4.0.0), therefore:

#objdump -x /usr/lib64/libxenctrl.so.4.0.0 | grep xs_
#objdump -x /xen-unstable.hg/tools/libxc/libxenctrl.so.4.0.0  | grep xs_
#

So the problem here is the missing xs_*.

Note: /xen-unstable.hg/* is the path with Xen-4.1-unstable source codes downloaded from Mercurial and compiled.

Michal

--
Michal Novotny<minovotn@xxxxxxxxxx>, RHCE
Virtualization Team (xen userspace), Red Hat


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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