<div dir="ltr"><div>I have kernel 3.11.0-rc7 and it seems to be working fine. Are you sure the file attached is the correct one or there is no typo? See the output which I got compiling your file and loading it as a module in the attachment. <br>
<br></div>Thanks,<br>Sanmukh<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 9:52 PM, <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>
<a href="tel:%2B91-9742870916" value="+919742870916">+91-9742870916</a>,<br>
<a href="tel:%2B91-9745783048" value="+919745783048">+91-9745783048</a><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>