<br><br><div class="gmail_quote">On Mon, Dec 3, 2012 at 12:18 PM, Pritam Bankar <span dir="ltr">&lt;<a href="mailto:pritambankar1988@gmail.com" target="_blank">pritambankar1988@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
What is basic reason behind error &quot;Unknown symbol in module&quot; ?<br>
I have two modules test1.ko and test2.ko. test1.ko loads succesfully<br>
but test2.ko gives error<br>
<br>
insmod: error inserting &#39;test2.ko&#39;: -1 Unknown symbol in module<br>
<br></blockquote><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Try adding module_licence(&quot;GPL&quot;)</span></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

dmesg shows all symbols in module as unknown. To give more details I<br>
have compiled both modules same way with same compiler options and<br>
with modpost, Module.Symvers files.<br>
Another point to mention is that both modules load perfectly on 2.6<br>
kernel. But kernel on which I am trying is 3.0 series kernel.<br>
What can be entry point to look into this issue ?<br>
<br>
Thanks,<br>
Pritam<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>Sandeep.<br><br><br><br><br><br>     <br>“To learn is to change. Education is a process that changes the learner.”<br>