<div dir="ltr"><div><div><div>Hi Alexander,<br><br>Thank you so much for your valuable reply.<br><br></div><div>yes, you are correct I have kernel-source in home directory and I did not install modules.<br></div><div><br></div>To fix "out-of-tree" one, if I do make modules and modules_install will it go off?<br><br></div>Thanks,<br></div>Madhu<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 11, 2017 at 7:27 PM, Alexander Kapshuk <span dir="ltr"><<a href="mailto:alexander.kapshuk@gmail.com" target="_blank">alexander.kapshuk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Sat, Feb 11, 2017 at 3:28 PM, Madhu K <<a href="mailto:madhu.sk89@gmail.com">madhu.sk89@gmail.com</a>> wrote:<br>
> Hi All,<br>
><br>
> I have built a kernel module against a 4.9.2 for arm board. while inserting<br>
> this kernel module I am getting below message which is high lighted in red<br>
> color what exactly mean loading out-of-tree module. what could be the<br>
> possible reason to get this message?<br>
><br>
> Please help me out to understand below message mean.<br>
><br>
> ubuntu@ubuntu-armhf:/home/<wbr>Madhu/i2c$ dmesg<br>
> [ 704.283100] i2c_client: loading out-of-tree module taints kernel.<br>
> [ 704.285359] driver initialization<br>
> [ 704.285693] inside probe function<br>
><br>
><br>
> Regards,<br>
> Madhu<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.<wbr>org</a><br>
> <a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.<wbr>org/mailman/listinfo/<wbr>kernelnewbies</a><br>
><br>
<br>
An 'out-of-tree' message does not indicate an error. It is informing<br>
you that the module being loaded is not a part of the kernel source<br>
tree, but an 'out-of-tree' one, i.e. your custom module whose source<br>
code resides say in your home directory.<br>
<br>
To verify your module has been loaded successfully, run 'lsmod | grep<br>
your_module_name' after loading it with 'insmod'.<br>
<br>
Hope this helps.<br>
</blockquote></div><br></div>