dkms-nvidia-current-331.20-3

About OpenMandriva
Post Reply
User avatar
MauRice
Utente
Utente
Posts: 185
Joined: 30 May 2008, 12:11
OpenMandriva: cooker
Contact:

dkms-nvidia-current-331.20-3

Post by MauRice »

Have someone problems with building dkms-nvidia-current-331.20-3 on OpenMandriva 2013Lx (64bits).
It won't build the kernel-module.
Not with kernel kernel-nrjQL-desktop-3.11.8-1omv and with 3.11.10-nrjQL-desktop-69omv
Somethings wrong with "uvm"
DKMS make.log for nvidia-current-331.20-3 for kernel 3.11.10-nrjQL-desktop-69omv (x86_64)
Thu Dec 12 20:21:57 CET 2013
make: *** uvm: No such file or directory. Stop.
Any idea?

Ciao,
MauRice
Registered Linux user: 473556
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be

User avatar
stefano1956
Utente senior
Utente senior
Posts: 381
Joined: 22 May 2012, 15:50
ROSA: Rosa2016.1
OpenMandriva: Oma 4.1 LX
Kernel: 4.9.124
Desktop: kde
country: Italia

Re: dkms-nvidia-current-331.20-3

Post by stefano1956 »

...I think only reinstall old drivers :-( at the moment... and wait for a new update

User avatar
MauRice
Utente
Utente
Posts: 185
Joined: 30 May 2008, 12:11
OpenMandriva: cooker
Contact:

Re: dkms-nvidia-current-331.20-3

Post by MauRice »

Still no luck.
Creating a folder /usr/src/nvidia-current-331.20-3/uvm
Copy these files into:

Code: Select all

conftest.sh                     nvidia_page_migration_kepler.h  nvidia_uvm_lite_api.c       nvidia_uvm_lite.h
Makefile                        nvidia_uvm_common.c             nvidia_uvm_lite.c           nvidia_uvm_page_cache.c
nvidia_page_migration.c         nvidia_uvm_common.h             nvidia_uvm_lite_counters.c  nvidia_uvm_utils.c
nvidia_page_migration.h         nvidia_uvm_linux.c              nvidia_uvm_lite_counters.h  nvidia_uvm_utils.h
nvidia_page_migration_kepler.c  nvidia_uvm_linux.h              nvidia_uvm_lite_events.c
Let dkms compile the kernel-module...(make.log last 50 lines)

Code: Select all

                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_linux.h:62,
                 from /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_common.h:49,
                 from /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_lite_events.c:25:
include/linux/cpumask.h: In function ‘cpumask_parse’:
include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-3.11.10-nrjQL-desktop-69omv/arch/x86/include/asm/uaccess.h:539:0,
                 from include/linux/poll.h:11,
                 from /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_linux.h:120,
                 from /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_common.h:49,
                 from /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_lite_events.c:25:
/usr/src/linux-3.11.10-nrjQL-desktop-69omv/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.11.10-nrjQL-desktop-69omv/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_lite_events.o != "scripts/mod/empty.o" ]; then /usr/src/linux-3.11.10-nrjQL-desktop-69omv/scripts/recordmcount  "/var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_lite_events.o"; fi; fi;
  ld -m elf_x86_64   -r -o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia-uvm.o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_linux.o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_common.o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_utils.o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_lite.o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_page_cache.o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_lite_api.o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_lite_counters.o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_page_migration.o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_page_migration_kepler.o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia_uvm_lite_events.o 
ld: warning: Disabling --icf due to -r
(cat /dev/null;   echo kernel//var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia-uvm.ko;) > /var/lib/dkms/nvidia-current/331.20-3/build/uvm/modules.order
make -f /usr/src/linux-3.11.10-nrjQL-desktop-69omv/scripts/Makefile.modpost
  find /var/lib/dkms/nvidia-current/331.20-3/build/uvm/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -m -a -i /usr/src/linux-3.11.10-nrjQL-desktop-69omv/Module.symvers -I /var/lib/dkms/nvidia-current/331.20-3/build/uvm/Module.symvers  -o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/Module.symvers -S -w -s -T -
WARNING: "nvUvmInterfaceDeRegisterUvmOps" [/var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia-uvm.ko] undefined!
WARNING: "nvUvmInterfaceRegisterUvmOps" [/var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia-uvm.ko] undefined!
  cc -Wp,-MD,/var/lib/dkms/nvidia-current/331.20-3/build/uvm/.nvidia-uvm.mod.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-mandriva-linux-gnu/4.7.4/include -I/usr/src/linux-3.11.10-nrjQL-desktop-69omv/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-3.11.10-nrjQL-desktop-69omv/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.11.10-nrjQL-desktop-69omv/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.11.10-nrjQL-desktop-69omv/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/var/lib/dkms/nvidia-current/331.20-3/build/uvm -I/var/lib/dkms/nvidia-current/331.20-3/build -I/var/lib/dkms/nvidia-current/331.20-3/build/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.20\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/var/lib/dkms/nvidia-current/331.20-3/build/uvm -I/var/lib/dkms/nvidia-current/331.20-3/build -I/var/lib/dkms/nvidia-current/331.20-3/build/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.20\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\"  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia_uvm.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia_uvm)" -DMODULE  -c -o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia-uvm.mod.o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia-uvm.mod.c
In file included from include/linux/kernel.h:10:0,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:4,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia-uvm.mod.c:1:
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-3.11.10-nrjQL-desktop-69omv/arch/x86/include/asm/cpumask.h:4:0,
                 from /usr/src/linux-3.11.10-nrjQL-desktop-69omv/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-3.11.10-nrjQL-desktop-69omv/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-3.11.10-nrjQL-desktop-69omv/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia-uvm.mod.c:1:
include/linux/cpumask.h: In function ‘cpumask_parse’:
include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  ld -r -m elf_x86_64 -T /usr/src/linux-3.11.10-nrjQL-desktop-69omv/scripts/module-common.lds --build-id  -o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia-uvm.ko /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia-uvm.o /var/lib/dkms/nvidia-current/331.20-3/build/uvm/nvidia-uvm.mod.o
ld: warning: Disabling --icf due to -r
make[1]: Leaving directory `/usr/src/linux-3.11.10-nrjQL-desktop-69omv'
NVIDIA: left KBUILD.
make: Leaving directory `/var/lib/dkms/nvidia-current/331.20-3/build/uvm'
Back to the old driver.
Registered Linux user: 473556
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be

User avatar
NicCo
Amministratore
Amministratore
Posts: 4740
Joined: 6 December 2007, 19:54

Re: dkms-nvidia-current-331.20-3

Post by NicCo »

I had already signaled the issue with new nvidia driver to omv, and now I've forwarded also this link



thanks,
bye, NicCo
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
MauRice
Utente
Utente
Posts: 185
Joined: 30 May 2008, 12:11
OpenMandriva: cooker
Contact:

Re: dkms-nvidia-current-331.20-3

Post by MauRice »

Thanks NicCo,

I also reported to bugzilla...
https://issues.openmandriva.org/show_bug.cgi?id=403

Ciao,
MauRice
Registered Linux user: 473556
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be

User avatar
stefano1956
Utente senior
Utente senior
Posts: 381
Joined: 22 May 2012, 15:50
ROSA: Rosa2016.1
OpenMandriva: Oma 4.1 LX
Kernel: 4.9.124
Desktop: kde
country: Italia

Re: dkms-nvidia-current-331.20-3

Post by stefano1956 »

Fixed! Release 331.20.6 works fine! Merry Christmas, folks!

User avatar
MauRice
Utente
Utente
Posts: 185
Joined: 30 May 2008, 12:11
OpenMandriva: cooker
Contact:

Re: dkms-nvidia-current-331.20-3

Post by MauRice »

Even with kernel 3.12.5-nrjQL-desktop-69omv.

Ciao
MauRice
Registered Linux user: 473556
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be

Post Reply