insmod failing to insert a simple module
madhu.sk89 at gmail.com
Thu Sep 29 08:27:47 EDT 2016
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
vermagic: 4.5.0-rc7+ SMP mod_unload modversions 686
On Thu, Sep 29, 2016 at 5:44 PM, Greg KH <greg at kroah.com> wrote:
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
> A: No.
> Q: Should I include quotations after my reply?
> On Thu, Sep 29, 2016 at 05:31:52PM +0530, Madhu K wrote:
> > No it is not the requirement, when I downloaded the source "4.0.5-rc7+"
> > 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
> greg k-h
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies