Hi Sly,

We do actually test as many dkms builds as we can. Well, mainly all the
kernel modules present in the Ubuntu archive, like evdi-dkms.

The trouble starts when you get dkms sources from other places that we
don't know about, like the DisplayLink installer that I linked above.
You, me, and other users just install it, and forget all about it, until
something breaks.

The real solution is to get rid of as many out of tree kernel modules as
we can. In the case of evdi, a few people have tried, and failed, to get
it into the mainline kernel. Upstream aren't interested in tidying it up
for inclusion, so it just rots out of tree.

Anyway, I am glad that it works for you now.

Thanks,
Matthew

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2055147

Title:
  Kernel upgrade to 6.5.0-21-generic fails to boot

Status in linux package in Ubuntu:
  Invalid

Bug description:
  After automatic update to kernel 6.5.0-21-generic my laptop fails to
  complete booting with a kernel panic. Safe mode did not work. Booting
  to previous kernel 6.5.0-17-generic is fine.

  Errors during failed boot include:
  ```
  VFS Cannot open root device /dev/mapper/vgubuntu-root or unknown-block(0.0) 
error -6
  Please append a correct root= boot option
  Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0.0)

  ```

  Trying clean up, I see the following error with the kernel
  installation:

  ```
  sly@sigil:~$ sudo apt-get autoremove
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade.
  3 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Setting up linux-headers-6.5.0-21-generic (6.5.0-21.21) ...
  /etc/kernel/header_postinst.d/dkms:
   * dkms: running auto installation service for kernel 6.5.0-21-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 -j16 KERNELRELEASE=6.5.0-21-generic all 
INCLUDEDIR=/lib/modules/6.5.0-21-generic/build/include 
KVERSION=6.5.0-21-generic DKMS_BUILD=1...(bad exit status: 2)
  ERROR (dkms apport): binary package for evdi: 1.11.0 not found
  Error! Bad return status for module build on kernel: 6.5.0-21-generic (x86_64)
  Consult /var/lib/dkms/evdi/1.11.0/build/make.log for more information.
  dkms autoinstall on 6.5.0-21-generic/x86_64 succeeded for nvidia
  dkms autoinstall on 6.5.0-21-generic/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-21-generic
     ...fail!
  run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
  dpkg: error processing package linux-headers-6.5.0-21-generic (--configure):
   installed linux-headers-6.5.0-21-generic package post-installation script 
subprocess returned error exit status 1
  dpkg: dependency problems prevent configuration of linux-headers-generic:
   linux-headers-generic depends on linux-headers-6.5.0-21-generic; however:
    Package linux-headers-6.5.0-21-generic is not configured yet.

  dpkg: error processing package linux-headers-generic (--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.
                                            dpkg: dependency problems prevent 
configuration of linux-generic:
   linux-generic depends on linux-headers-generic (= 6.5.0.21.20); however:
    Package linux-headers-generic is not configured yet.

  dpkg: error processing package linux-generic (--configure):
   dependency problems - leaving unconfigured
  Processing triggers for linux-image-6.5.0-21-generic (6.5.0-21.21) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 6.5.0-21-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 -j16 KERNELRELEASE=6.5.0-21-generic all 
INCLUDEDIR=/lib/modules/6.5.0-21-generic/build/include 
KVERSION=6.5.0-21-generic DKMS_BUILD=1...(bad exit status: 2)
  ERROR (dkms apport): binary package for evdi: 1.11.0 not found
  Error! Bad return status for module build on kernel: 6.5.0-21-generic (x86_64)
  Consult /var/lib/dkms/evdi/1.11.0/build/make.log for more information.
  dkms autoinstall on 6.5.0-21-generic/x86_64 succeeded for nvidia
  dkms autoinstall on 6.5.0-21-generic/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-21-generic
     ...fail!
  run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
  dpkg: error processing package linux-image-6.5.0-21-generic (--configure):
   installed linux-image-6.5.0-21-generic package post-installation script 
subprocess returned error exit status 1
  No apport report written because MaxReports is reached already
                                                                Errors were 
encountered while processing:
   linux-headers-6.5.0-21-generic
   linux-headers-generic
   linux-generic
   linux-image-6.5.0-21-generic
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  ```

  ProblemType: Bug
  DistroRelease: Ubuntu 23.10
  Package: linux-image-6.5.0-17-generic 6.5.0-17.17
  ProcVersionSignature: Ubuntu 6.5.0-17.17-generic 6.5.8
  Uname: Linux 6.5.0-17-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.27.0-0ubuntu5
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Feb 27 21:02:49 2024
  InstallationDate: Installed on 2022-05-19 (649 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220419)
  MachineType: {report['dmi.sys.vendor']} {report['dmi.product.name']}
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.5.0-17-generic 
root=/dev/mapper/vgubuntu-root ro
  RelatedPackageVersions:
   linux-restricted-modules-6.5.0-17-generic N/A
   linux-backports-modules-6.5.0-17-generic  N/A
   linux-firmware                            20230919.git3672ccab-0ubuntu2.5
  SourcePackage: linux
  UpgradeStatus: Upgraded to mantic on 2024-02-16 (11 days ago)
  dmi.bios.date: 11/08/2023
  dmi.bios.release: 1.26
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N40ET44W (1.26 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20Y5CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0K17763 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.18
  dmi.modalias: 
dmi:bvnLENOVO:bvrN40ET44W(1.26):bd11/08/2023:br1.26:efr1.18:svnLENOVO:pn20Y5CTO1WW:pvrThinkPadX1ExtremeGen4i:rvnLENOVO:rn20Y5CTO1WW:rvrSDK0K17763WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20Y5_BU_Think_FM_ThinkPadX1ExtremeGen4i:
  dmi.product.family: ThinkPad X1 Extreme Gen 4i
  dmi.product.name: 20Y5CTO1WW
  dmi.product.sku: LENOVO_MT_20Y5_BU_Think_FM_ThinkPad X1 Extreme Gen 4i
  dmi.product.version: ThinkPad X1 Extreme Gen 4i
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2055147/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to