[solved] Kernel 5.14.5-2-siduction-amd64 und nvidia Problem

Begonnen von Geier0815, 2021/09/17, 15:41:37

Vorheriges Thema - Nächstes Thema

Geier0815

Moin Moin,

nach dem Update auf Kernel 5.14.5-2 startete mein lightdm nicht mehr. Nvidiamodul nicht gebaut...

Zitat von: cat /var/lib/dkms/nvidia-current/470.63.01/build/make.log
DKMS make.log for nvidia-current-470.63.01 for kernel 5.14.5-2-siduction-amd64 (x86_64)
Fr 17. Sep 15:20:59 CEST 2021
make V=1 -C /lib/modules/5.14.5-2-siduction-amd64/build M=/var/lib/dkms/nvidia-current/470.63.01/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/5.14.5-2-siduction-amd64/build NV_KERNEL_OUTPUT=/lib/modules/5.14.5-2-siduction-amd64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm nvidia-peermem" INSTALL_MOD_DIR=kernel/drivers/video NV_SPECTRE_V2=0 modules
make[1]: Verzeichnis ,,/usr/src/linux-headers-5.14.5-2-siduction-amd64" wird betreten
Makefile:712: arch/x86_64/Makefile: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um ,,arch/x86_64/Makefile" zu erstellen.  Schluss.
make[1]: Verzeichnis ,,/usr/src/linux-headers-5.14.5-2-siduction-amd64" wird verlassen
make: *** [Makefile:80: modules] Fehler 2

Kernel 5.14.4-1-siduction-amd64 keine Probleme.
Irgendwer eine Idee woran es liegt?
Wenn Windows die Lösung ist...
kann ich dann bitte das Problem zurück haben?

towo

~
towo:Defiant> ls -ld /usr/src/linux-headers-5.14.5-2-siduction-amd64/arch/x86/Makefile
-rw-r--r-- 1 root root 10878 30. Aug 00:04 /usr/src/linux-headers-5.14.5-2-siduction-amd64/arch/x86/Makefile


Also vorhanden ist das File hier.
Ich hab kein Nvidia, kann das also so auch nicht selbst testen.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

minixjr

Hallo towo,

ich kann bestätigen, dass das Bauen nicht funktioniert.
Aber der gesuchte Pfad ist nicht vorhanden.
Es gibt nur ein Verzeichnis x86, aber nicht x86_64.

:/# ls -lha /usr/src/linux-headers-5.14.5-2-siduction-amd64/arch
insgesamt 52K
drwxr-xr-x  3 root root 4,0K 17. Sep 16:02 .
drwxr-xr-x 23 root root 4,0K 17. Sep 16:02 ..
-rw-r--r--  1 root root  39K 30. Aug 00:04 Kconfig
drwxr-xr-x 25 root root 4,0K 17. Sep 16:02 x86

michaa7

/usr/src/linux-headers-5.14.5-2-siduction-amd64/arch/x86/Makefile

make[1]: Verzeichnis ,,/usr/src/linux-headers-5.14.5-2-siduction-amd64" wird betreten
Makefile:712: arch/x86_64/Makefile: Datei oder Verzeichnis nicht gefunden
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Geier0815

Hatte ich auch schon gesehen, aber das Verzeichnis x86_64 gibt es bei den älteren Kerneln auch nicht. Von daher hab ich das als Fehlerquelle eigentlich ausgeschlossen
Wenn Windows die Lösung ist...
kann ich dann bitte das Problem zurück haben?

Geier0815

Vorbereitung zum Entpacken von .../linux-image-5.14.5-2-siduction-amd64_5.14-5.1_amd64.deb ...
Entpacken von linux-image-5.14.5-2-siduction-amd64 (5.14-5.1) über (5.14-5.1) ...
linux-image-5.14.5-2-siduction-amd64 (5.14-5.1) wird eingerichtet ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 5.14.5-2-siduction-amd64:
Kernel preparation unnecessary for this kernel.  Skipping...
applying patch kernel-5.7.0-set-memory-array.patch...patching file conftest.sh

applying patch linux-2.6.34-dev_pm_info-runtime_auto.patch...patching file conftest.sh

applying patch use-kbuild-compiler.patch...patching file Makefile

applying patch use-kbuild-flags.patch...patching file Kbuild
patching file nvidia/nvidia.Kbuild
patching file Makefile
patching file nvidia-modeset/nvidia-modeset.Kbuild

applying patch use-kbuild-gcc-plugins.patch...patching file Kbuild

applying patch conftest-verbose.patch...patching file Kbuild

applying patch cc_version_check-gcc5.patch...patching file conftest.sh
Hunk #1 succeeded at 4731 (offset 23 lines).

applying patch nvidia-use-ARCH.o_binary.patch...patching file nvidia/nvidia.Kbuild

applying patch nvidia-modeset-use-ARCH.o_binary.patch...patching file nvidia-modeset/nvidia-modeset.Kbuild

applying patch conftest-prefer-arch-headers.patch...patching file conftest.sh


Building module:
cleaning build area...(bad exit status: 2)
unset ARCH; env NV_VERBOSE=1 make -j8 modules KERNEL_UNAME=5.14.5-2-siduction-amd64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.14.5-2-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/470.63.01/build/make.log for more information.


So sieht es bei einem re-install des Kernels aus. Läßt sich damit evtl. was anfangen?
Wenn Windows die Lösung ist...
kann ich dann bitte das Problem zurück haben?

Mister00X

Ich glaube das ist nicht auf Nvidia beschränkt.

Bei mir funktioniert die Installation von https://github.com/tomaspinho/rtl8821ce nicht mehr mit 5.14.5-2 auf meinem Laptop.
Arguing that you don't care about the right to privacy because you have nothing to hide is no different than saying you don't care about free speech because you have nothing to say. – Edward Snowden

towo

Bitte mal den neuen Kernel testen, ich hatte da einen Typo in einem Patch, den ich für 5.14.6-rc6 anpassen musste.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

minixjr

Jetzt geht's.

Building module:
cleaning build area...
unset ARCH; env NV_VERBOSE=1 make -j16 modules KERNEL_UNAME=5.14.5-3-siduction-amd64...........
cleaning build area...

DKMS: build completed.


TOP, Danke

Geier0815

Wenn Windows die Lösung ist...
kann ich dann bitte das Problem zurück haben?

Mister00X

Jetzt funktionierts bei mir auch wieder


Building module:
cleaning build area...
'make' -j8 KVER=5.14.5-3-siduction-amd64...............
cleaning build area...

DKMS: build completed.


Danke!
Arguing that you don't care about the right to privacy because you have nothing to hide is no different than saying you don't care about free speech because you have nothing to say. – Edward Snowden

michaa7

Ok, you can't code, but you still might be able to write a bug report for Debian's sake

charlyheinz

jep- auch hier alles bestens:

5.14.5-3-siduction-amd64 / nvidia-driver 470.63.01-0~siduction.2


Klasse- besten Dank towo