From mboxrd@z Thu Jan 1 00:00:00 1970 From: jeshkumar555@gmail.com (=?utf-8?B?amVzaGt1bWFyNTU1QGdtYWlsLmNvbQ==?=) Date: Mon, 03 Dec 2012 12:58:48 +0530 Subject: =?utf-8?B?UmU6IGluc21vZDogZXJyb3IgaW5zZXJ0aW5nICd0ZXN0Mi5rbyc6IC0xIFVua25vd24gc3ltYm9sIGluIG1vZHVsZQ==?= Message-ID: <50bc54ae.6fd2440a.3540.385d@mx.google.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org I don't know if it works, but I too got the same error and all the symbols are defined. But I forgot module_licence so it was giving symbol not found. If not added just add module_licence("GPL"), if added ignore this mail. Sent from my HTC Excuse for typo. ----- Reply message ----- From: "Pritam Bankar" Date: Mon, Dec 3, 2012 12:18 pm Subject: insmod: error inserting 'test2.ko': -1 Unknown symbol in module To: "kernelnewbies" Hi, What is basic reason behind error "Unknown symbol in module" ? I have two modules test1.ko and test2.ko. test1.ko loads succesfully but test2.ko gives error insmod: error inserting 'test2.ko': -1 Unknown symbol in module dmesg shows all symbols in module as unknown. To give more details I have compiled both modules same way with same compiler options and with modpost, Module.Symvers files. Another point to mention is that both modules load perfectly on 2.6 kernel. But kernel on which I am trying is 3.0 series kernel. What can be entry point to look into this issue ? Thanks, Pritam _______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121203/6357938d/attachment.html