module_param does not work in Ubuntu 13.10 - Kernel 3.10.0-4

sanmukh rao i.sanmukh at gmail.com
Fri Sep 6 01:07:28 EDT 2013


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.

Thanks,
Sanmukh


On Thu, Sep 5, 2013 at 9:52 PM, <binoy.jayan at wipro.com> wrote:

> Hi all,
>
> I use the kernel version "3.10.0-4" that came with Ubuntu distribution.
> 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:
>
> # insmod parameter.ko mystring="bebop"
> Error: could not insert module parameter.ko: Unknown symbol in module
>
> Error in dmesg:
>
> [ 3687.132110] parameter: Unknown parameter `mystring'
>
> However, if I insert the module without any parameters, it gets inserted
> just fine.
>
> # insmod parameter.ko
>
> I am attaching the source code for reference. Kindly let me know what
> could be done.
>
> Thanks,
> Binoy
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Regards,
> Binoy Jayan
> WIPRO TECHNOLOGIES
> | Electronic City 5
> |
> Bangalore
>  | Mob:
> +91-9742870916,
> +91-9745783048
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Please do not print this email unless it is absolutely necessary.
>
> 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.
>
> 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.
>
> www.wipro.com
>
> _______________________________________________
> 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/20130905/35806364/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parameter.out
Type: application/octet-stream
Size: 1047 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130905/35806364/attachment.obj 


More information about the Kernelnewbies mailing list