From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: insmod failing to insert a simple module
Date: Thu, 29 Sep 2016 13:24:40 +0200 [thread overview]
Message-ID: <20160929112440.GA16400@kroah.com> (raw)
In-Reply-To: <CAA2oCOmGQJHWrScsXsd5N0EL99HiQjqGUeAQsn1KcM+-shWSGg@mail.gmail.com>
On Thu, Sep 29, 2016 at 03:26:49PM +0530, Madhu K 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
Is the kernel version that you are currently running also 4.0.5-rc7+?
That is a requirement :)
> what does "mod_unload" mean here?
You have enabled the ability to unload modules.
Also look in your kernel log for any specific error messages when trying
to load a module, it usually will be more verbous than the insmod
program itself.
good luck,
greg k-h
next prev parent reply other threads:[~2016-09-29 11:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-29 9:56 insmod failing to insert a simple module Madhu K
2016-09-29 10:30 ` Pasquier, Thomas
2016-09-29 10:43 ` Madhu K
2016-09-29 11:24 ` Greg KH [this message]
2016-09-29 12:01 ` Madhu K
2016-09-29 12:07 ` Quentin Lambert
2016-09-29 12:10 ` AW:insmod " Johannes Thoma
2016-09-29 12:24 ` insmod " Madhu K
2016-09-29 12:30 ` Alexander Kapshuk
2016-09-29 12:31 ` François
2016-09-29 14:30 ` Valdis.Kletnieks at vt.edu
2016-09-29 12:14 ` Greg KH
2016-09-29 12:27 ` Madhu K
2016-09-29 12:37 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160929112440.GA16400@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.