[elrepo] patching kernel modules agasint elrepo

Leon Fauster leonfauster at googlemail.com
Mon Nov 21 18:57:07 EST 2016


Am 21.11.2016 um 22:31 schrieb Morgan Yang <morgan.yang1982 at gmail.com>:
> 
> 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
> 	• make clean && make oldconfig && make prepare && make modules_prepare
> 	• make modules -j8
> I then copied the <module>.ko to /usr/lib/modules/4.4.32-1.el7.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?


Any output on 

# depmod -a 

?

--
LF




More information about the elrepo mailing list