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

insmod failing to insert a simple module

From: Madhu K <hidden>
Date: 2016-09-29 12:27:47

Hi,

I am runnig 4.0.5_rc7 kernel and I built the module for same kernel.

uname -a output :

Linux BLR-PCUB-01141 4.5.0-rc7 #2 SMP Wed Mar 23 15:51:13 IST 2016 x86_64
x86_64 x86_64 GNU/Linux

And my modinfo of my module is :

icense:        Dual BSD/GPL
srcversion:     1D16256F51E63BC3632B65B
depends:
vermagic:       4.5.0-rc7+ SMP mod_unload modversions 686

Regards,
Madhu

On Thu, Sep 29, 2016 at 5:44 PM, Greg KH [off-list ref] wrote:
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I include quotations after my reply?


http://daringfireball.net/2007/07/on_top

On Thu, Sep 29, 2016 at 05:31:52PM +0530, Madhu K wrote:
quoted
No it is not the requirement, when I downloaded the source "4.0.5-rc7+"
was
quoted
latest. Is there any problem with 4.0.5-rc7+?
I do not understand these two sentences.

You said you tried to load a module built for the 4.0.5-rc7 kernel tree
(which is a very odd kernel version number, as I don't recall ever
making a -rc7 for 4.0.5, which was released way back in June of 2015,
but that's another issue...) In order to do that properly, you have to
be running that specific kernel version at the same time so this will
work properly.

So, what specific kernel version are you currently running?  Does it
match up with the kernel version of the module you are wanting to load?
(exercise for exactly how to determine both of these is left for the
reader...)

thanks,

greg k-h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160929/88374a59/attachment.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