Did you verify that you are building your module against the correct
headers?

On Thu, Sep 29, 2016 at 5:56 AM, Madhu K <[email protected]> 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
> [email protected]
> 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
_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to