CentOSThis forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* elrepo: ftp.utexas.edu
Resolving Dependencies
--> Running transaction check
---> Package kmod-nvidia-304xx.x86_64 0:304.135-6.el7_6.elrepo will be installed
--> Processing Dependency: nvidia-x11-drv-304xx = 304.135 for package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64
--> Processing Dependency: kernel(i2c_del_adapter) = 0x28a636e9 for package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64
--> Processing Dependency: kernel(i2c_add_adapter) = 0xa6f8da46 for package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64
--> Processing Dependency: kernel(drm_legacy_pci_init) = 0xc30e01c8 for package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64
--> Processing Dependency: kernel(drm_legacy_pci_exit) = 0x0a05a9f3 for package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64
--> Processing Dependency: kernel(__check_object_size) = 0x88db9f48 for package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64
--> Processing Dependency: kernel >= 3.10.0-957.el7 for package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64
--> Running transaction check
---> Package kmod-nvidia-304xx.x86_64 0:304.135-6.el7_6.elrepo will be installed
--> Processing Dependency: kernel(i2c_del_adapter) = 0x28a636e9 for package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64
--> Processing Dependency: kernel(i2c_add_adapter) = 0xa6f8da46 for package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64
--> Processing Dependency: kernel(drm_legacy_pci_init) = 0xc30e01c8 for package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64
--> Processing Dependency: kernel(drm_legacy_pci_exit) = 0x0a05a9f3 for package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64
--> Processing Dependency: kernel(__check_object_size) = 0x88db9f48 for package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64
--> Processing Dependency: kernel >= 3.10.0-957.el7 for package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64
---> Package nvidia-x11-drv-304xx.x86_64 0:304.135-1.el7.elrepo will be installed
--> Finished Dependency Resolution
Error: Package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64 (elrepo)
Requires: kernel(__check_object_size) = 0x88db9f48
Error: Package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64 (elrepo)
Requires: kernel(i2c_add_adapter) = 0xa6f8da46
Installed: kernel-3.10.0-862.el7.x86_64 (@anaconda)
kernel(i2c_add_adapter) = 0xe0559938
Installed: kernel-3.10.0-862.14.4.el7.x86_64 (@updates)
kernel(i2c_add_adapter) = 0xe0559938
Error: Package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64 (elrepo)
Requires: kernel >= 3.10.0-957.el7
Installed: kernel-3.10.0-862.el7.x86_64 (@anaconda)
kernel = 3.10.0-862.el7
Installed: kernel-3.10.0-862.14.4.el7.x86_64 (@updates)
kernel = 3.10.0-862.14.4.el7
Error: Package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64 (elrepo)
Requires: kernel(drm_legacy_pci_exit) = 0x0a05a9f3
Installed: kernel-3.10.0-862.el7.x86_64 (@anaconda)
kernel(drm_legacy_pci_exit) = 0x08c1a412
Installed: kernel-3.10.0-862.14.4.el7.x86_64 (@updates)
kernel(drm_legacy_pci_exit) = 0x08c1a412
Error: Package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64 (elrepo)
Requires: kernel(i2c_del_adapter) = 0x28a636e9
Installed: kernel-3.10.0-862.el7.x86_64 (@anaconda)
kernel(i2c_del_adapter) = 0x509cd9ad
Installed: kernel-3.10.0-862.14.4.el7.x86_64 (@updates)
kernel(i2c_del_adapter) = 0x509cd9ad
Error: Package: kmod-nvidia-304xx-304.135-6.el7_6.elrepo.x86_64 (elrepo)
Requires: kernel(drm_legacy_pci_init) = 0xc30e01c8
Installed: kernel-3.10.0-862.el7.x86_64 (@anaconda)
kernel(drm_legacy_pci_init) = 0xbf21db93
Installed: kernel-3.10.0-862.14.4.el7.x86_64 (@updates)
kernel(drm_legacy_pci_init) = 0xbf21db93
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I tried the following, but it did not help.
10. yum clean all
Code:
Loaded plugins: fastestmirror, langpacks
Cleaning repos: base elrepo extras updates
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
The elrepo NVIDIA packages are built for kernel 3.x, so you can't use that package if you have kernel 4.x - you would need to use NVIDIA's .run file instead.
Linux Compaq-Presario-F763NR 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Quote:
Originally Posted by jsbjsb001
The elrepo NVIDIA packages are built for kernel 3.x, so you can't use that package if you have kernel 4.x - you would need to use NVIDIA's .run file instead.
What if I use elrepo Nvidia packages to install and upgrade my kernel to the newest one, afterward? What would happen?
I think I would try upgrading my kernel to the 4.x one, and install Nvidia driver from the run file. Do you happen to have step-by-step instruction, however?
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Thanks for the results. Now it appears your system is currently using the open-source nouveau driver - which is good. And you do indeed have NVIDIA hardware, which is also good.
Something I completely forgot to mention before; try updating all packages and then try installing the package.
Code:
yum update *
As it maybe that your current kernel just isn't a high enough minor version. Just done a bit of digging and if you have downloaded CentOS 7.6, this thread might explain a few things for ya.
Yes, there is a step-by-step guide, and I even wrote it myself, it's here.
Last edited by jsbjsb001; 11-26-2018 at 11:10 PM.
Reason: didn't see OP's last reply
Thanks for the results. Now it appears your system is currently using the open-source nouveau driver - which is good. And you do indeed have NVIDIA hardware, which is also good.
Something I completely forgot to mention before; try updating all packages and then try installing the package.
Code:
yum update *
Code:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.hostduplex.com
* elrepo: repos.dfw.lax-noc.com
* extras: centos.sonn.com
* updates: centos.sonn.com
No Match for argument: anaconda-ks.cfg
No package anaconda-ks.cfg available.
No Match for argument: initial-setup-ks.cfg
No package initial-setup-ks.cfg available.
No packages marked for update
Now, I would start following your step-by-step guide.
1. yum install gcc make kernel-ml-devel kernel-ml-headers
Code:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.hostduplex.com
* elrepo: repos.dfw.lax-noc.com
* extras: centos.sonn.com
* updates: centos.sonn.com
Package gcc-4.8.5-28.el7_5.1.x86_64 already installed and latest version
Package 1:make-3.82-23.el7.x86_64 already installed and latest version
No package kernel-ml-devel available.
No package kernel-ml-headers available.
Nothing to do
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Ok, it looks like you have all the necessary packages to build the driver. So now it's a matter of downloading the driver's .run file from NVIDIA's website - make sure you choose the correct driver for your hardware. Then get the system into runlevel 3/init 3, give the .run file "execute" permission, and then run the .run file (excuse the pun).
As long as your system is still working properly (it should be), then I wouldn't worry too much about the error yum's complaining about.
At the GRUB screen, make sure the menu option to start the kernel you are going to build the driver against, is selected and then press "e". Use the keyboard's arrow keys to go to to the end of the kernel's command-line and type "rdblacklist=nouveau", then press CTRL+X to start the system with that kernel parameter.
8.
Quote:
Press CTRL+ALT+F2 to enter a virtual console/tty and then login as root. Then run the following command:
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
The NVIDIA installer produces a log, particularly if it fails - please provide that using CODE tags.
It should have told you where that log is, it would be in the /var/log folder somewhere - I don't remember exactly where it is there though - but it should once again tell you where it is.
In file included from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/page_ref.h:7:0,
from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/mm.h:26,
from /tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel/nv-linux.h:82,
from /tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:13:
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^
In file included from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/arch/x86/include/asm/current.h:6:0,
from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/sched.h:12,
from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/utsname.h:6,
from /tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel/nv-linux.h:40,
from /tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:13:
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:382:11: note: in expansion of macro ‘raw_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
In file included from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/arch/x86/include/asm/paravirt.h:17:0,
from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/arch/x86/include/asm/irqflags.h:68,
from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/irqflags.h:16,
from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/rcupdate.h:39,
from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/rculist.h:11,
from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/pid.h:5,
from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/sched.h:14,
from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/utsname.h:6,
from /tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel/nv-linux.h:40,
from /tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:13:
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’
for_each_online_cpu(cpu)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’
for_each_online_cpu(cpu)
^
In file included from /usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/efi.h:20:0,
from /tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel/nv-linux.h:193,
from /tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:13:
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/rtc.h:245:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
/usr/src/kernels/4.19.4-1.el7.elrepo.x86_64/include/linux/rtc.h:250:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
/tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel/nv.c: In function ‘nv_start_rc_timer’:
/tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:3032:5: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
init_timer(&nvl->rc_timer);
^
/tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:3033:28: warning: assignment from incompatible pointer type [enabled by default]
nvl->rc_timer.function = nv_kern_rc_timer;
^
/tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:3034:18: error: ‘struct timer_list’ has no member named ‘data’
nvl->rc_timer.data = (unsigned long) nv;
^
cc1: some warnings being treated as errors
make[4]: *** [/tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel/nv.o] Error 1
make[3]: *** [_module_/tmp/selfgz1941/NVIDIA-Linux-x86_64-304.137/kernel] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Which driver did you actually download? Because from my research it looks like you may need the "legacy" driver, and not the most current driver. My NVIDIA card has also became "legacy" now, therefore I also need to use the "legacy" driver myself.
Try the "Latest Legacy GPU version (390.xx series): 390.87" under "Linux x86_64/AMD64/EM64T" from here.
(I could not find your graphics controller listed on NVIDIA's website in their drivers page, but seems to be mentioned on other sites.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.