Re: nvidia-kerndel-dkms bleibt unconfigured unter linux 5.18.0 bpo
Am Thu, 23 Jun 2022 23:42:42 +0200
schrieb Elimar Riesebieter <riesebie@lxtec.de>:
> * Ulrich Fürst <fuerst.ulrich@web.de> [2022-06-23 22:16 +0200]:
>
> [...]
> > Errors were encountered while processing:Run 'make oldconfig &&
> > make prepare' on kernel src to fix it.
> [...]
> > root@terra:/usr/src/linux-headers-5.18.0-0.bpo.1-amd64# ls
> > include/generated/autoconf.h
> > ls: cannot access 'include/generated/autoconf.h': No such file or
> > directory
> >
> > Die Datei existiert also tatsächlich nicht, aber was mach ich
> > jetzt.
>
> Entweder die Header neu installieren
# apt install --reinstall linux-headers-5.18.0-0.bpo.1-amd64
linux-headers-5.18.0-0.bpo.1-common
[viele Erfolgsmeldungen v.a. zu 5.16.*, der ist auch noch installiert
und der der aktuell auch problemlos läuft]
cleaning build area...
unset ARCH; env NV_VERBOSE=1 make -j12 modules
KERNEL_UNAME=5.18.0-0.bpo.1-amd64.....(bad exit status: 2) Error! Bad
return status for module build on kernel: 5.18.0-0.bpo.1-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/470.103.01/build/make.log for more
information. . Errors were encountered while processing:
nvidia-kernel-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
> oder im Quellverzeichnis
> 'make oldconfig && make prepare' auführen.
Aber in welchem / wo genau? Ich hab das gestern tatsächlich nicht
ergoogelt :-(
/usr/src/linux-headers-5.18.0-0.bpo.1-amd64/
oder
/usr/src/linux-headers-5.18.0-0.bpo.1-amd64/include/generated/
oder
/usr/src
irgendwo anders?
> Was sagt
>
> $ dpkg -l | grep linux-
# dpkg -l | grep linux
ii binutils-x86-64-linux-gnu 2.35.2-2 amd64 GNU binary utilities, for x86-64-linux-gnu target
ii console-setup-linux 1.205 all Linux specific part of console-setup
ii firmware-linux-free 20200122-1 all Binary firmware for various drivers in the Linux kernel
ii libselinux1:amd64 3.1-3 amd64 SELinux runtime shared libraries
ii libv4l-0:amd64 1.20.0-2 amd64 Collection of video4linux support libraries
ii libv4lconvert0:amd64 1.20.0-2 amd64 Video4linux frame format conversion library
ii linux-base 4.6 all Linux image base package
ii linux-compiler-gcc-10-x86 5.10.106-1 amd64 Compiler for Linux on x86 (meta-package)
ii linux-headers-5.16.0-0.bpo.4-amd64 5.16.12-1~bpo11+1 amd64 Header files for Linux 5.16.0-0.bpo.4-amd64
ii linux-headers-5.16.0-0.bpo.4-common 5.16.12-1~bpo11+1
all Common header files for Linux 5.16.0-0.bpo.4
ii linux-headers-5.18.0-0.bpo.1-amd64 5.18.2-1~bpo11+1
amd64 Header files for Linux 5.18.0-0.bpo.1-amd64
ii linux-headers-5.18.0-0.bpo.1-common 5.18.2-1~bpo11+1
all Common header files for Linux 5.18.0-0.bpo.1
ii linux-headers-amd64 5.18.2-1~bpo11+1
amd64 Header files for Linux amd64 configuration (meta-package)
ii linux-image-5.16.0-0.bpo.4-amd64 5.16.12-1~bpo11+1
amd64 Linux 5.16 for 64-bit PCs (signed)
ii linux-image-5.18.0-0.bpo.1-amd64 5.18.2-1~bpo11+1
amd64 Linux 5.18 for 64-bit PCs (signed)
ii linux-image-amd64 5.18.2-1~bpo11+1
amd64 Linux for 64-bit PCs (meta-package)
ii linux-kbuild-5.16 5.16.12-1~bpo11+1
amd64 Kbuild infrastructure for Linux 5.16
ii linux-kbuild-5.18 5.18.2-1~bpo11+1
amd64 Kbuild infrastructure for Linux 5.18
ii linux-libc-dev:amd64 5.10.106-1
amd64 Linux support headers for userspace development
ii util-linux 2.36.1-8+deb11u1
amd64 miscellaneous system utilities
Danke
Ulrich
Reply to: