View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000731 | channel: elrepo/el7 | kmod-nvidia | public | 2017-04-24 12:47 | 2017-04-25 10:57 |
Reporter | rphipps | Assigned To | pperry | ||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Summary | 0000731: Bug 720 is back, kmod-nvidia will not build module on kernel 3.10.0-514.10.2.el7.x86_64 | ||||
Description | There are a couple of differences, it is reporting that /lib/modules/3.10.0-514.el7.x86_64/weak-updates/nvidia is the offending path. And the package is -2 instead of -1 Installed: kmod-nvidia.x86_64 0:375.39-2.el7.elrepo but the unknown symbols are the same. | ||||
Tags | No tags attached. | ||||
Reported upstream | |||||
|
Please provide more info: uname -a rpm -q kmod-nvidia rpm -qa kernel find /lib/modules -name nvidia.ko thanks |
|
uname -a Linux Phago 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux rpm -q kmod-nvidia kmod-nvidia-375.39-2.el7.elrepo.x86_64 rpm -qa kernel kernel-3.10.0-514.el7.x86_64 kernel-3.10.0-514.16.1.el7.x86_64 find /lib/modules -name nvidia.ko /lib/modules/3.10.0-514.16.1.el7.x86_64/weak-updates/nvidia/nvidia.ko /lib/modules/3.10.0-514.10.2.el7.x86_64/extra/nvidia/nvidia.ko |
|
That all looks perfectly normal. You said: "There are a couple of differences, it is reporting that /lib/modules/3.10.0-514.el7.x86_64/weak-updates/nvidia is the offending path." That is to be expected. As I said in http://elrepo.org/bugs/view.php?id=720 this package is built against kernel-3.10.0-514.10.2.el7 and will not be compatible with earlier kernel releases. This is what "not compatible" looks like. If you don't want to see these warnings, remove your older non-compatible kernel(s) and just keep kernel-3.10.0-514.10.2.el7 and kernel-3.10.0-514.16.1.el7 that are compatible. |
|
It worked for me: I ensured that only one kernel version is installed (removed other versions): [greg@smc-01 ~]$ yum list installed | grep kernel.x86_64 kernel.x86_64 3.10.0-514.10.2.el7 @updates I rebooted my server (so it had to run that very version of the kernel). Then I installed the driver without the compilation errors of Bug 720 [greg@smc-01 ~]$ sudo yum install kmod-nvidia-375.39-2.el7.elrepo ... |
|
Just to clarify... These are not errors, they are warnings. Also, nothing is trying to compile. kmod packages install a binary copy of the kernel driver. The warnings are caused by depmod trying to run on a kernel module weak linked against another kernel (a kernel installed other than that against which it was built) that is missing some symbols on which the module depends. This happens when the driver in question is not compatible with some older (or newer) kernels installed on the system. As all of this is expected behaviour, I'm closing this bug. |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-04-24 12:47 | rphipps | New Issue | |
2017-04-24 12:47 | rphipps | Status | new => assigned |
2017-04-24 12:47 | rphipps | Assigned To | => pperry |
2017-04-24 13:04 | pperry | Note Added: 0005145 | |
2017-04-24 14:50 | rphipps | Note Added: 0005146 | |
2017-04-24 16:14 | pperry | Note Added: 0005147 | |
2017-04-25 04:06 | greg | Note Added: 0005152 | |
2017-04-25 10:57 | pperry | Note Added: 0005155 | |
2017-04-25 10:57 | pperry | Status | assigned => closed |
2017-04-25 10:57 | pperry | Resolution | open => no change required |
2017-04-25 10:58 | pperry | Relationship added | child of 0000732 |
2017-04-25 10:59 | pperry | Relationship deleted | child of 0000732 |
2017-04-25 10:59 | pperry | Relationship added | has duplicate 0000732 |