WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-cim

RE: [Xen-cim] Cmpilify odd behavior

To: <xen-cim@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-cim] Cmpilify odd behavior
From: "Szymanski, Lukasz K" <Lukasz.Szymanski@xxxxxxxxxx>
Date: Fri, 20 Jul 2007 16:14:20 -0400
Delivery-date: Fri, 20 Jul 2007 13:12:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <469F9017.8050108@xxxxxxxxxx>
List-help: <mailto:xen-cim-request@lists.xensource.com?subject=help>
List-id: xen-cim mailing list <xen-cim.lists.xensource.com>
List-post: <mailto:xen-cim@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-cim-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfKITqK+XIIR/3eTJig9deA2zzNyQA6HKCA
Thread-topic: [Xen-cim] Cmpilify odd behavior
Jim -

It turns out the odd behavior was simple to fix - all I needed was a
reinstall of the providers and a restart of the CIMOM a few times.  I
must have had an old copy of the library in memory.

In other news, the scripts you emailed me work with minimal tweaks using
the xm-test ramdisk. I should have a patch next week to incorporate a
very basic intrinsic script with the xm-test ramdisk set up.  Once we
know that works we can just keep building on it with future patches.

Luke

-----Original Message-----
Szymanski, Lukasz K wrote:
>
> Has anyone ever seen this, when looking at Xen_Memory through YAWN?
>
[snip]
>
> [1166059840] dlSharedLibraryLoader::loadSharedLibrary dlopen returned 
> NULL.  Error is: /usr/local/lib/cmpi/libXen_Memory.so: undefined
> symbol: CMPILIFYInstance_cleanup
>

That symbol should be in libXen_ProviderCommon.so.  Use "ldd
libXen_Memory.so" to see which libXen_ProviderCommon.so it is using. 
Maybe you have 2 installed and libXen_Memory.so is using the
pre-cmpilify one.  E.g on one of my test machines

klutina:/usr/local/lib64/cmpi # ldd libXen_Memory.so
        libXen_ProviderCommon.so.1 =>
/usr/local/lib64//cmpi/libXen_ProviderCommon.so.1 (0x00002b4a867c7000)
        libxenapi.so.1.0 => /usr/lib64/libxenapi.so.1.0
(0x00002b4a86b21000)
        ...

You can use nm to see contents of an object, e.g.

klutina:/usr/local/lib64/cmpi # nm libXen_ProviderCommon.so | grep
CMPILIFYInstance_cleanup
0000000000006837 T CMPILIFYInstance_cleanup

HTH,
Jim


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

<Prev in Thread] Current Thread [Next in Thread>