Thread (14 messages) flat view 14 messages, 8 authors, 2016-09-29

insmod failing to insert a simple module

From: Pasquier, Thomas <hidden>
Date: 2016-09-29 10:30:07

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

On Thu, Sep 29, 2016 at 5:56 AM, Madhu K [off-list ref] 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/83ba81ac/attachment-0001.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help