View Issue Details

IDProjectCategoryView StatusLast Update
0000924channel: elrepo/el7kmod-nvidia-340xxpublic2019-08-19 13:41
Reporterpperry Assigned Topperry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000924: kmod-nvidia-340xx fails to compile on rhel7.7
Descriptionkmod-nvidia-340xx fails to compile on rhel7.7

/home/phil/rpmbuild/BUILD/nvidia-340xx-kmod-340.107/_kmod_build_/kernel/nv-drm.c: In function 'nv_alloc_os_descriptor_handle':
/home/phil/rpmbuild/BUILD/nvidia-340xx-kmod-340.107/_kmod_build_/kernel/nv-drm.c:255:5: error: implicit declaration of function 'drm_gem_object_unreference_unlocked' [-Werror=implicit-function-declaration]
     drm_gem_object_unreference_unlocked(&nv_obj->base);
     ^
cc1: some warnings being treated as errors
make[2]: *** [/home/phil/rpmbuild/BUILD/nvidia-340xx-kmod-340.107/_kmod_build_/kernel/nv-drm.o] Error 1
make[1]: *** [_module_/home/phil/rpmbuild/BUILD/nvidia-340xx-kmod-340.107/_kmod_build_/kernel] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-1062.el7.x86_64'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** [nvidia.ko] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.x4RXOH (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.x4RXOH (%build)
Additional InformationThis is a known issue and has already been raised upstream with NVIDIA:

https://devtalk.nvidia.com/default/topic/1060018/linux/problem-installing-340-107-on-quadro-fx4800-under-rhel-7-7/
TagsNo tags attached.
Reported upstream

Activities

pperry

2019-08-18 15:04

administrator   ~0006391

Updated packages for RHEL7.7 have been built using the patch supplied here:

https://devtalk.nvidia.com/default/topic/1047179/linux/-solved-nvidia-340-107-linux-5-0-rc5-failed-to-build-kernel-module/

The following packages have been released to the elrepo repository:

kmod-nvidia-340xx-340.107-3.el7_7.elrepo.x86_64.rpm

Please can someone confirm these packages work as expected.

Please note these packages REQUIRE the el7.7 kernel.

Thanks

orion

2019-08-19 09:30

reporter   ~0006392

Works for me.

pperry

2019-08-19 13:41

administrator   ~0006393

Thanks for the feedback - marking as fixed

Issue History

Date Modified Username Field Change
2019-08-10 03:49 pperry New Issue
2019-08-10 03:49 pperry Status new => assigned
2019-08-10 03:49 pperry Assigned To => pperry
2019-08-18 15:04 pperry Note Added: 0006391
2019-08-18 15:04 pperry Status assigned => feedback
2019-08-19 09:30 orion Note Added: 0006392
2019-08-19 13:41 pperry Note Added: 0006393
2019-08-19 13:41 pperry Status feedback => resolved
2019-08-19 13:41 pperry Resolution open => fixed