[elrepo] Bad installation of kmod-nvidia kmod-nvidia-384.90-1.el7_4.elrepo.x86_64

Phil Perry phil at elrepo.org
Wed Sep 27 17:08:13 EDT 2017


On 27/09/17 21:27, Manuel Wolfshant wrote:
> On 09/27/2017 11:16 PM, hk-vndr at iscs-i.com wrote:
>>
>> Hi,
>>
>> When installing this driver with kernel-3.10.0-693.2.2 the driver 
>> actually goes into this directory:
>>
>> # find /lib/modules/3.10.0-693.el7.x86_64/
>> /lib/modules/3.10.0-693.el7.x86_64/
>> /lib/modules/3.10.0-693.el7.x86_64/extra
>> /lib/modules/3.10.0-693.el7.x86_64/extra/nvidia
>> /lib/modules/3.10.0-693.el7.x86_64/extra/nvidia/nvidia-modeset.ko
>> /lib/modules/3.10.0-693.el7.x86_64/extra/nvidia/nvidia-uvm.ko
>> /lib/modules/3.10.0-693.el7.x86_64/extra/nvidia/nvidia.ko
>> /lib/modules/3.10.0-693.el7.x86_64/extra/nvidia/nvidia-drm.ko
>>

Yes, as Manuel notes below, that is correct.

Try:

find /lib/modules | grep nvidia

and note those entries in /weak-updates/


>> instead of the correct one:
>>
>> # du -sk /lib/modules/*
>> 40940 /lib/modules/3.10.0-693.2.2.el7.x86_64
>> 51676 /lib/modules/3.10.0-693.el7.x86_64
>>
>> This just seems incorrect and looking to correct to rule out as source 
>> of another issue.
>>
> It is correct as it is. The modules shipped by ELRepo take advantage of 
> the guaranteed kABI compatibility of the kernels and use the weak-module 
> mechanism to make sure they are active no matter what kernel minor 
> version is running by creating symlinks for all installed kernels.
> 
> You can read more details about this mechanism at 
> https://access.redhat.com/articles/9749



More information about the elrepo mailing list