[elrepo] patching kernel modules agasint elrepo

Morgan Yang morgan.yang1982 at gmail.com
Mon Nov 21 16:31:44 EST 2016


Hi All:

I have downloaded and installed 4.4.32-1.el7.elrepo.x86_64 from elrepo-lt,
I'm not patching kernel modules against 4.4.32 source code from
www.kernel.org

1. I downloaded and extracted the source https://www.kernel.org/
pub/linux/kernel/v4.x/linux-4.4.32.tar.gz

2. I ported the patches from to the latest source

3. Built via the following commands

   1. make clean && make oldconfig && make prepare && make modules_prepare
   2. make modules -j8

I then copied the <module>.ko to /usr/lib/modules/4.4.32-1.e
l7.elrepo.x86_64/kernel

However, when  attemp to load the module, I see

[242683.114843] ip_gre: no symbol version for module_layout

Is it because version 4.4.32-1.el7.elrepo.x86_64 is failing the check?
Since elrepo has no SRPM's, how would one go about patching changes without
building and installing the entire kernel from kernel.org?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20161121/1f7ba81c/attachment.html>


More information about the elrepo mailing list