I'm still in the learning stage with linux. I used code from Gemini search for Kernel Panic errors on two different machines. I rebuilt bad kernel 7.0.0-28-generic and got clean boot on my laptop but had to go back to 6.17.0-35-generic on my old Dell tower. No errors since (yet?)
On Tue, Jul 21, 2026 at 9:00 AM Rahammetoela Toekiman < [email protected]> wrote: > I also get this issue during apt upgrade: > ``` > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > 0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded. > 4 not fully installed or removed. > After this operation, 0 B of additional disk space will be used. > Setting up linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ... > Setting up linux-headers-7.0.0-28-generic (7.0.0-28.28~24.04.1) ... > /etc/kernel/header_postinst.d/dkms: > * dkms: running auto installation service for kernel 7.0.0-28-generic > Sign command: /usr/bin/kmodsign > Signing key: /var/lib/shim-signed/mok/MOK.priv > Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der > > Building module: > Cleaning build area... > make -j8 KERNELRELEASE=7.0.0-28-generic > KERNEL_DIR=/lib/modules/7.0.0-28-generic/build all...(bad exit status: 2) > ERROR: Cannot create report: [Errno 17] File exists: > '/var/crash/v4l2loopback-dkms.0.crash' > Error! Bad return status for module build on kernel: 7.0.0-28-generic > (x86_64) > Consult /var/lib/dkms/v4l2loopback/0.12.7/build/make.log for more > information. > dkms autoinstall on 7.0.0-28-generic/x86_64 failed for v4l2loopback(10) > Error! One or more modules failed to install during autoinstall. > Refer to previous errors for more information. > * dkms: autoinstall for kernel 7.0.0-28-generic > ...fail! > run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11 > dpkg: error processing package linux-headers-7.0.0-28-generic > (--configure): > installed linux-headers-7.0.0-28-generic package post-installation script > subprocess returned error exit status 11 > dpkg: dependency problems prevent configuration of > linux-headers-generic-hwe-24.04: > linux-headers-generic-hwe-24.04 depends on > linux-headers-7.0.0-28-generic; however: > Package linux-headers-7.0.0-28-generic is not configured yet. > > dpkg: error processing package linux-headers-generic-hwe-24.04 > (--configure): > dependency problems - leaving unconfigured > dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04: > linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= > 7.0.0-28.28~24.04.1); however: > Package linux-headers-generic-hwe-24.04 is not configured yet. > > dpkg: error processing package linux-generic-hwe-24.04 (--configure): > dependency problems - leaving unconfigured > No apport report written because the error message indicates its a > followup error from a previous failure. > > No apport report written because the error > message indicates its a followup error from a previous failure. > > Processing triggers for > linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ... > /etc/kernel/postinst.d/dkms: > * dkms: running auto installation service for kernel 7.0.0-28-generic > Sign command: /usr/bin/kmodsign > Signing key: /var/lib/shim-signed/mok/MOK.priv > Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der > > Building module: > Cleaning build area... > make -j8 KERNELRELEASE=7.0.0-28-generic > KERNEL_DIR=/lib/modules/7.0.0-28-generic/build all...(bad exit status: 2) > ERROR: Cannot create report: [Errno 17] File exists: > '/var/crash/v4l2loopback-dkms.0.crash' > Error! Bad return status for module build on kernel: 7.0.0-28-generic > (x86_64) > Consult /var/lib/dkms/v4l2loopback/0.12.7/build/make.log for more > information. > dkms autoinstall on 7.0.0-28-generic/x86_64 failed for v4l2loopback(10) > Error! One or more modules failed to install during autoinstall. > Refer to previous errors for more information. > * dkms: autoinstall for kernel 7.0.0-28-generic > ...fail! > run-parts: /etc/kernel/postinst.d/dkms exited with return code 11 > dpkg: error processing package linux-image-7.0.0-28-generic (--configure): > installed linux-image-7.0.0-28-generic package post-installation script > subprocess returned error exit status 11 > No apport report written because MaxReports is reached already > Errors were > encountered while processing: > linux-headers-7.0.0-28-generic > linux-headers-generic-hwe-24.04 > linux-generic-hwe-24.04 > linux-image-7.0.0-28-generic > E: Sub-process /usr/bin/dpkg returned an error code (1) > > ``` > > Notably this breaks the kernel install leading to a kernel panic on the > next boot > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/2161037 > > Title: > v4l2loopback fails to build on kernel 7.0 HWE > > Status in v4l2loopback package in Ubuntu: > Confirmed > > Bug description: > v4l2loopback.c: In function ‘v4l2_loopback_open’: > v4l2loopback.c:2089:9: error: too few arguments to function ‘v4l2_fh_add’ > 2089 | v4l2_fh_add(&opener->fh); > | ^~~~~~~~~~~ > In file included from > /usr/src/linux-headers-7.0.0-28-generic/include/media/v4l2-subdev.h:17, > from > /usr/src/linux-headers-7.0.0-28-generic/include/media/v4l2-device.h:13, > from v4l2loopback.c:31: > /usr/src/linux-headers-7.0.0-28-generic/include/media/v4l2-fh.h:97:6: > note: declared here > 97 | void v4l2_fh_add(struct v4l2_fh *fh, struct file *filp); > | ^~~~~~~~~~~ > v4l2loopback.c: In function ‘v4l2_loopback_close’: > v4l2loopback.c:2117:9: error: too few arguments to function ‘v4l2_fh_del’ > 2117 | v4l2_fh_del(&opener->fh); > | ^~~~~~~~~~~ > /usr/src/linux-headers-7.0.0-28-generic/include/media/v4l2-fh.h:125:6: > note: declared here > 125 | void v4l2_fh_del(struct v4l2_fh *fh, struct file *filp); > | ^~~~~~~~~~~ > > ProblemType: Package > DistroRelease: Ubuntu 24.04 > Package: linux-headers-7.0.0-28-generic 7.0.0-28.28~24.04.1 > ProcVersionSignature: Ubuntu 6.17.0-35.35~24.04.1-generic 6.17.13 > Uname: Linux 6.17.0-35-generic x86_64 > NonfreeKernelModules: nvidia_modeset nvidia > ApportVersion: 2.28.2-0ubuntu0.1 > Architecture: amd64 > AudioDevicesInUse: > USER PID ACCESS COMMAND > /dev/snd/controlC0: tom-brown 2572 F.... wireplumber > /dev/snd/controlC1: tom-brown 2572 F.... wireplumber > /dev/snd/seq: tom-brown 2567 F.... pipewire > CRDA: N/A > CasperMD5CheckResult: pass > Date: Thu Jul 16 22:52:40 2026 > ErrorMessage: installed linux-headers-7.0.0-28-generic package > post-installation script subprocess returned error exit status 11 > InstallationDate: Installed on 2025-12-20 (209 days ago) > InstallationMedia: Ubuntu 24.04.3 LTS "Noble Numbat" - Release amd64 > (20250805.1) > Lsusb: > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver > Bus 001 Device 003: ID 8087:0a2b Intel Corp. Bluetooth wireless > interface > Bus 001 Device 004: ID 0bda:57c3 Realtek Semiconductor Corp. > Integrated_Webcam_HD > Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > MachineType: Dell Inc. Precision 7510 > ProcFB: 0 i915drmfb > ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.17.0-35-generic > root=UUID=0cd37cd1-1382-4191-9107-b090419b644e ro quiet splash vt.handoff=7 > Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, > 3.12.3-0ubuntu2.1 > PythonDetails: N/A > RelatedPackageVersions: grub-pc N/A > SourcePackage: linux-hwe-7.0 > Title: package linux-headers-7.0.0-28-generic 7.0.0-28.28~24.04.1 failed > to install/upgrade: installed linux-headers-7.0.0-28-generic package > post-installation script subprocess returned error exit status 11 > UpgradeStatus: No upgrade log present (probably fresh install) > dmi.bios.date: 03/09/2023 > dmi.bios.release: 1.31 > dmi.bios.vendor: Dell Inc. > dmi.bios.version: 1.31.3 > dmi.board.name: 0MJ7KG > dmi.board.vendor: Dell Inc. > dmi.board.version: A00 > dmi.chassis.type: 9 > dmi.chassis.vendor: Dell Inc. > dmi.modalias: > dmi:bvnDellInc.:bvr1.31.3:bd03/09/2023:br1.31:svnDellInc.:pnPrecision7510:pvr:rvnDellInc.:rn0MJ7KG:rvrA00:cvnDellInc.:ct9:cvr:sku06D9: > dmi.product.family: Precision > dmi.product.name: Precision 7510 > dmi.product.sku: 06D9 > dmi.sys.vendor: Dell Inc. > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/2161037/+subscriptions > > -- J. Thomas Brown www.jthomasbrown.com -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2161037 Title: v4l2loopback fails to build on kernel 7.0 HWE To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/2161037/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
