<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>All, <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>A provider to publish Service Processor information is at <a href="https://github.com/praveen-pk/lmi-bmc">https://github.com/praveen-pk/lmi-bmc</a>. This provider is based on openlmi framework. I talked about this provider in this forum a few months ago. We are trying to package this provider for some distros and are running some issues. Hoping someone can provide some guidance on this issue. <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>After going thru the build steps, the registration file created for this provider is as follows:<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>LMI_BMC.reg: <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>[LMI_BMC]<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp; provider: LMI_BMC<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp; location: cmpiLMIBmc<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp; type: instance method<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp; namespace: root/cimv2<o:p></o:p></p><p class=MsoNormal>#<o:p></o:p></p><p class=MsoNormal>[&quot; CLASS &quot;]<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp; provider: &quot; PROVIDERNAME &quot;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp; location: cmpiLMIBmc<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp; type: &quot; TYPES;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp; namespace: &quot; NAMESPACE &quot;<o:p></o:p></p><p class=MsoNormal>#<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Registering this provider with the above reg file with SFCB CIMOM is causing the CIMOM to crash with the following messages:<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>sfcb[6370]: --- registration statement not recognized:<o:p></o:p></p><p class=MsoNormal>sfcb[6370]: 147: [&quot; CLASS &quot;]<o:p></o:p></p><p class=MsoNormal>sfcb[6370]: --- Broker terminated because of previous error(s)<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The build process creates the reg file <o:p></o:p></p><p class=MsoNormal>&#8220; konkretreg libcmpiLMIBmc.so&#8221;<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The konkretreg tool walks through the binary shared object (libcmpiLMIBmc.so) and tries to match lines starting with &#8220;@(#)KONKRET_REGISTRATION=&#8221;. The first match is from one of the source files, actually, the following macro expanded:<o:p></o:p></p><p class=MsoNormal>KONKRET_REGISTRATION(<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp; &quot;root/cimv2&quot;,<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp; &quot;LMI_BMC&quot;,<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp; &quot;LMI_BMC&quot;,<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp; &quot;instance method&quot;)<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The second entry in the reg seems to be from the macro definition itself: <o:p></o:p></p><p class=MsoNormal>#define KONKRET_REGISTRATION(NAMESPACE,CLASS,PROVIDERNAME,TYPES) static volatile KUNUSED const char __konkret_registration[] = &quot;@(#)KONKRET_REGISTRATION=&quot; NAMESPACE &quot;:&quot; CLASS &quot;:&quot; PROVIDERNAME &quot;:&quot; TYPES;<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I am guessing this needs to be fixed in konkretreg tool? Anything else I could be missing here?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='color:#1F497D'>Thank you<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Praveen K Paladugu<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Dell Linux Engineering<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>