I appreciate that Rawhide is not a supported version of Fedora. But something has changed in the kernel source or compiler, and the Nvidia drive does not compile, so this will presumably still be broken for the next stable release, Fedora 27.
@leigh123linux
Since debian does not provide 378.13, can you make a 4.11-patch for 375.39 too?
375.39 in debian has tha patch for 4.10, but not for 4.11 and since that module changing is not really legal, debian will never get such 4.11 patch.
Same problem on Fedora 25 since kernel-4.10.5-200.fc25.x86_64 if the nvidia installer tries to install the DKMS kernel module. Of course the same again yesterday with kernel-4.10.6-200.fc25.x86_64.
→ Installing DKMS kernel module:
ERROR: Failed to run /usr/sbin/dkms build -m nvidia -v 378.13 -k 4.10.6-200.fc25.x86_64:
Kernel preparation unnecessary for this kernel. Skipping…
Building module:
cleaning build area…
‘make’ -j3 NV_EXCLUDE_BUILD_MODULES=‘’ KERNEL_UNAME=4.10.6-200.fc25.x86_64 modules…(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.10.6-200.fc25.x86_64 (x86_64)
Consult /var/lib/dkms/nvidia/378.13/build/make.log for more information.
→ error.
ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information.
/var/lib/dkms/nvidia/378.13/build/make.log:
…
/var/lib/dkms/nvidia/378.13/build/nvidia/nv-pat.c: In Funktion »nvidia_cpu_callback«:
/var/lib/dkms/nvidia/378.13/build/nvidia/nv-pat.c:213:14: Fehler: »CPU_DOWN_FAILED« nicht deklariert (erste Benutzung in dieser Funktion)
case CPU_DOWN_FAILED:
^~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/378.13/build/nvidia/nv-pat.c:213:14: Anmerkung: jeder nicht deklarierte Bezeichner wird nur einmal für jede Funktion, in der er vorkommt, gemeldet
/var/lib/dkms/nvidia/378.13/build/nvidia/nv-pat.c:220:14: Fehler: »CPU_DOWN_PREPARE« nicht deklariert (erste Benutzung in dieser Funktion)
case CPU_DOWN_PREPARE:
^~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/378.13/build/nvidia/nv-pat.c:15:0:
/var/lib/dkms/nvidia/378.13/build/nvidia/nv-pat.c: In Funktion »nv_init_pat_support«:
/var/lib/dkms/nvidia/378.13/build/common/inc/nv-linux.h:391:34: Fehler: Implizite Deklaration der Funktion »register_cpu_notifier« [-Werror=implicit-function-declaration] #define register_hotcpu_notifier register_cpu_notifier
^
/var/lib/dkms/nvidia/378.13/build/nvidia/nv-pat.c:258:17: Anmerkung: bei Substitution des Makros »register_hotcpu_notifier«
if (register_hotcpu_notifier(&nv_hotcpu_nfb) != 0)
^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/378.13/build/nvidia/nv-pat.c: In Funktion »nv_teardown_pat_support«:
/var/lib/dkms/nvidia/378.13/build/common/inc/nv-linux.h:388:36: Fehler: Implizite Deklaration der Funktion »unregister_cpu_notifier« [-Werror=implicit-function-declaration] #define unregister_hotcpu_notifier unregister_cpu_notifier
^
/var/lib/dkms/nvidia/378.13/build/nvidia/nv-pat.c:283:9: Anmerkung: bei Substitution des Makros »unregister_hotcpu_notifier«
unregister_hotcpu_notifier(&nv_hotcpu_nfb);
^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: Einige Warnungen werden als Fehler behandelt
/usr/src/kernels/4.10.6-200.fc25.x86_64/scripts/Makefile.build:294: die Regel für Ziel „/var/lib/dkms/nvidia/378.13/build/nvidia/nv-pat.o“ scheiterte
make[3]: *** [/var/lib/dkms/nvidia/378.13/build/nvidia/nv-pat.o] Fehler 1
make[3]: *** Es wird auf noch nicht beendete Prozesse gewartet…
/usr/src/kernels/4.10.6-200.fc25.x86_64/Makefile:1494: die Regel für Ziel „module/var/lib/dkms/nvidia/378.13/build“ scheiterte
make[2]: *** [module/var/lib/dkms/nvidia/378.13/build] Fehler 2
make[2]: Verzeichnis „/usr/src/kernels/4.10.6-200.fc25.x86_64“ wird verlassen
Makefile:150: die Regel für Ziel „sub-make“ scheiterte
make[1]: *** [sub-make] Fehler 2
make[1]: Verzeichnis „/usr/src/kernels/4.10.6-200.fc25.x86_64“ wird verlassen
Makefile:81: die Regel für Ziel „modules“ scheiterte
make: *** [modules] Fehler 2
I’m sorry, but the patch does not work. I just want to make it clear that we need more than the patch. I can not make kernel updates. The last two kernel I can not use. I am using kernel-4.9.14-200.fc25.x86_64. Kernel-4.10.6-200.fc25.x86_64 is also installed. But I must stand on kernel-4.9.14-200.fc25.x86_64 as I DKMS affirm.
O.K. apologies, I’ve understood it so, Nvidia driver 378.13 includes the patch. I did not know I had to make a patch too. Now it is done, the system is running. Sorry for the trouble.
I kinda don’t recognize NVIDIA any longer. They are now late by almost two kernel releases in providing compatible drivers. I don’t remember if we ever had a situation like this.