Errors install siduction kernel

Started by sotnik, 2024/04/04, 21:46:48

Previous topic - Next topic

sotnik

I tried to install siduction kernel (I used debian kernel for a while)
apt install linux-image-siduction-amd64   linux-headers-siduction-amd64
I got the following errors:

Quoterun-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.8.3-1-siduction-amd64 (--configure):
installed linux-image-6.8.3-1-siduction-amd64 package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-siduction-amd64:
linux-headers-siduction-amd64 depends on linux-headers-6.8.3-1-siduction-amd64 (= 6.8-3); however:
  Package linux-headers-6.8.3-1-siduction-amd64 is not configured yet.

dpkg: error processing package linux-headers-siduction-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-siduction-amd64:
linux-image-siduction-amd64 depends on linux-image-6.8.3-1-siduction-amd64 (= 6.8-3); however:
  Package linux-image-6.8.3-1-siduction-amd64 is not configured yet.

dpkg: error processing package linux-image-siduction-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-6.8.3-1-siduction-amd64
linux-image-6.8.3-1-siduction-amd64
linux-headers-siduction-amd64
linux-image-siduction-amd64
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

After that I tried the apt install -f and I got the previous error again.
Is something that I can do?

towo

Your output is not the real error! You have a secret dkms-package installesd, which is not compatible with that kernel version.

Quoterun-parts: /etc/kernel/postinst.d/dkms exited with return code 11

So post the releavant error, then we maybe could help.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

sotnik

To be honest I am not sure what do you mean but any way I provide the full output below

Quoteapt install linux-image-siduction-amd64   linux-headers-siduction-amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-image-siduction-amd64 is already the newest version (6.8-3).
linux-headers-siduction-amd64 is already the newest version (6.8-3).
0 upgraded, 0 newly installed, 0 to remove and 11 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.8.3-1-siduction-amd64 (6.8-3) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.8.3-1-siduction-amd64.
The kernel is built without module signing facility, modules won't be signed
applying patch cc_version_check-gcc5.patch...patching file conftest.sh

applying patch bashisms.patch...patching file conftest.sh

applying patch 0001-some-power-management-features-were-not-yet-in-Linux.patch...patching file conftest.sh

applying patch 0026-add-missing-includes-to-fix-module-build-for-ppc64el.patch...patching file nvidia/nvlink_common.h

applying patch 0033-refuse-to-load-legacy-module-if-IBT-is-enabled.patch...patching file nvidia-modeset/nvidia-modeset-linux.c
patching file nvidia/nv.c

applying patch 0034-fix-typos.patch...patching file nvidia-uvm/uvm.h
patching file nvidia-uvm/uvm_perf_thrashing.c

applying patch fragile-ARCH.patch...patching file Makefile

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

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 conftest-verbose.patch...patching file Kbuild

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


Building module:
Cleaning build area...
Building module(s).......(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j16 modules KERNEL_UNAME=6.8.3-1-siduction-amd64
Error! Bad return status for module build on kernel: 6.8.3-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.3-1-siduction-amd64/x86_64 failed for 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.3-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.3-1-siduction-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.8.3-1-siduction-amd64 (--configure):
installed linux-headers-6.8.3-1-siduction-amd64 package post-installation script subprocess returned error exit status 11
Setting up linux-image-6.8.3-1-siduction-amd64 (6.8-3) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.8.3-1-siduction-amd64.
The kernel is built without module signing facility, modules won't be signed
applying patch cc_version_check-gcc5.patch...patching file conftest.sh

applying patch bashisms.patch...patching file conftest.sh

applying patch 0001-some-power-management-features-were-not-yet-in-Linux.patch...patching file conftest.sh

applying patch 0026-add-missing-includes-to-fix-module-build-for-ppc64el.patch...patching file nvidia/nvlink_common.h

applying patch 0033-refuse-to-load-legacy-module-if-IBT-is-enabled.patch...patching file nvidia-modeset/nvidia-modeset-linux.c
patching file nvidia/nv.c

applying patch 0034-fix-typos.patch...patching file nvidia-uvm/uvm.h
patching file nvidia-uvm/uvm_perf_thrashing.c

applying patch fragile-ARCH.patch...patching file Makefile

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

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 conftest-verbose.patch...patching file Kbuild

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


Building module:
Cleaning build area...
Building module(s).......(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j16 modules KERNEL_UNAME=6.8.3-1-siduction-amd64
Error! Bad return status for module build on kernel: 6.8.3-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.3-1-siduction-amd64/x86_64 failed for 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.3-1-siduction-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.8.3-1-siduction-amd64 (--configure):
installed linux-image-6.8.3-1-siduction-amd64 package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-siduction-amd64:
linux-headers-siduction-amd64 depends on linux-headers-6.8.3-1-siduction-amd64 (= 6.8-3); however:
  Package linux-headers-6.8.3-1-siduction-amd64 is not configured yet.

dpkg: error processing package linux-headers-siduction-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-siduction-amd64:
linux-image-siduction-amd64 depends on linux-image-6.8.3-1-siduction-amd64 (= 6.8-3); however:
  Package linux-image-6.8.3-1-siduction-amd64 is not configured yet.

dpkg: error processing package linux-image-siduction-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-6.8.3-1-siduction-amd64
linux-image-6.8.3-1-siduction-amd64
linux-headers-siduction-amd64
linux-image-siduction-amd64
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

Please not I have the nvidia driver but actually I use nouveau

towo

nvidia-470xx is not compatible with kernel 6.8.2+

And since i don't have found a working patch for nvidia-470xx, is can't do anything yet.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

sotnik

OK I had to purge nvidia to get it working
Thank you