General
cancel
Showing results for 
Search instead for 
Did you mean: 

Kernel Module error when installing Nvidia driver for Quadro M2000

 
SOLVED
Go to solution
Highlighted
Occasional Visitor

Kernel Module error when installing Nvidia driver for Quadro M2000

I'm installing a HP Nvidia Quadro M2000 on DL580 Gen8/SLES12.

When I install the driver delivered by HP, the kernel module error happens. What could I do to solve this problem?

When I install the last driver on nvidia web site, there's no kernel module problem but the X server fails to run.

I join the nvidia-installer log file that I've cut the unneccessary part to not exceed 25000 characters limit :

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Nov 13 16:38:10 2017
installer version: 361.93.03

PATH: /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

nvidia-installer command line:
    ./nvidia-installer
    --no-opengl-files
    --kernel-name=4.4.92-6.18-default

Unable to load: nvidia-installer ncurses v6 user interface

Using: nvidia-installer ncurses user interface
-> Detected 120 CPUs online; setting concurrency level to 32.
-> License accepted.
-> Installing NVIDIA driver version 361.93.03.
-> There appears to already be a driver installed on your system (version: 387.22).  As part of installing this driver (version: 361.93.03), the existing driver will be uninstalled.  Are you sure you want to continue? (Answer: Continue installation)
-> Running distribution scripts
   executing: '/usr/lib/nvidia/pre-install'...
   grep: /etc/sysconfig/kernel: No such file or directory
-> done.
-> The distribution-provided pre-install script completed successfully. If this is the first time you have run the installer, this script may have helped disable Nouveau, but a reboot may be required first.  Would you like to continue, or would you prefer to abort installation to reboot the system? (Answer: Continue installation)
-> Not probing for precompiled kernel interfaces.
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Kernel source path: '/lib/modules/4.4.92-6.18-default/source'
-> Kernel output path: '/lib/modules/4.4.92-6.18-default/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Cleaning kernel module build directory.
   executing: 'cd ./kernel; /usr/bin/make -k -j32 clean NV_EXCLUDE_KERNEL_MODULES="" SYSsrc="/lib/modules/4.4.92-6.18-default/source" SYSOUT="/lib/modules/4.4.92-6.18-default/build"'...
   rm -f -r conftest
   /usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.4.92-6.18-default/build KBUILD_VERBOSE= -C /lib/modules/4.4.92-6.18-default/source M=/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.4.92-6.18-default/source NV_KERNEL_OUTPUT=/lib/modules/4.4.92-6.18-default/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset" INSTALL_MOD_DIR=kernel/drivers/video clean
   make[1]: Entering directory '/usr/src/linux-4.4.92-6.18'
   make[2]: Entering directory '/usr/src/linux-4.4.92-6.18-obj/x86_64/default'
   make[2]: Leaving directory '/usr/src/linux-4.4.92-6.18-obj/x86_64/default'
   make[1]: Leaving directory '/usr/src/linux-4.4.92-6.18'
-> Building kernel modules
   executing: 'cd ./kernel; /usr/bin/make -k -j32  NV_EXCLUDE_KERNEL_MODULES="" SYSsrc="/lib/modules/4.4.92-6.18-default/source" SYSOUT="/lib/modules/4.4.92-6.18-default/build"'...
   /usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.4.92-6.18-default/build KBUILD_VERBOSE= -C /lib/modules/4.4.92-6.18-default/source M=/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.4.92-6.18-default/source NV_KERNEL_OUTPUT=/lib/modules/4.4.92-6.18-default/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset" INSTALL_MOD_DIR=kernel/drivers/video modules
   make[1]: Entering directory '/usr/src/linux-4.4.92-6.18'
   make[2]: Entering directory '/usr/src/linux-4.4.92-6.18-obj/x86_64/default'
     SYMLINK /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/nv-kernel.o
     SYMLINK /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-modeset/nv-modeset-kernel.o
    CONFTEST: INIT_WORK
 [...]
     CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm_page_migration_kepler.o
   /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c: In function ‘os_lock_user_pages’:
   /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c:120:29: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
                                page_count, write, force, user_pages, NULL);
                                ^
   In file included from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-pgprot.h:17:0,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-linux.h:17,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c:15:
   /usr/src/linux-4.4.92-6.18/include/linux/mm.h:1264:6: note: expected ‘struct page **’ but argument is of type ‘NvBool’
    long get_user_pages(unsigned long start, unsigned long nr_pages,
         ^
   /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c:120:29: warning: passing argument 5 of ‘get_user_pages’ from incompatible pointer type [enabled by default]
                                page_count, write, force, user_pages, NULL);
                                ^
   In file included from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-pgprot.h:17:0,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-linux.h:17,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c:15:
   /usr/src/linux-4.4.92-6.18/include/linux/mm.h:1264:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
    long get_user_pages(unsigned long start, unsigned long nr_pages,
         ^
   /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c:120:29: error: too many arguments to function ‘get_user_pages’
                                page_count, write, force, user_pages, NULL);
                                ^
   In file included from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-pgprot.h:17:0,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-linux.h:17,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c:15:
   /usr/src/linux-4.4.92-6.18/include/linux/mm.h:1264:6: note: declared here
    long get_user_pages(unsigned long start, unsigned long nr_pages,
         ^
   /usr/src/linux-4.4.92-6.18/scripts/Makefile.build:259: recipe for target '/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.o' failed
   make[3]: *** [/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.o] Error 1
     CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm_page_migration_maxwell.o
     [...]
     CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_pushbuffer.o
   /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.c: In function ‘map_user_pages’:
   /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.c:227:5: warning: passing argument 5 of ‘get_user_pages’ from incompatible pointer type [enabled by default]
        ret = NV_GET_USER_PAGES(user_va, num_pages, 1, 0, *pages, vmas);
        ^
   In file included from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-pgprot.h:17:0,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-linux.h:17,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm_linux.h:39,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm_common.h:62,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.c:23:
   /usr/src/linux-4.4.92-6.18/include/linux/mm.h:1264:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
    long get_user_pages(unsigned long start, unsigned long nr_pages,
         ^
   /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.c:227:5: error: too many arguments to function ‘get_user_pages’
        ret = NV_GET_USER_PAGES(user_va, num_pages, 1, 0, *pages, vmas);
        ^
   In file included from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-pgprot.h:17:0,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-linux.h:17,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm_linux.h:39,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm_common.h:62,
                    from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.c:23:
   /usr/src/linux-4.4.92-6.18/include/linux/mm.h:1264:6: note: declared here
    long get_user_pages(unsigned long start, unsigned long nr_pages,
         ^
     CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_thread_context.o
     CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tracker.o
     CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_kepler.o
     CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_kepler_ce.o
   /usr/src/linux-4.4.92-6.18/scripts/Makefile.build:259: recipe for target '/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.o' failed
   make[3]: *** [/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.o] Error 1
     CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_kepler_host.o
     [...]
     CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-modeset/nvidia-modeset-linux.o
   ld -r -o /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-modeset/nvidia-modeset-linux.o
     LD [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-modeset.o
   make[3]: Target '__build' not remade because of errors.
   /usr/src/linux-4.4.92-6.18/Makefile:1431: recipe for target '_module_/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel' failed
   make[2]: *** [_module_/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel] Error 2
   make[2]: Target 'modules' not remade because of errors.
   make[2]: Leaving directory '/usr/src/linux-4.4.92-6.18-obj/x86_64/default'
   Makefile:150: recipe for target 'sub-make' failed
   make[1]: *** [sub-make] Error 2
   make[1]: Target 'modules' not remade because of errors.
   make[1]: Leaving directory '/usr/src/linux-4.4.92-6.18'
   Makefile:81: recipe for target 'modules' failed
   make: *** [modules] Error 2
-> Error.
ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details.
-> The command `cd ./kernel; /usr/bin/make -k -j32  NV_EXCLUDE_KERNEL_MODULES="" SYSsrc="/lib/modules/4.4.92-6.18-default/source" SYSOUT="/lib/modules/4.4.92-6.18-default/build"` failed with the following output:

/usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.4.92-6.18-default/build KBUILD_VERBOSE= -C /lib/modules/4.4.92-6.18-default/source M=/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.4.92-6.18-default/source NV_KERNEL_OUTPUT=/lib/modules/4.4.92-6.18-default/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset" INSTALL_MOD_DIR=kernel/drivers/video modules
make[1]: Entering directory '/usr/src/linux-4.4.92-6.18'
make[2]: Entering directory '/usr/src/linux-4.4.92-6.18-obj/x86_64/default'
  SYMLINK /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/nv-kernel.o
  SYMLINK /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-modeset/nv-modeset-kernel.o
 CONFTEST: INIT_WORK
[...]
  CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm_page_migration_kepler.o
/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c: In function ‘os_lock_user_pages’:
/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c:120:29: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
                             page_count, write, force, user_pages, NULL);
                             ^
In file included from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-pgprot.h:17:0,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-linux.h:17,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c:15:
/usr/src/linux-4.4.92-6.18/include/linux/mm.h:1264:6: note: expected ‘struct page **’ but argument is of type ‘NvBool’
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c:120:29: warning: passing argument 5 of ‘get_user_pages’ from incompatible pointer type [enabled by default]
                             page_count, write, force, user_pages, NULL);
                             ^
In file included from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-pgprot.h:17:0,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-linux.h:17,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c:15:
/usr/src/linux-4.4.92-6.18/include/linux/mm.h:1264:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c:120:29: error: too many arguments to function ‘get_user_pages’
                             page_count, write, force, user_pages, NULL);
                             ^
In file included from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-pgprot.h:17:0,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-linux.h:17,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.c:15:
/usr/src/linux-4.4.92-6.18/include/linux/mm.h:1264:6: note: declared here
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/usr/src/linux-4.4.92-6.18/scripts/Makefile.build:259: recipe for target '/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.o' failed
make[3]: *** [/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia/os-mlock.o] Error 1
  CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm_page_migration_maxwell.o
  [...]
  CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_pushbuffer.o
/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.c: In function ‘map_user_pages’:
/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.c:227:5: warning: passing argument 5 of ‘get_user_pages’ from incompatible pointer type [enabled by default]
     ret = NV_GET_USER_PAGES(user_va, num_pages, 1, 0, *pages, vmas);
     ^
In file included from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-pgprot.h:17:0,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-linux.h:17,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm_linux.h:39,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm_common.h:62,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.c:23:
/usr/src/linux-4.4.92-6.18/include/linux/mm.h:1264:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.c:227:5: error: too many arguments to function ‘get_user_pages’
     ret = NV_GET_USER_PAGES(user_va, num_pages, 1, 0, *pages, vmas);
     ^
In file included from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-pgprot.h:17:0,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/common/inc/nv-linux.h:17,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm_linux.h:39,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm_common.h:62,
                 from /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.c:23:
/usr/src/linux-4.4.92-6.18/include/linux/mm.h:1264:6: note: declared here
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
  CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_thread_context.o
  CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tracker.o
  CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_kepler.o
  CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_kepler_ce.o
/usr/src/linux-4.4.92-6.18/scripts/Makefile.build:259: recipe for target '/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.o' failed
make[3]: *** [/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_tools.o] Error 1
  CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-uvm/uvm8_kepler_host.o
  [...]
  CC [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-modeset/nvidia-modeset-linux.o
ld -r -o /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-modeset/nvidia-modeset-linux.o
  LD [M]  /tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel/nvidia-modeset.o
make[3]: Target '__build' not remade because of errors.
/usr/src/linux-4.4.92-6.18/Makefile:1431: recipe for target '_module_/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel' failed
make[2]: *** [_module_/tmp/selfgz12426/NVIDIA-Linux-x86_64-361.93.03/kernel] Error 2
make[2]: Target 'modules' not remade because of errors.
make[2]: Leaving directory '/usr/src/linux-4.4.92-6.18-obj/x86_64/default'
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/src/linux-4.4.92-6.18'
Makefile:81: recipe for target 'modules' failed
make: *** [modules] Error 2
ERROR: The nvidia kernel module was not created.
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.

3 REPLIES 3
Highlighted
Honored Contributor
Solution

Re: Kernel Module error when installing Nvidia driver for Quadro M2000

The error messages look like the kernel might be too new for this particular version of the Nvidia driver.

What is the SP level of the SLES12 installation?

https://www.novell.com/support/kb/doc.php?id=3594951 would seem to indicate the kernel version is greater than in SLES12 SP2, so it is probably SLES12 SP3.

The SLES12 SP3 was released in September of this year, and that HP-delivered driver package was built last year. So the SLES kernel version that you are running simply did not exist at the time the package was created. No wonder you have problems with it.

For such a newer kernel, I would recommend using the driver from the nvidia web site, and troubleshooting the X server start-up failure. First, the X server produces pretty good logs: after making a start-up attempt with the newer driver, what does the /var/log/Xorg.0.log file say? Pay special attention to lines with the marker for warnings (WW) or errors (EE).

MK
Highlighted
Occasional Visitor

Re: Kernel Module error when installing Nvidia driver for Quadro M2000

Thank you for your response.

I solved the problem with Nvidia forum, by putting a minimal setting in xorg.conf file, with the last driver. You should be right for the HP delivered driver, the SLES 12 is SP3.

For now I can't save X configuration at the Gui Nvidia setting as it fails as before, so further on I'll try to look at Xorg.0.log file as you recommended.

 

Cordially

Y.Jin

Highlighted
Honored Contributor

Re: Kernel Module error when installing Nvidia driver for Quadro M2000

As far as I understand, nvidia-settings writes most of its configuration to ~/.nvidia-settings-rc. Does that file exist? Does it have the right ownership and permissions? Is it writeable by the user you're running nvidia-settings as?

The nvidia-settings utility has some settings that are likely to overlap with similar settings in the desktop environment's standard configuration tools. It is possible that the desktop environment's settings get automatically restored at each login - in such a situation, you probably should use the desktop environment's configuration tools for all the things configurable through them, and use nvidia-settings only for those settings that the DE does not have a tool for.

Alternatively, you might want to add a script to run "nvidia-settings --load-config-only" at the end of your GUI login process, so that it will override the desktop environment's settings. Unfortunately I don't know how to do that in SLES 12, but there is probably a way to do that somehow.

On the "X Server Display Configuration" page of nvidia-settings, there is a "Save to X Configuration File" button, but as a regular user (non-root) you're unlikely to be able to write the system-wide X configuration file directly. Fortunately it allows you to use an arbitrary pathname, so you can save the settings to a temporary file, and then move the file into place using sudo or similar.

MK