<div dir="ltr">I have also tested, build KO file using your C file, on my kernel and it is working fine. The kernel version is 3.2.11<div><br></div><div>Why don't you try any other kernel version and see whether you are getting same error or not? I guess, it works.</div>
<div><br></div><div>Regards,</div><div>Srinivas G </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 6, 2013 at 10:22 AM, <span dir="ltr"><<a href="mailto:binoy.jayan@wipro.com" target="_blank">binoy.jayan@wipro.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I use the kernel version "3.10.0-4" that came with Ubuntu distribution.<br>
When I compile the example module I got from LKMPG (hello-5.c) and try to load the driver by passing the module with the following command, it gives the following error:<br>
<br>
# insmod parameter.ko mystring="bebop"<br>
Error: could not insert module parameter.ko: Unknown symbol in module<br>
<br>
Error in dmesg:<br>
<br>
[ 3687.132110] parameter: Unknown parameter `mystring'<br>
<br>
However, if I insert the module without any parameters, it gets inserted just fine.<br>
<br>
# insmod parameter.ko<br>
<br>
I am attaching the source code for reference. Kindly let me know what could be done.<br>
<br>
Thanks,<br>
Binoy<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Regards,<br>
Binoy Jayan<br>
WIPRO TECHNOLOGIES<br>
| Electronic City 5<br>
|<br>
Bangalore<br>
| Mob:<br>
+91-9742870916,<br>
+91-9745783048<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Please do not print this email unless it is absolutely necessary.<br>
<br>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.<br>
<br>
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.<br>
<br>
<a href="http://www.wipro.com" target="_blank">www.wipro.com</a><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>
<br></blockquote></div><br></div>