Nvidia-Modul lässts ich nicht bauen

Welches Modul/Treiber für welche Hardware, Kernel compilieren...
Antworten
nahemoth
Beiträge: 56
Registriert: 13.03.2005 16:07:19
Kontaktdaten:

Nvidia-Modul lässts ich nicht bauen

Beitrag von nahemoth » 29.12.2023 13:51:45

Hallo,
ich habe, wieder einmal, Probleme mit dem Nvidia-Treiber und wie es scheint mit den Paket-Abhängigkeiten.

Ich fange mal vorne an, meine /etc/apt/sources.list:
deb http://deb.debian.org/debian/ testing upstream main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ testing main contrib non-free non-free-firmware

deb http://deb.debian.org/debian/ testing-updates main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ testing-updates main contrib non-free non-free-firmware

deb http://deb.debian.org/debian-security testing-security main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian-security testing-security main contrib non-free non-free-firmware

Ich habe versucht den aktuellen Kernel zu installieren, aber, er kann die Module wieder nicht bauen

Code: Alles auswählen

# apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  appstream dalvik-exchange dctrl-tools dh-dkms firmware-nvidia-gsp freeglut3 g++-12 gcc-12-base:i386 gdisk gir1.2-gtksource-4 gir1.2-wnck-3.0 gkbd-capplet libamd2
  libamtk-5-0 libamtk-5-common libandroid-23-java libaribb25-0 libavformat58 libavif15 libavif15:i386 libbasicusageenvironment1 libblockdev-crypto2 libblockdev-fs2
  libblockdev-loop2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2 libboost-filesystem1.74.0 libboost-iostreams1.74.0
  libboost-locale1.74.0 libboost-thread1.74.0 libboost1.74-dev libbpf0 libcamd2 libcbor0.8 libccolamd2 libcddb2 libcholmod3 libcholmod4 libclang-14-dev
  libcodec2-1.1 libcolamd2 libcrypt1:i386 libdca0 libdvbpsi10 libegl-mesa0:i386 libegl1:i386 libelf-dev libevdi0 libevdi1 libfaad2 libffms2-5 libflac8:i386
  libgcab-1.0-0 libgles1 libgles1:i386 libgles2:i386 libgnomekbd-common libgnomekbd8 libgroupsock30 libgs9-common libgssdp-1.2-0 libgumbo1 libgupnp-1.2-1
  libgupnp-igd-1.0-4 libhttp-cookiejar-perl libicu71 libicu71:i386 libixml11 libjim0.81 libkf5activitiesstats1 libkf5idletime5 liblc3-0 liblirc-client0
  liblivemedia107 libllvm14:i386 libllvm15:i386 liblua5.2-0 libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 libmetis5
  libmozilla-publicsuffix-perl libmpdec3 libmujs2 libmutter-10-0 libnfs13 libnvidia-allocator1 libnvidia-allocator1:i386 libnvidia-egl-gbm1 libnvidia-egl-gbm1:i386
  libnvidia-egl-wayland1 libnvidia-eglcore libnvidia-eglcore:i386 libnvidia-glcore:i386 libnvidia-ptxjitcompiler1 libnvidia-ptxjitcompiler1:i386 libobjc-12-dev
  libopenal1:i386 libopengl0:i386 liborcus-0.17-0 liborcus-parser-0.17-0 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libperl5.34 libphonon4qt5-data
  libplacebo208 libplacebo292 libpoppler123 libpostproc55 libprocps8 libprotobuf-lite23 libprotobuf-lite32 libprotobuf23 libproxy-tools libpython3.10
  libpython3.10-minimal libpython3.10-stdlib libquazip5-1 libraw20 libresid-builder0c2a librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2
  librygel-server-2.6-2 libsane libsidplay2 libsixel1 libsmbios-c2 libsnapd-glib1 libsndio7.0:i386 libstdc++-12-dev libsuitesparseconfig5 libswscale5 libtiff5:i386
  libumfpack5 libunistring2:i386 libupnp17 libusageenvironment3 libuuid1:i386 libva-wayland2 libvkd3d-shader1:i386 libvkd3d1:i386 libvlc-bin libvlc5 libvlccore9
  libvorbisidec1 libxvmc1 libykpers-1-1 libyubikey-udev libyubikey0 libzstd-dev libzxing2 linux-compiler-gcc-11-x86 linux-compiler-gcc-8-x86
  linux-compiler-gcc-9-x86 linux-config-5.19 linux-config-6.0 linux-config-6.1 linux-kbuild-5.19 linux-kbuild-5.2 linux-kbuild-5.3 linux-kbuild-6.0
  linux-kbuild-6.1 linux-source-5.19 lua-lpeg packagekit packagekit-tools perl-modules-5.34 python3-renderpm python3-reportlab-accel python3.10 python3.10-minimal
  rsync ruby3.0 viagee vkd3d-compiler:i386 vlc-bin vlc-data vlc-l10n vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
  vlc-plugin-video-splitter vlc-plugin-visualization xfce4-datetime-plugin
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-headers-6.3.0-1-amd64 (6.3.7-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.3.0-1-amd64.
Sign command: /usr/lib/linux-kbuild-6.3/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=6.3.0-1-amd64 all INCLUDEDIR=/lib/modules/6.3.0-1-amd64/build/include KVERSION=6.3.0-1-amd64 DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.3.0-1-amd64 (x86_64)
Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.
dkms autoinstall on 6.3.0-1-amd64/x86_64 failed for evdi(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.3.0-1-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.3.0-1-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.3.0-1-amd64 (--configure):
 installed linux-headers-6.3.0-1-amd64 package post-installation script subprocess returned error exit status 1
Setting up linux-headers-6.5.0-5-amd64 (6.5.13-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.5.0-5-amd64.
Sign command: /lib/modules/6.5.0-5-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=6.5.0-5-amd64 all INCLUDEDIR=/lib/modules/6.5.0-5-amd64/build/include KVERSION=6.5.0-5-amd64 DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.5.0-5-amd64 (x86_64)
Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.
dkms autoinstall on 6.5.0-5-amd64/x86_64 failed for evdi(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.5.0-5-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.5.0-5-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.5.0-5-amd64 (--configure):
 installed linux-headers-6.5.0-5-amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-headers-6.3.0-1-amd64
 linux-headers-6.5.0-5-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
in /var/lib/dkms/evdi/5.2.14/build/make.log steht wieder:

Code: Alles auswählen

make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/5.2.14/build SRCROOT=/var/lib/dkms/evdi/5.2.14/build CONFIG_MODULE_SIG= -C /lib/modules/6.5.0-5-amd64/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-5-amd64'
/usr/src/linux-headers-6.5.0-5-common/Makefile:149: =============== ERROR ==============
/usr/src/linux-headers-6.5.0-5-common/Makefile:150: 'SUBDIRS' was removed in Linux 5.3
/usr/src/linux-headers-6.5.0-5-common/Makefile:151: Use 'M=' or 'KBUILD_EXTMOD=' instead
/usr/src/linux-headers-6.5.0-5-common/Makefile:152: ====================================
/usr/src/linux-headers-6.5.0-5-common/Makefile:153: *** ..  Stop.
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-5-amd64'
make: *** [Makefile:22: all] Error 2
den Fehler hatte schon einmal, damals habe ich das gelöst, in dem ich evdi-dkms gelöscht habe.

ich habe versucht nvidia-kernel-dkms zu installieren:

Code: Alles auswählen

# apt-get install nvidia-kernel-dkms:amd64 nvidia-kernel-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
nvidia-kernel-dkms is already the newest version (525.147.05-4).
The following packages were automatically installed and are no longer required:
  appstream dalvik-exchange dctrl-tools dh-dkms freeglut3 g++-12 gcc-12-base:i386 gdisk gir1.2-gtksource-4 gir1.2-wnck-3.0 gkbd-capplet libamd2 libamtk-5-0
  libamtk-5-common libandroid-23-java libaribb25-0 libavformat58 libavif15 libavif15:i386 libbasicusageenvironment1 libblockdev-crypto2 libblockdev-fs2
  libblockdev-loop2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2 libboost-filesystem1.74.0 libboost-iostreams1.74.0
  libboost-locale1.74.0 libboost-thread1.74.0 libboost1.74-dev libbpf0 libcamd2 libcbor0.8 libccolamd2 libcddb2 libcholmod3 libcholmod4 libclang-14-dev
  libcodec2-1.1 libcolamd2 libcrypt1:i386 libdca0 libdvbpsi10 libelf-dev libevdi0 libevdi1 libfaad2 libffms2-5 libflac8:i386 libgcab-1.0-0 libgnomekbd-common
  libgnomekbd8 libgroupsock30 libgs9-common libgssdp-1.2-0 libgumbo1 libgupnp-1.2-1 libgupnp-igd-1.0-4 libhttp-cookiejar-perl libicu71 libicu71:i386 libixml11
  libjim0.81 libkf5activitiesstats1 libkf5idletime5 liblc3-0 liblirc-client0 liblivemedia107 libllvm14:i386 libllvm15:i386 liblua5.2-0 libmagickcore-6.q16-6
  libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 libmetis5 libmozilla-publicsuffix-perl libmpdec3 libmujs2 libmutter-10-0 libnfs13 libobjc-12-dev
  libopenal1:i386 liborcus-0.17-0 liborcus-parser-0.17-0 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libperl5.34 libphonon4qt5-data libplacebo208
  libplacebo292 libpoppler123 libpostproc55 libprocps8 libprotobuf-lite23 libprotobuf-lite32 libprotobuf23 libproxy-tools libpython3.10 libpython3.10-minimal
  libpython3.10-stdlib libquazip5-1 libraw20 libresid-builder0c2a librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2 libsane
  libsidplay2 libsixel1 libsmbios-c2 libsnapd-glib1 libsndio7.0:i386 libstdc++-12-dev libsuitesparseconfig5 libswscale5 libtiff5:i386 libumfpack5
  libunistring2:i386 libupnp17 libusageenvironment3 libuuid1:i386 libva-wayland2 libvkd3d-shader1:i386 libvkd3d1:i386 libvlc-bin libvlc5 libvlccore9 libvorbisidec1
  libxvmc1 libykpers-1-1 libyubikey-udev libyubikey0 libzstd-dev libzxing2 linux-compiler-gcc-11-x86 linux-compiler-gcc-8-x86 linux-compiler-gcc-9-x86
  linux-config-5.19 linux-config-6.0 linux-config-6.1 linux-kbuild-5.19 linux-kbuild-5.2 linux-kbuild-5.3 linux-kbuild-6.0 linux-kbuild-6.1 linux-source-5.19
  lua-lpeg packagekit packagekit-tools perl-modules-5.34 python3-renderpm python3-reportlab-accel python3.10 python3.10-minimal rsync ruby3.0 viagee
  vkd3d-compiler:i386 vlc-bin vlc-data vlc-l10n vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
  vlc-plugin-video-splitter vlc-plugin-visualization xfce4-datetime-plugin
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up linux-headers-6.3.0-1-amd64 (6.3.7-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.3.0-1-amd64.
Sign command: /usr/lib/linux-kbuild-6.3/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=6.3.0-1-amd64 all INCLUDEDIR=/lib/modules/6.3.0-1-amd64/build/include KVERSION=6.3.0-1-amd64 DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.3.0-1-amd64 (x86_64)
Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.
Sign command: /usr/lib/linux-kbuild-6.3/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j4 modules KERNEL_UNAME=6.3.0-1-amd64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.3.0-1-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.
dkms autoinstall on 6.3.0-1-amd64/x86_64 failed for evdi(10) 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.3.0-1-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.3.0-1-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.3.0-1-amd64 (--configure):
 installed linux-headers-6.3.0-1-amd64 package post-installation script subprocess returned error exit status 1
Setting up nvidia-kernel-dkms (525.147.05-4) ...
Removing old nvidia-current-525.147.05 DKMS files...
Deleting module nvidia-current-525.147.05 completely from the DKMS tree.
Loading new nvidia-current-525.147.05 DKMS files...
Building for 6.3.0-1-amd64 6.5.0-5-amd64
Building initial module for 6.3.0-1-amd64
Error! Bad return status for module build on kernel: 6.3.0-1-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/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
Setting up linux-headers-6.5.0-5-amd64 (6.5.13-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.5.0-5-amd64.
Sign command: /lib/modules/6.5.0-5-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=6.5.0-5-amd64 all INCLUDEDIR=/lib/modules/6.5.0-5-amd64/build/include KVERSION=6.5.0-5-amd64 DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.5.0-5-amd64 (x86_64)
Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.
Sign command: /lib/modules/6.5.0-5-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j4 modules KERNEL_UNAME=6.5.0-5-amd64....................................................
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-modeset.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-drm.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-uvm.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-peermem.ko
Cleaning build area...

nvidia-current.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/

nvidia-current-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/

nvidia-current-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/

nvidia-current-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/

nvidia-current-peermem.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/
depmod...
dkms autoinstall on 6.5.0-5-amd64/x86_64 succeeded for nvidia-current
dkms autoinstall on 6.5.0-5-amd64/x86_64 failed for evdi(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.5.0-5-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.5.0-5-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.5.0-5-amd64 (--configure):
 installed linux-headers-6.5.0-5-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on nvidia-kernel-dkms (= 525.147.05-4) | nvidia-kernel-525.147.05 | nvidia-open-kernel-525.147.05 | nvidia-open-kernel-525.147.05; however:
  Package nvidia-kernel-dkms is not configured yet.
  Package nvidia-kernel-525.147.05 is not installed.
  Package nvidia-kernel-dkms which provides nvidia-kernel-525.147.05 is not configured yet.
  Package nvidia-open-kernel-525.147.05 is not installed.
  Package nvidia-open-kernel-525.147.05 is not installed.

dpkg: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-headers-6.3.0-1-amd64
 nvidia-kernel-dkms
 linux-headers-6.5.0-5-amd64
 nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
aber leider hat auch das nicht geklappt

Wie kann ich das wieder gerade biegen, dass das wieder ordentlich läuft?

Für Tipps bin ich dankbar!

michaa7
Beiträge: 4916
Registriert: 12.12.2004 00:46:49
Lizenz eigener Beiträge: MIT Lizenz

Re: Nvidia-Modul lässts ich nicht bauen

Beitrag von michaa7 » 30.12.2023 16:29:06

und warum löschst du diesmal evdi-dkms nicht?

Und welche evdi version hast du denn installiert? die gibt es für stable und unstable. Ich ***vermute*** dass du mit testing zwischen allen Stühlen sitzt soweit es evdi betrifft. [vermutung an]Möglicherweise baut der neueste Kernel dieses Modul nur mit libevdi1_1.14.0+dfsg-3, und du hast noch libevdi0_1.12.0+dfsg-0.3 ?[vermutung aus]

Warum begiint das alles mit

Code: Alles auswählen

# apt-get install -f
und nicht mit

Code: Alles auswählen

apt update && apt dist-upgrade
?

Kann es sein dass dein System seit Ewigkeiten kein konsistentes Upgrade (apt update && apt dist-upgrade) erfahren hat?

Was steht denn in
Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.
gruß

michaa7

-------------------------------
Menschen ändern gelegentlich ihre Ansichten, aber nur selten ihre Motive. (Oskar Negt)

nahemoth
Beiträge: 56
Registriert: 13.03.2005 16:07:19
Kontaktdaten:

Re: Nvidia-Modul lässts ich nicht bauen

Beitrag von nahemoth » 14.01.2024 18:39:35

Warum begiint das alles mit
# apt-get install -f
und nicht mit
apt update && apt dist-upgrade
?
weil apt-get update && apt-get dist-upgrade nicht durch lief.
Was steht denn in

Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.
DKMS make.log for evdi-5.2.14 for kernel 6.5.0-5-amd64 (x86_64)
Sun Jan 14 18:35:36 CET 2024
make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/5.2.14/build SRCROOT=/var/lib/dkms/evdi/5.2.14/build CONFIG_MODULE_SIG= -C /lib/modules/6.5.0-5-amd64/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-5-amd64'
/usr/src/linux-headers-6.5.0-5-common/Makefile:149: =============== ERROR ==============
/usr/src/linux-headers-6.5.0-5-common/Makefile:150: 'SUBDIRS' was removed in Linux 5.3
/usr/src/linux-headers-6.5.0-5-common/Makefile:151: Use 'M=' or 'KBUILD_EXTMOD=' instead
/usr/src/linux-headers-6.5.0-5-common/Makefile:152: ====================================
/usr/src/linux-headers-6.5.0-5-common/Makefile:153: *** .. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-5-amd64'
make: *** [Makefile:22: all] Error 2

Benutzeravatar
towo
Beiträge: 4541
Registriert: 27.02.2007 19:49:44
Lizenz eigener Beiträge: GNU Free Documentation License

Re: Nvidia-Modul lässts ich nicht bauen

Beitrag von towo » 14.01.2024 19:55:02

dpkg --purge evdi-dkms

wie oft willst du das noch erzählt bekommen?
Diese alte evdi version baut nicht gegen Kernel 6.5!

Und evdi ist auch nicht nvidia!

nahemoth
Beiträge: 56
Registriert: 13.03.2005 16:07:19
Kontaktdaten:

Re: Nvidia-Modul lässts ich nicht bauen

Beitrag von nahemoth » 15.01.2024 19:52:36

das ist gar nicht installiert:

Code: Alles auswählen

#dpkg --purge evdi-dkms
dpkg: warning: ignoring request to remove evdi-dkms which isn't installed

Benutzeravatar
towo
Beiträge: 4541
Registriert: 27.02.2007 19:49:44
Lizenz eigener Beiträge: GNU Free Documentation License

Re: Nvidia-Modul lässts ich nicht bauen

Beitrag von towo » 15.01.2024 19:55:03

Dann hast du es irgendwie, am Paketmanagement vorbei, installiert!
Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.

nahemoth
Beiträge: 56
Registriert: 13.03.2005 16:07:19
Kontaktdaten:

Re: Nvidia-Modul lässts ich nicht bauen

Beitrag von nahemoth » 15.01.2024 20:24:29

so, nun hab ich alles vom alten evdi-dkms runtergeworfen und das aktuelle installiert:

Code: Alles auswählen

# apt-get install evdi-dkms 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  appstream dalvik-exchange dctrl-tools dh-dkms fonts-open-sans freeglut3 g++-12 gcc-12-base:i386 gdisk gir1.2-gtksource-4
  gir1.2-wnck-3.0 gkbd-capplet libamd2 libamtk-5-0 libamtk-5-common libandroid-23-java libappstream4 libaribb25-0
  libavfilter9 libavformat58 libavif15 libavif15:i386 libbasicusageenvironment1 libblockdev-crypto2 libblockdev-fs2
  libblockdev-loop2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2
  libboost-filesystem1.74.0 libboost-iostreams1.74.0 libboost-locale1.74.0 libboost-thread1.74.0 libboost1.74-dev libbpf0
  libcamd2 libcbor0.8 libccolamd2 libcddb2 libcholmod3 libcholmod4 libclang-14-dev libcodec2-1.1 libcolamd2 libcrypt1:i386
  libdca0 libdvbpsi10 libelf-dev libevdi0 libfaad2 libffms2-5 libflac8:i386 libgcab-1.0-0 libglibmm-2.68-1
  libgnomekbd-common libgnomekbd8 libgroupsock30 libgs9-common libgssdp-1.2-0 libgumbo1 libgupnp-1.2-1 libgupnp-igd-1.0-4
  libhttp-cookiejar-perl libicu71 libicu71:i386 libixml11 libjavascriptcoregtk-4.0-18 libjim0.81 libkf5activitiesstats1
  libkf5idletime5 liblc3-0 liblirc-client0 liblivemedia107 libllvm14:i386 libllvm15:i386 liblua5.2-0 libmagickcore-6.q16-6
  libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 libmetis5 libmozilla-publicsuffix-perl libmpdec3 libmujs2
  libmutter-10-0 libnfs13 libnl-route-3-200 libobjc-12-dev libopenal1:i386 liborcus-0.17-0 liborcus-parser-0.17-0
  libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libperl5.34 libphonon4qt5-data libplacebo208 libplacebo292
  libplacebo338 libpocketsphinx3 libpoppler123 libpostproc55 libpostproc57 libprocps8 libprotobuf-lite23
  libprotobuf-lite32 libprotobuf23 libproxy-tools libpython3.10 libpython3.10-minimal libpython3.10-stdlib
  libqrcodegencpp1 libquazip5-1 libraw20 libresid-builder0c2a librlottie0-1 librygel-core-2.6-2 librygel-db-2.6-2
  librygel-renderer-2.6-2 librygel-server-2.6-2 libsane libsidplay2 libsigc++-3.0-0 libsixel1 libsmbios-c2 libsnapd-glib1
  libsndio7.0:i386 libsphinxbase3 libstdc++-12-dev libsuitesparseconfig5 libswscale5 libtiff5:i386 libumfpack5
  libunistring2:i386 libupnp17 libusageenvironment3 libuuid1:i386 libva-wayland2 libvkd3d-shader1:i386 libvkd3d1:i386
  libvlc-bin libvlc5 libvlccore9 libvorbisidec1 libwebkit2gtk-4.0-37 libxcb-screensaver0 libxvmc1 libykpers-1-1
  libyubikey-udev libyubikey0 libzstd-dev libzxing2 linux-compiler-gcc-11-x86 linux-compiler-gcc-8-x86
  linux-compiler-gcc-9-x86 linux-config-5.19 linux-config-6.0 linux-config-6.1 linux-kbuild-5.19 linux-kbuild-5.2
  linux-kbuild-5.3 linux-kbuild-6.0 linux-kbuild-6.1 linux-source-5.19 lua-lpeg packagekit packagekit-tools
  perl-modules-5.34 pocketsphinx-en-us python3-renderpm python3-reportlab-accel python3-rfc3986 python3.10
  python3.10-minimal rsync ruby3.0 viagee vkd3d-compiler:i386 vlc-bin vlc-data vlc-l10n vlc-plugin-notify vlc-plugin-qt
  vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter vlc-plugin-visualization
  xfce4-datetime-plugin
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  evdi-dkms
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
Need to get 0 B/31.5 kB of archives.
After this operation, 174 kB of additional disk space will be used.
Selecting previously unselected package evdi-dkms.
(Reading database ... 366529 files and directories currently installed.)
Preparing to unpack .../evdi-dkms_1.14.1+dfsg-1_all.deb ...
Unpacking evdi-dkms (1.14.1+dfsg-1) ...
Setting up evdi-dkms (1.14.1+dfsg-1) ...
Loading new evdi-1.14.1+dfsg DKMS files...
Building for 6.5.0-5-amd64
Building initial module for 6.5.0-5-amd64
Done.

evdi.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/
depmod...
Setting up linux-headers-6.3.0-1-amd64 (6.3.7-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.3.0-1-amd64.
Sign command: /usr/lib/linux-kbuild-6.3/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.3.0-1-amd64 -C /lib/modules/6.3.0-1-amd64/build M=/var/lib/dkms/evdi/1.14.1+dfsg/build DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.3.0-1-amd64 (x86_64)
Consult /var/lib/dkms/evdi/1.14.1+dfsg/build/make.log for more information.
Sign command: /usr/lib/linux-kbuild-6.3/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j4 modules KERNEL_UNAME=6.3.0-1-amd64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.3.0-1-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.
dkms autoinstall on 6.3.0-1-amd64/x86_64 failed for evdi(10) 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.3.0-1-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.3.0-1-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.3.0-1-amd64 (--configure):
 installed linux-headers-6.3.0-1-amd64 package post-installation script subprocess returned error exit status 1
Setting up linux-headers-6.5.0-5-amd64 (6.5.13-1) ...
/etc/kernel/header_postinst.d/dkms:
Module evdi-1.14.1+dfsg for kernel 6.5.0-5-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

evdi.ko:
 - Uninstallation
   - Deleting from: /lib/modules/6.5.0-5-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod...
Module nvidia-current-525.147.05 for kernel 6.5.0-5-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

nvidia-current.ko:
 - Uninstallation
   - Deleting from: /lib/modules/6.5.0-5-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

nvidia-current-modeset.ko:
 - Uninstallation
   - Deleting from: /lib/modules/6.5.0-5-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

nvidia-current-drm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/6.5.0-5-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

nvidia-current-uvm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/6.5.0-5-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

nvidia-current-peermem.ko:
 - Uninstallation
   - Deleting from: /lib/modules/6.5.0-5-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod...
dkms: running auto installation service for kernel 6.5.0-5-amd64.
Sign command: /lib/modules/6.5.0-5-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.5.0-5-amd64 -C /lib/modules/6.5.0-5-amd64/build M=/var/lib/dkms/evdi/1.14.1+dfsg/build DKMS_BUILD=1....
Signing module /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi.ko
Cleaning build area...

evdi.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/
depmod...
Sign command: /lib/modules/6.5.0-5-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j4 modules KERNEL_UNAME=6.5.0-5-amd64........................................................
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-modeset.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-drm.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-uvm.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-peermem.ko
Cleaning build area...

nvidia-current.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/

nvidia-current-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/

nvidia-current-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/

nvidia-current-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/

nvidia-current-peermem.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/
depmod...
dkms autoinstall on 6.5.0-5-amd64/x86_64 succeeded for evdi nvidia-current
dkms: autoinstall for kernel: 6.5.0-5-amd64.
Errors were encountered while processing:
 linux-headers-6.3.0-1-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
/var/lib/dkms/evdi/1.14.1+dfsg/6.5.0-5-amd64/x86_64/log/make.log:

Code: Alles auswählen

DKMS make.log for evdi-1.14.1+dfsg for kernel 6.5.0-5-amd64 (x86_64)
Mon Jan 15 20:09:46 CET 2024
make: Entering directory '/usr/src/linux-headers-6.5.0-5-amd64'
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_platform_drv.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_platform_dev.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_sysfs.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_modeset.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_connector.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_encoder.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_drm_drv.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_fb.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_gem.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_painter.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_params.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_cursor.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_debug.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_i2c.o
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi_ioc32.o
  LD [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi.o
  MODPOST /var/lib/dkms/evdi/1.14.1+dfsg/build/Module.symvers
  CC [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi.mod.o
  LD [M]  /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi.ko
  BTF [M] /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi.ko
Skipping BTF generation for /var/lib/dkms/evdi/1.14.1+dfsg/build/evdi.ko due to unavailability of vmlinux
make: Leaving directory '/usr/src/linux-headers-6.5.0-5-amd64'

Antworten