insmod failing to insert a simple module
Madhu K
madhu.sk89 at gmail.com
Thu Sep 29 06:43:58 EDT 2016
How to check correct headers, and when I download or clone the latest
kernel don't they provide the headers along with kernel ?
Thanks,
Madhu
On Thu, Sep 29, 2016 at 4:00 PM, Pasquier, Thomas <tfjmp at g.harvard.edu>
wrote:
> Did you verify that you are building your module against the correct
> headers?
>
> On Thu, Sep 29, 2016 at 5:56 AM, Madhu K <madhu.sk89 at gmail.com> wrote:
>
>> Hi All,
>>
>> While inserting a kernel module, insmod is failing with following error.
>>
>> insmod: error inserting 'page_walk.ko': Invalid module format.
>>
>> I verified the modinfo of "page_walk.ko" it is showing version magic as : 4.0.5_rc7+ SMP mod_unload modversions 686
>>
>> what does "mod_unload" mean here?
>>
>> Thanks,
>>
>> Madhu
>>
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>>
>
>
> --
> Thomas PASQUIER (home page <http://scholar.harvard.edu/tfjmp>)
> Postdoctoral Fellow
> Center for Research on Computation and Society
> School of Engineering and Applied Sciences (SEAS)
> Harvard University
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160929/f74f4990/attachment.html
More information about the Kernelnewbies
mailing list