Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

[Software] state of my system after failed dkms setup for new kernel backport?

$
0
0
Hello, I'm new here and always trying to learn some more about linux/debian in general.

A few days ago I attempted to upgrade to the 6.9.7 kernel backport. Surprisingly the process failed. It appears to be related to dkms failing to build the driver given by the package "v4l2loopback-dkms" with the 6.9 headers. The build fails and the problem is clear, it cannot resolve the function "strlcpy()". After looking it up this appears to be due to the kernel sometime around ~6.8 dropping it's usage (see here https://unix.stackexchange.com/question ... -1-2-fails).

My question is to the state of my system after this hiccup.
- The kernel was installed but not set as default, so I still boot with 6.7.12 (and can use the v4l2loopback driver just fine). However, 6.6.13 is now marked for removal. Is this correct?
- I just upgraded some other packages and the dkms setup for the new kernel attempted to run again. Will this happen at every package install/upgrade?
- Should I take any action?

Thanks,

And just in case, here's the dkms setup failure:

Code:

Setting up linux-image-6.9.7+bpo-amd64 (6.9.7-1~bpo12+1) .../etc/kernel/postinst.d/dkms:dkms: running auto installation service for kernel 6.9.7+bpo-amd64.Sign command: /lib/modules/6.9.7+bpo-amd64/build/scripts/sign-fileSigning key: /var/lib/dkms/mok.keyPublic certificate (MOK): /var/lib/dkms/mok.pubBuilding module:Cleaning build area...make -j16 KERNELRELEASE=6.9.7+bpo-amd64 KERNEL_DIR=/lib/modules/6.9.7+bpo-amd64/build all...(bad exit status: 2)Error! Bad return status for module build on kernel: 6.9.7+bpo-amd64 (x86_64)Consult /var/lib/dkms/v4l2loopback/0.12.7/build/make.log for more information.Error! One or more modules failed to install during autoinstall.Refer to previous errors for more information.dkms: autoinstall for kernel: 6.9.7+bpo-amd64 failed!run-parts: /etc/kernel/postinst.d/dkms exited with return code 11dpkg: error processing package linux-image-6.9.7+bpo-amd64 (--configure): installed linux-image-6.9.7+bpo-amd64 package post-installation script subprocess returned error exit status 1dpkg: dependency problems prevent configuration of linux-headers-6.9.7+bpo-amd64: linux-headers-6.9.7+bpo-amd64 depends on linux-image-6.9.7+bpo-amd64 (= 6.9.7-1~bpo12+1) | linux-image-6.9.7+bpo-amd64-unsigned (= 6.9.7-1~bpo12+1); however:  Package linux-image-6.9.7+bpo-amd64 is not configured yet.  Package linux-image-6.9.7+bpo-amd64-unsigned is not installed.dpkg: error processing package linux-headers-6.9.7+bpo-amd64 (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of linux-headers-amd64: linux-headers-amd64 depends on linux-headers-6.9.7+bpo-amd64 (= 6.9.7-1~bpo12+1); however:  Package linux-headers-6.9.7+bpo-amd64 is not configured yet.dpkg: error processing package linux-headers-amd64 (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of linux-image-amd64: linux-image-amd64 depends on linux-image-6.9.7+bpo-amd64 (= 6.9.7-1~bpo12+1); however:  Package linux-image-6.9.7+bpo-amd64 is not configured yet.dpkg: error processing package linux-image-amd64 (--configure): dependency problems - leaving unconfiguredErrors were encountered while processing: linux-image-6.9.7+bpo-amd64 linux-headers-6.9.7+bpo-amd64 linux-headers-amd64 linux-image-amd64E: Sub-process /usr/bin/dpkg returned an error code (1)

Statistics: Posted by stv17 — 2024-07-28 13:41 — Replies 0 — Views 1



Viewing all articles
Browse latest Browse all 3474

Trending Articles