<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
  
    
  
  
    Hey,<br>
    See comments below.<br><br><div class="moz-cite-prefix">On 2015-03-20 09:34 AM, Rui Han wrote:<br></div><blockquote cite="mid:CABy43G9szQBY9eObtid3D0nDTBxm-50dSbT73MT-v_ac+4n9Tw@mail.gmail.com"><div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:1.2em 0px!important">Hi,</p><p style="margin:1.2em 0px!important">I have encountered
            following output when I try to run make from the
            lttng-modules source cloned from git repo. I have tried in a
            clean install of both 12.04 and 14.04.</p><pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important">make -C /lib/modules/3.13.0-45-generic/build M=/home/troguard32/lttng/lttng-modules modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-45-generic'
/home/troguard32/lttng/lttng-modules/probes/Makefile:30: File /usr/src/linux-headers-3.13.0-45-generic/virt/kvm/iodev.h not found. Probe "kvm" x86-specific is disabled. Use full kernel source tree to enable it.
/home/troguard32/lttng/lttng-modules/probes/Makefile:142: Files /usr/src/linux-headers-3.13.0-45-generic/fs/btrfs/*.h not found. Probe "btrfs" is disabled. Use full kernel source tree to enable it.
/home/troguard32/lttng/lttng-modules/probes/Makefile:158: Files /usr/src/linux-headers-3.13.0-45-generic/fs/ext4/*.h not found. Probe "ext4" is disabled. Use full kernel source tree to enable it.
  Building modules, stage 2.
  MODPOST 43 modules
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-45-generic'
</code></pre><p style="margin:1.2em 0px!important">when run make
            modules_install, it seem the installation is successful, but
            the output is abnormal, giving repeated “Can’t read private
            key” messages.</p><p style="margin:1.2em 0px!important">If I ignore this message
            and install all other lttng components, it seems lttng
            kernel tracer is working fine. </p><p style="margin:1.2em 0px!important">My question is,</p><ol style="margin:1.2em 0px;padding-left:2em"><li style="margin:0.5em 0px">How to completely remove this
              abnormal message? where to specify the full kernel source
              path in make file? (I am a makefile beginner)</li></ol></div></div></blockquote>
    Abnormal message being the key related one? We are looking into but
    this does not in any way change behavior.</blockquote><div>It's because you are building against your distribution kernel, for which<br></div><div>only your distribution has the signing key. Therefore, the build complains<br></div><div>that the modules are not signed. But since your distro kernel allows<br></div><div>loading unsigned modules, it works fine, but outputs a warning.</div><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br>
    As for the warning for kvm/btrfs/ext4. Nothing to worry about you
    simply don't have these components installed on your system.</blockquote><div>A small correction: you may have kvm/btrfs/ext4 on your system. However, lttng-modules<br></div><div>is letting you know that it cannot build the probes to attach to those subsystem, because<br></div><div>you build against the installed kernel headers, rather than against the full kernel source tree.<br></div><div>This is because those subsystem place their instrumentation headers into subdirectories of<br></div><div>the Linux kernel tree that are not installed on the system.<br></div><div><br></div><div>Thanks,<br></div><div><br></div><div>Mathieu<br></div><div><br></div><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br><blockquote cite="mid:CABy43G9szQBY9eObtid3D0nDTBxm-50dSbT73MT-v_ac+4n9Tw@mail.gmail.com"><div dir="ltr"><div class="markdown-here-wrapper" style=""><ol style="margin:1.2em 0px;padding-left:2em"><li style="margin:0.5em 0px">How to check whether the
              lttng-modules installed is fully functional or not?</li></ol></div></div></blockquote>
    A quick check is the one you probably did: lttng list -k. You can
    also run the root_regression tests from lttng-tools. Under ./tests
    you can run ./run.sh root_regression while being root.<br><blockquote cite="mid:CABy43G9szQBY9eObtid3D0nDTBxm-50dSbT73MT-v_ac+4n9Tw@mail.gmail.com"><div dir="ltr"><div class="markdown-here-wrapper" style=""><ol style="margin:1.2em 0px;padding-left:2em"><li style="margin:0.5em 0px">Does the above message is just
              telling me that I will be able to use the full function of
              lttng-modules except those file system probe mentioned in
              the make output? </li></ol></div></div></blockquote>
    Exactly. <br><blockquote cite="mid:CABy43G9szQBY9eObtid3D0nDTBxm-50dSbT73MT-v_ac+4n9Tw@mail.gmail.com"><div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:1.2em 0px!important">Thank you very much.</p><p style="margin:1.2em 0px!important">Best regards,<br>
            Rui</p><div title="MDH:SGksPGRpdj48YnI+PC9kaXY+PGRpdj5JIGhhdmUgZW5jb3VudGVyZWQgZm9sbG93aW5nIG91dHB1dCB3aGVuIEkgdHJ5IHRvIHJ1biBtYWtlIGZyb20gdGhlIGx0dG5nLW1vZHVsZXMgc291cmNlIGNs
b25lZCBmcm9tIGdpdCByZXBvLiBJIGhhdmUgdHJpZWQgaW4gYSBjbGVhbiBpbnN0YWxsIG9mIGJv
dGggMTIuMDQgYW5kIDE0LjA0LjwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+YGBgPC9kaXY+PGRp
dj48ZGl2Pm1ha2UgLUMgL2xpYi9tb2R1bGVzLzMuMTMuMC00NS1nZW5lcmljL2J1aWxkIE09L2hv
bWUvdHJvZ3VhcmQzMi9sdHRuZy9sdHRuZy1tb2R1bGVzIG1vZHVsZXM8L2Rpdj48ZGl2Pm1ha2Vb
MV06IEVudGVyaW5nIGRpcmVjdG9yeSBgL3Vzci9zcmMvbGludXgtaGVhZGVycy0zLjEzLjAtNDUt
Z2VuZXJpYyc8L2Rpd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ZpbGUgc3lzdGVtIHByb2JlIG1lbnRpb25lZCBpbiB0aGUgbWFrZSBvdXRwdXQ/
Jm5ic3A7PC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj5UaGFuayB5b3UgdmVyeSBtdWNoLjwvZGl2
PjxkaXY+PGJyPjwvZGl2PjxkaXY+QmVzdCByZWdhcmRzLDwvZGl2PjxkaXY+UnVpPC9kaXY+" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div></div><br><br><pre>_______________________________________________
lttng-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lttng-dev@lists.lttng.org" target="_blank">lttng-dev@lists.lttng.org</a><a class="moz-txt-link-freetext" href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br data-mce-bogus="1"></pre></blockquote><br><pre class="moz-signature">-- 
Jonathan R. Julien
Efficios</pre><br>_______________________________________________<br>lttng-dev mailing list<br>lttng-dev@lists.lttng.org<br>http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev<br></blockquote><div><br><br></div><div><br></div><div>-- <br></div><div><span name="x"></span>Mathieu Desnoyers<br>EfficiOS Inc.<br>http://www.efficios.com<span name="x"></span><br></div></div></body></html>