<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=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* 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:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks a lot Mathieu.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I tried KERNELDIR, but still seeing the same error,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">[root@million lttng-modules-2.4.0]#
<b>KERNELDIR=/usr/src/kernels/$(uname -r) make</b><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">make -C /usr/src/kernels/2.6.32-431.5.1.el6.hpsp.centos.LTTNG.18852.x86_64 M=/root/LTTNG/lttng-modules-2.4.0 modules<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">make[1]: Entering directory `/usr/src/kernels/2.6.32-431.5.1.el6.hpsp.centos.LTTNG.18852.x86_64'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-client-discard.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-client-overwrite.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-metadata-client.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-client-mmap-discard.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-client-mmap-overwrite.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-metadata-mmap-client.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-statedump-impl.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">In file included from /root/LTTNG/lttng-modules-2.4.0/lttng-statedump-impl.c:55:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">/root/LTTNG/lttng-modules-2.4.0/wrapper/tracepoint.h: In function âwrapper_lttng_fixup_sigâ:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">/root/LTTNG/lttng-modules-2.4.0/wrapper/tracepoint.h:76: error: âstruct moduleâ has no member named âsig_okâ<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">make[2]: *** [/root/LTTNG/lttng-modules-2.4.0/lttng-statedump-impl.o] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">make[1]: *** [_module_/root/LTTNG/lttng-modules-2.4.0] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.5.1.el6.hpsp.centos.LTTNG.18852.x86_64'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">make: *** [default] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Do you suggest me to re install the machine with centos and try fresh? Kindly suggest any quick solution.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I am stuck in this </span><span style="font-family:Wingdings;color:#1F497D">L</span><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Shilpa.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Mathieu Desnoyers [mailto:mathieu.desnoyers@efficios.com]
<br>
<b>Sent:</b> Wednesday, April 16, 2014 6:31 PM<br>
<b>To:</b> Kumari, Shilpa (HPSD/VDU/Avatar)<br>
<b>Cc:</b> lttng-dev@lists.lttng.org<br>
<b>Subject:</b> Re: [lttng-dev] Need help on LTTNG<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="color:black">
<hr size="2" width="100%" align="center" id="zwchr">
</span></div>
<blockquote style="border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><b><span style="font-family:"Helvetica","sans-serif";color:black">From:
</span></b><span style="font-family:"Helvetica","sans-serif";color:black">"Shilpa Kumari (HPSD/VDU/Avatar)" <shilpakumari.pv@hp.com><br>
<b>To: </b>lttng-dev@lists.lttng.org<br>
<b>Cc: </b>"Shilpa Kumari (HPSD/VDU/Avatar)" <shilpakumari.pv@hp.com><br>
<b>Sent: </b>Tuesday, April 15, 2014 1:27:47 AM<br>
<b>Subject: </b>[lttng-dev] Need help on LTTNG<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:black">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">I am trying to use LTTNG on centos (2.6.32). I have applied the given patch and rebuilt a kernel.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Still I am unable to build the lltng-modules.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">[root@million lttng-modules-2.4.0]# uname -r<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="color:black">2.6.32-431.5.1.el6.hpsp.centos.LTTNG.18852.x86_64</span></b><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Below is the compiler error I am getting,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">[root@million lttng-modules-2.4.0]# make<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">make -C /lib/modules/2.6.32-431.5.1.el6.hpsp.centos.LTTNG.18852.x86_64/build M=/root/LTTNG/lttng-modules-2.4.0 modules<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">make[1]: Entering directory `/usr/src/kernels/2.6.32-431.5.1.el6.hpsp.centos.LTTNG.18852.x86_64'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-client-discard.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-client-overwrite.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-metadata-client.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-client-mmap-discard.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-client-mmap-overwrite.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-metadata-mmap-client.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> CC [M] /root/LTTNG/lttng-modules-2.4.0/lttng-statedump-impl.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">In file included from /root/LTTNG/lttng-modules-2.4.0/lttng-statedump-impl.c:55:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">/root/LTTNG/lttng-modules-2.4.0/wrapper/tracepoint.h: In function âwrapper_lttng_fixup_sigâ:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">/root/LTTNG/lttng-modules-2.4.0/wrapper/tracepoint.h:76: error:
<b>âstruct moduleâ has no member named âsig_okâ</b><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">make[2]: *** [/root/LTTNG/lttng-modules-2.4.0/lttng-statedump-impl.o] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">make[1]: *** [_module_/root/LTTNG/lttng-modules-2.4.0] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.5.1.el6.hpsp.centos.LTTNG.18852.x86_64'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">make: *** [default] Error 2<o:p></o:p></span></p>
</blockquote>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black">That's weird. The sig_ok field of struct module should only be used when<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black">CONFIG_MODULE_SIG is defined. This looks like a kernel config mismatch.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black">You might want to ensure you use KERNELDIR=path_to_kernel_source make<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black">to build lttng-modules.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black"><o:p> </o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:black">[root@million lttng-modules-2.4.0]#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Patches provided In lttng-modules/linux-patches/<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">backport-kallsym-sym-2.6.32.patch </span><span style="font-family:Wingdings;color:black">ß</span><span style="color:black"> got easily applied with patch command<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">backport-splice-sym-2.6.32-34.patch </span><span style="font-family:Wingdings;color:black">ß</span><span style="color:black"> got easily applied with patch command<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">backport-tracepoint-data-2.6.32-33.patch </span><span style="font-family:Wingdings;color:black">ß</span><span style="color:black"> Conflicts were found, and I manually edited tracepoint.h file.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Kernel was built by disabling “CONFIG_MODULE_SIG”. <o:p></o:p></span></p>
</blockquote>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black">Hrm, is this a kind of Frankeinstein kernel ? Arguably, the RHEL6-based kernels has a set<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black">of features taken from kernels between 2.6.32 and 2.6.35, but even at 2.6.35, the kernel<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black">does not appear to implement CONFIG_MODULE_SIG. This makes me wonder why<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black">CONFIG_MODULE_SIG appears in the .config file at all.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black">Thanks,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black">Mathieu<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black"><o:p> </o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:black">Could you please kindly guide me on this issue. Appreciate your help very much.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Please do let me know, if I need to provide any more info on this.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Thanks and regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Shilpa Kumari.P.V<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Helvetica","sans-serif";color:black"><br>
_______________________________________________<br>
lttng-dev mailing list<br>
lttng-dev@lists.lttng.org<br>
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev<o:p></o:p></span></p>
</blockquote>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black">--
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:black">Mathieu Desnoyers<br>
EfficiOS Inc.<br>
http://www.efficios.com<o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>