Mailinglist Archive: opensuse-factory (454 mails)

< Previous Next >
Re: [opensuse-factory] Nvidia driver 384.98 + latest kernel 4.14.9-1 in TW
  • From: Christophe Giboudeaux <christophe@xxxxxxx>
  • Date: Wed, 27 Dec 2017 09:58:21 +0100
  • Message-id: <1546862.Cnr1WYDbQg@yuuko>
On mercredi 27 décembre 2017 07:18:48 CET Basil Chupin wrote:
Driver 384.98 does not compile under kernel 4.14.9-1. The
nvidia-installer log shows this error (for those who understand what it
means):

-> Error.
ERROR: An error occurred while performing the step: "Checking to see
whether the nvidia-uvm kernel module was successfully built". See
/var/log/nvidia-installer.log for details.
-> The command `cd ./kernel; /usr/bin/make -k -j8
NV_KERNEL_MODULES="nvidia-uvm" NV_EXCLUDE_KERNEL_MODULES=""
SYSSRC="/lib/modules/4.14.9-1.g9423ca2-default/source"
SYSOUT="/lib/modules/4.14.9-1.g9423ca2-default/build"` failed with the
following output:

/usr/bin/make "CC=cc"
KBUILD_OUTPUT=/lib/modules/4.14.9-1.g9423ca2-default/build
KBUILD_VERBOSE= -C /lib/modules/4.14.9-1.g9423ca2-default/source
M=/tmp/selfgz2375/NVIDIA-Linux-x86_64-384.98/kernel ARCH=x86_64
NV_KERNEL_SOURCES=/lib/modules/4.14.9-1.g9423ca2-default/source
NV_KERNEL_OUTPUT=/lib/modules/4.14.9-1.g9423ca2-default/build
NV_KERNEL_MODULES="nvidia-uvm" INSTALL_MOD_DIR=kernel/drivers/video modules
make[1]: Entering directory '/usr/src/linux-4.14.9-1.g9423ca2'
make[2]: Entering directory
'/usr/src/linux-4.14.9-1.g9423ca2-obj/x86_64/default'
CC [M]
/tmp/selfgz2375/NVIDIA-Linux-x86_64-384.98/kernel/nvidia-uvm/uvm8_va_block.o
In file included from
/usr/src/linux-4.14.9-1.g9423ca2/arch/x86/include/asm/cpufeature.h:5:0,
from
/usr/src/linux-4.14.9-1.g9423ca2/arch/x86/include/asm/thread_info.h:53,
from
/usr/src/linux-4.14.9-1.g9423ca2/include/linux/thread_info.h:38,
from
/usr/src/linux-4.14.9-1.g9423ca2/arch/x86/include/asm/preempt.h:7,
from
/usr/src/linux-4.14.9-1.g9423ca2/include/linux/preempt.h:81,
from
/usr/src/linux-4.14.9-1.g9423ca2/include/linux/spinlock.h:51,
from
/tmp/selfgz2375/NVIDIA-Linux-x86_64-384.98/kernel/common/inc/nv-lock.h:16,
from
/tmp/selfgz2375/NVIDIA-Linux-x86_64-384.98/kernel/common/inc/nv-linux.h:19,
from
/tmp/selfgz2375/NVIDIA-Linux-x86_64-384.98/kernel/nvidia-uvm/uvm_linux.h:39,
from
/tmp/selfgz2375/NVIDIA-Linux-x86_64-384.98/kernel/nvidia-uvm/uvm8_va_block.c
:24:
/tmp/selfgz2375/NVIDIA-Linux-x86_64-384.98/kernel/nvidia-uvm/uvm8_va_block.
c: In function ‘block_cpu_fault_locked’:
/usr/src/linux-4.14.9-1.g9423ca2/arch/x86/include/asm/processor.h:826:39:
error: implicit declaration of function ‘task_stack_page’; did you mean
‘task_stack_vm_area’? [-Werror=implicit-function-declaration]
unsigned long __ptr = (unsigned long)task_stack_page(task); \
^
/usr/src/linux-4.14.9-1.g9423ca2/arch/x86/include/asm/processor.h:900:26:
note: in expansion of macro ‘task_pt_regs’
#define KSTK_EIP(task) (task_pt_regs(task)->ip)
^~~~~~~~~~~~
/tmp/selfgz2375/NVIDIA-Linux-x86_64-384.98/kernel/nvidia-uvm/uvm8_va_block.c
:8771:41: note: in expansion of macro ‘KSTK_EIP’
KSTK_EIP(current));
^~~~~~~~
cc1: some warnings being treated as errors
make[3]: ***
[/usr/src/linux-4.14.9-1.g9423ca2/scripts/Makefile.build:315:
/tmp/selfgz2375/NVIDIA-Linux-x86_64-384.98/kernel/nvidia-uvm/uvm8_va_block.o
] Error 1
make[3]: Target '__build' not remade because of errors.
make[2]: *** [/usr/src/linux-4.14.9-1.g9423ca2/Makefile:1509:
_module_/tmp/selfgz2375/NVIDIA-Linux-x86_64-384.98/kernel] Error 2
make[2]: Target 'modules' not remade because of errors.
make[2]: Leaving directory
'/usr/src/linux-4.14.9-1.g9423ca2-obj/x86_64/default'
make[1]: *** [Makefile:146: sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/src/linux-4.14.9-1.g9423ca2'
make: *** [Makefile:81: modules] Error 2
ERROR: The nvidia-uvm kernel module was not created.
ERROR: The nvidia-uvm kernel module failed to build. This kernel module
is required for the proper operation of CUDA. If you do not need to use
CUDA, you can try to install this driver package again with the
'--no-unified-memory' option.


Anyone know of a work-around (in lieu of the suggested option given in
the last para.?


Yes, read https://devtalk.nvidia.com/default/topic/1028016/b/t/post/5228999/




--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References