Re: insmod failing to insert a simple module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxg
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




--
Thomas PASQUIER (home page)
Postdoctoral Fellow
Center for Research on Computation and Society
School of Engineering and Applied Sciences (SEAS)
Harvard University


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux