Siduction Forum
Siduction Forum => Upgrade Warnings => Topic started by: ro_sid on 2024/03/29, 10:43:36
-
DKMS kann für den neuen (Siduction-)Kernel 6.8(.2) kein Modul aus dem "neuen" proprietären (nicht-Siduction) "unstable" Nvidia-Treiber bauen. Der "Build" schlägt fehl.
-
I can confirm the issue with kernel 6.8 and nvidia drivers.
-
hier das selbe :o
Building module:
Cleaning build area...
Building module(s).....(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j20 modules KERNEL_UNAME=6.8.2-1-siduction-amd64
Error! Bad return status for module build on kernel: 6.8.2-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-tesla-470/470.239.06/build/make.log for more information.
dkms autoinstall on 6.8.2-1-siduction-amd64/x86_64 succeeded for virtualbox
dkms autoinstall on 6.8.2-1-siduction-amd64/x86_64 failed for nvidia-current(10) nvidia-tesla-470(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.8.2-1-siduction-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: Fehler beim Bearbeiten des Paketes linux-image-6.8.2-1-siduction-amd64 (--configure):
»installiertes post-installation-Skript des Paketes linux-image-6.8.2-1-siduction-amd64«-Unterprozess gab den Fehlerwert 11 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-siduction-amd64:
linux-image-siduction-amd64 hängt ab von linux-image-6.8.2-1-siduction-amd64 (= 6.8-2); aber:
Paket linux-image-6.8.2-1-siduction-amd64 ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes linux-image-siduction-amd64 (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-headers-siduction-amd64:
linux-headers-siduction-amd64 hängt ab von linux-headers-6.8.2-1-siduction-amd64 (= 6.8-2); aber:
Paket linux-headers-6.8.2-1-siduction-amd64 ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes linux-headers-siduction-amd64 (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
linux-headers-6.8.2-1-siduction-amd64
linux-image-6.8.2-1-siduction-amd64
linux-image-siduction-amd64
linux-headers-siduction-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
Und
/var/lib/dkms/nvidia-tesla-470/470.239.06/build/make.log
sagt was?
-
bekomme es hier nicht reinkopiert ... überschreitet die 20000 zeichen :-X
hier per link
http://klangruinen.de/make.log (http://klangruinen.de/make.log)
-
@towo: Bei mir ist es nvidia(-current) [nicht "tesla"], aber ich vermute denselben Fehler.
Gerne liefere ich auch die gesamte make.log-Datei, aber sie ist 1.3MB groß und ich vermute folgendes reicht auch [es sind die einzigen Zeilen, die " error" enthalten]:
/var/lib/dkms/nvidia-current/535.161.08/build/nvidia-drm/nvidia-drm-gem.c:115:16: error: initialization of ‘int (*)(struct drm_gem_object *, struct iosys_map *)’ from incompatible pointer type ‘void * (*)(struct drm_gem_object *)’ [-Wincompatible-pointer-types]
115 | .vmap = nv_drm_gem_prime_vmap,
| ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia-current/535.161.08/build/nvidia-drm/nvidia-drm-gem.c:115:16: note: (near initialization for ‘nv_drm_gem_funcs.vmap’)
/var/lib/dkms/nvidia-current/535.161.08/build/nvidia-drm/nvidia-drm-gem.c:116:16: error: initialization of ‘void (*)(struct drm_gem_object *, struct iosys_map *)’ from incompatible pointer type ‘void (*)(struct drm_gem_object *, void *)’ [-Wincompatible-pointer-types]
116 | .vunmap = nv_drm_gem_prime_vunmap,
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia-current/535.161.08/build/nvidia-drm/nvidia-drm-gem.c:116:16: note: (near initialization for ‘nv_drm_gem_funcs.vunmap’)
make[3]: *** [scripts/Makefile.build:248: /var/lib/dkms/nvidia-current/535.161.08/build/nvidia-drm/nvidia-drm-gem.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[...]
make[2]: *** [/usr/src/linux-headers-6.8.2-1-siduction-amd64/Makefile:1946: /var/lib/dkms/nvidia-current/535.161.08/build] Error 2
make[1]: *** [Makefile:252: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.2-1-siduction-amd64'
make: *** [Makefile:82: modules] Error 2
-
Jupp, bestätigt, da wurde wohl nachträglich im Kernel etwas geändert. Für Leute, die keine Legacy Treiber benötigen, habe ich Nvidia 550.67 ins fixes Repo gepackt, der kompiliert gegen 6.8.2.
für 535 und 470 habe ich noch keine Patches gefunden, aber ich gucke.
-
@towo: Ja danke, die 550er-Version kompiliert (zumindest) unter den Kerneln 6.7(.10) und 6.8(.2).
Das nvidia-suspend-common (535) Paket wird für überflüssig erklärt. Ob es das ist oder nur das 550er fehlt, kann ich nicht sagen. Eventuell ist es (wieder einmal) ein "Redesign" von Nvidia.
["Verloren" ist (zur Zeit) ein nvidia-pkcs12-Paket.]
Soweit mein Befund. Nochmals danke.
-
...
für 535 und 470 habe ich noch keine Patches gefunden, aber ich gucke.
Super! Danke vorab.
-
Jupp, bestätigt, da wurde wohl nachträglich im Kernel etwas geändert. Für Leute, die keine Legacy Treiber benötigen, habe ich Nvidia 550.67 ins fixes Repo gepackt, der kompiliert gegen 6.8.2.
Legacy-Treiber werden vermutlich nicht mehr unterstützt?
-
Legacy wird schon lange nicht mehr unterstützt, Patches kommen nur noch von der Community.
-
Legacy wird schon lange nicht mehr unterstützt, Patches kommen nur noch von der Community.
Und gibt es noch Liebhaber des "nvidia-legacy-340xx-driver"? 8)
Den würde ich gerne noch verwenden.
-
einen neuen 535 gibt es in kürze, Build läuft gerade, der hat für nvidia-drm-gem.c die erforderliche Änderung drin.
-
Legacy wird schon lange nicht mehr unterstützt, Patches kommen nur noch von der Community.
Und gibt es noch Liebhaber des "nvidia-legacy-340xx-driver"? 8)
Den würde ich gerne noch verwenden.
Das weiss ich nicht, ich habe keinerlei Nvidia in meinem privaten Rechnern.
-
Legacy wird schon lange nicht mehr unterstützt, Patches kommen nur noch von der Community.
Und gibt es noch Liebhaber des "nvidia-legacy-340xx-driver"? 8)
Den würde ich gerne noch verwenden.
Das weiss ich nicht, ich habe keinerlei Nvidia in meinem privaten Rechnern.
Würde ich auch nicht mehr nehmen. Ich kann mich nur noch nicht von meinem alten "Eisen" trennen.
-
Nuja, dann ist eine Distro, die für moderne Hardware konzipiert ist, wohl eher nicht das Richtige für ein "altes Eisen".
-
@towo: Danke fürs Nachlegen beim (550) Nvidia-Treiber! Alle (von mir vermißten) Pakete (nvidia-suspend-commn, pkcs12) sind nun wieder "an Bord".
-
Ich habe einen ähnlichen Fall (aktuelle Grafikkarte: RTX 3080 TI (mobile): 6.8.2-1-siduction-amd64 nach dem letzten Update:
Log beim dist-upgrade:
Setting up nvidia-kernel-dkms (535.161.08-1) ...
Removing old nvidia-current-535.161.08 DKMS files...
Deleting module nvidia-current-535.161.08 completely from the DKMS tree.
Loading new nvidia-current-535.161.08 DKMS files...
Building for 6.8.2-1-siduction-amd64
Building initial module for 6.8.2-1-siduction-amd64
Error! Bad return status for module build on kernel: 6.8.2-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/535.161.08/build/make.log for more information.
dpkg: error processing package nvidia-kernel-dkms (--configure):
installed nvidia-kernel-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 535.161.08-1) | nvidia-kernel-535.161.08 | nvidia-open-kernel-535.161.08; however:
Package nvidia-kernel-dkms is not configured yet.
Package nvidia-kernel-535.161.08 is not installed.
Package nvidia-kernel-dkms which provides nvidia-kernel-535.161.08 is not configured yet.
Package nvidia-open-kernel-535.161.08 is not installed.
Full log:
http://martindeutsch.de/download/2024-03-31_nvidia-dkms_make.log
Bisher konnte ich meine Probleme immer selber anhand dieses Forum lösen. Vielen Dank an alle, ich hoffe, ich kann in Zukunft auch etwa beitragen.
Edit: Formatierung verbessert.
-
~/Downloads/Games/Assetto/Mods
towo:Defiant> apt policy nvidia-driver
nvidia-driver:
Installiert: (keine)
Installationskandidat: 550.67-0siduction2
Versionstabelle:
550.67-0siduction2 500
500 https://packages.siduction.org/fixes unstable/non-free amd64 Packages
545.23.06-1 90
90 https://deb.debian.org/debian experimental/non-free amd64 Packages
535.171.04-0siduction1 500
500 https://packages.siduction.org/extra unstable/non-free amd64 Packages
535.161.08-1 500
500 https://deb.debian.org/debian unstable/non-free amd64 Packages
Das der Treiber aus Debian nicht funktioniert, das ist bekannt. Du wirst schon einen der beiden Treiber aus unserem Repo nehmen müssen.
-
Perfekt, vielen Dank @towo.
Die Zeile:
deb https://packages.siduction.org/extra unstable non-free
in meinen apt-sources hat mich weiter gebracht (die hatte ich seit langem auskommentiert :-[).
Ich bekomme jetzt das normale
The following packages have unmet dependencies:
nvidia-driver : Depends: nvidia-kernel-dkms (= 535.171.04-0siduction1) but 535.161.08-1 is installed or
nvidia-kernel-535.171.04 or
nvidia-open-kernel-535.171.04 but it is not installable
Dann warte ich einfach :-).
Remark:
Adding the line in your apt sources:
deb https://packages.siduction.org/extra unstable non-free
gives an unmet the dependency which should be resolved in the future.
Edit: Formatierung bearbeitet.
-
deb https://packages.siduction.org/extra unstable non-free contrib non-free-firmware
Dann klappts auch mit dem Treiber.
-
Super, danke, einen Schritt weiter:
The following packages have unmet dependencies:
nvidia-driver : Depends: nvidia-kernel-dkms (= 550.67-0siduction2) but 535.161.08-1 is installed or
nvidia-kernel-550.67 or
nvidia-open-kernel-550.67 but it is not installable
Recommends: nvidia-settings (>= 550) but 535.171.04-1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Nvidia hat wohl vor kurzem die 550-Treiber https://www.nvidia.com/download/driverResults.aspx/223432/en-us/ (https://www.nvidia.com/download/driverResults.aspx/223432/en-us/) ausgerollt.
-
Nvidia hat wohl vor kurzem die 550-Treiber https://www.nvidia.com/download/driverResults.aspx/223432/en-us/ (https://www.nvidia.com/download/driverResults.aspx/223432/en-us/) ausgerollt.
The 550.x driver is available in the siduction fixes repo:
deb https://liquorix.net/siduction/fixes unstable main contrib non-free non-free-firmware
(use your mirror)
One one machine, it installed correctly and is working well:
don@Hibiscus:~$ inxi -SG
System:
Host: Hibiscus Kernel: 6.7.6-1-siduction-amd64 arch: x86_64 bits: 64
Desktop: KDE Plasma v: 5.27.10 Distro: siduction 22.1.2 Masters_of_War -
kde - (202303151559)
Graphics:
Device-1: NVIDIA GM107 [GeForce GTX 750 Ti] driver: nvidia v: 550.67
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 driver: X:
loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia
resolution: 1366x768~60Hz
API: EGL v: 1.5 drivers: kms_swrast,nvidia,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.67
renderer: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2
However, on another machine, it appeared to install correctly, but it broke the transition to graphical.target, so booting to the desktop hangs there and the desktop does not come up.
don@dibl-MOW:~$ inxi -SG
System:
Host: dibl-MOW Kernel: 6.7.6-1-siduction-amd64 arch: x86_64 bits: 64
Desktop: KDE Plasma v: 5.27.10 Distro: siduction 22.1.2 Masters_of_War -
kde - (202303151559)
Graphics:
Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nouveau v: kernel
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau
resolution: 1: 1920x1200~60Hz 2: 1920x1080~60Hz
API: EGL v: 1.5 drivers: nouveau,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 24.0.4-1 renderer: NV136
So this one is now using the nouveau driver (which actually looks pretty good ...).
Tomorrow if time permits, I will try again with the new driver and see if I can find out what is going wrong.
Entschuldigung sie, bitte, für englisch.
-
driver: nouveau v: kernel
seems odd
-
Vielen Dank! Thx a lot!
I changed the repo and get a better error:
Ich habe das Repo geändert und bekomme einen besseren Fehler:
Setting up nvidia-kernel-dkms (550.67-0siduction2) ...
Removing old nvidia-current-550.67 DKMS files...
Deleting module nvidia-current-550.67 completely from the DKMS tree.
Loading new nvidia-current-550.67 DKMS files...
Building for 6.8.2-1-siduction-amd64
Building initial module for 6.8.2-1-siduction-amd64
Error! Bad return status for module build on kernel: 6.8.2-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/550.67/build/make.log for more information.
dpkg: error processing package nvidia-kernel-dkms (--configure):
installed nvidia-kernel-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 550.67-0siduction2) | nvidia-kernel-550.67 | nvidia-open-kernel-550.67; however:
Package nvidia-kernel-dkms is not configured yet.
Package nvidia-kernel-550.67 is not installed.
Package nvidia-kernel-dkms which provides nvidia-kernel-550.67 is not configured yet.
Package nvidia-open-kernel-550.67 is not installed.
dpkg: error processing package nvidia-driver (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nvidia-kernel-dkms
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
Log in /var/lib/dkms/nvidia-current/550.67/build/make.log contains/enthält:
DKMS make.log for nvidia-current-550.67 for kernel 6.8.2-1-siduction-amd64 (x86_64)
Mo 1. Apr 00:26:05 CEST 2024
make V=1 -C /lib/modules/6.8.2-1-siduction-amd64/build M=/var/lib/dkms/nvidia-current/550.67/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/6.8.2-1-siduction-amd64/build NV_KERNEL_OUTPUT=/lib/modules/6.8.2-1-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]: Entering directory '/usr/src/linux-headers-6.8.2-1-siduction-amd64'
make --no-print-directory -C /usr/src/linux-headers-6.8.2-1-siduction-amd64 \
-f /usr/src/linux-headers-6.8.2-1-siduction-amd64/Makefile modules
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make[2]: *** [/usr/src/linux-headers-6.8.2-1-siduction-amd64/Makefile:809: include/config/auto.conf] Error 1
make[1]: *** [Makefile:252: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.2-1-siduction-amd64'
make: *** [Makefile:85: modules] Error 2
-
I was able to solve it based on the make error, I had to reinstall the linux-headers:
sudo apt install --reinstall linux-headers-$(uname -r)
Thx a lot for your help!
Edit:
Before I installed the generic Linux headers:
sudo apt install linux-headers-generic
-
I tried reinstalling the headers and adding the other repository but I still have issues with Virtualbox dkms.
Update:
Error: Installation has failed.
If you'd like to file a bug report please include '/var/log/nala/dpkg-debug.log'
dkms autoinstall on 6.8.2-1-siduction-amd64/x86_64 succeeded for virtualbox
dkms autoinstall on 6.8.2-1-siduction-amd64/x86_64 failed for nvidia-current(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.8.2-1-siduction-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.8.2-1-siduction-amd64.postinst line 11.
-
I tried reinstalling the headers and adding the other repository but I still have issues with Virtualbox dkms.
No, not with "Virtualbox dkms", but with "nvidia( dkms)":
Update:
Error: Installation has failed.
If you'd like to file a bug report please include '/var/log/nala/dpkg-debug.log'
dkms autoinstall on 6.8.2-1-siduction-amd64/x86_64 succeeded for virtualbox
dkms autoinstall on 6.8.2-1-siduction-amd64/x86_64 failed for nvidia-current(10)
Error! One or more modules failed to install during autoinstall.
[...]
Most likely, you (still) have not installed the "right" nvidia-package from the Siduction(!), not Debian repository.
-
You are right.
I have the nvidia debian repository because I have cuda installed so this is the reason why I am not getting the siduction package.
I will wait for nvidia do update those packages for the latest linux kernel.
-
It is possible to know the patch you did in the package?
Just to see if I can patch the nvidia-driver I am using from the nvidia repository as I am using it for cuda.
-
I have no added any patch. The problem is the kernel is build with gcc-14 and the midule-sorce was not compatible with gcc-14. Nvidia upstream has fixed that in the new versions of the driver.
You can try the following:
put
make CC=/bin/gcc-13 IGNORE_CC_MISMATCH=1 ...
in your dkms.conf. But that only works, if your nvidia version is generaly compatible with kernel 6.8.
Besides of that, we do not support packages, installed from 3rd party repos.
You even can wait for the next kernel-update, which use gcc-13 for compiling.
-
I will wait for the next kernel version :-)
-
And that all seems to work nicely now - Linux sidomen 6.8.5-1-siduction-amd64.
-
It worked for me too with kernel 6.8.5-1
-
Hello- which Nvidia-driver are you using? I would like to have the 550... Nvidia proprietary driver running on my system with the actual kernel (6.8.6-1), but for me it dos not work!
Are you using the Nouveau- driver?
The only Nvidia-driver running with this kernel for me is 535.171.04-0siduction1.
Am I right?
-
You will never get help with such a description:
but for me it dos not work!
-
Sorry towo
With nvidia-driver 550... from the fix repro glxinfo tells me that I am using mesa as glx- implementation not Nvidia. That is all.
Any help / idea...
But I can live with that using Nvidia-driver 535.171.04-0siduction1 as it works out of the box!
-
What shall I say? I am using an "Optimus"-Laptop. A "primusrun glxinfo" works just fine, reporting the Nvidia-driver. It is the "550.67-0siduction2" version with the "6.8.6-1-siduction-amd64_6.8-6" linux kernel (- it also worked with the 6.8.5-1-siduction kernel).
It certainly is not a general problem, unlike the one that started this thread.
So you have to be a little more specific.
-
How is the situation with nvidia-tesla-470-driver? Anyone has it working with kernel 6.8.x ? I am still on 6.7.x
-
470.239.06-1 should™ work.
-
I thought there was need for a new patch from nvidia to make it work with 6.8.x and therefor was waiting for new nvidia packages all the time. I may have misunderstood one of your postings ...
Anyway, modules for 6.8.x are build and system is rebooted ... all is fine.
Thanks