upgrade to latest proposed kernel 6.5.0-5 failed

Bug #2035559 reported by Khairul Aizat Kamarudzzaman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
tp-smapi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Setting up linux-headers-6.5.0-5-generic (6.5.0-5.5) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.5.0-5-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 -j12 KERNELRELEASE=6.5.0-5-generic -C /lib/modules/6.5.0-5-generic/build M=/var/lib/dkms/tp_smapi/0.43/build HDAPS=1...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/tp-smapi-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.5.0-5-generic (x86_64)
Consult /var/lib/dkms/tp_smapi/0.43/build/make.log for more information.
dkms autoinstall on 6.5.0-5-generic/x86_64 succeeded for nvidia
dkms autoinstall on 6.5.0-5-generic/x86_64 failed for tp_smapi(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-5-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.5.0-5-generic (--configure):
 installed linux-headers-6.5.0-5-generic package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-22.04:
 linux-headers-generic-hwe-22.04 depends on linux-headers-6.5.0-5-generic; however:
  Package linux-headers-6.5.0-5-generic is not configured yet.

dpkg: error processing package linux-headers-generic-hwe-22.04 (--configure):
 dependency problems - leaving unconfigured
Setting up linux-image-6.5.0-5-generic (6.5.0-5.5) ...
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-hwe-22.04:
 linux-generic-hwe-22.04 depends on linux-headers-generic-hwe-22.04 (= 6.5.0.5.7); however:
  Package linux-headers-generic-hwe-22.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-22.04 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-oem-22.04:
 linux-oem-22.04 depends on linux-generic-hwe-22.04; however:
  Package linux-generic-hwe-22.04 is not configured yet.

dpkg: error processing package linux-oem-22.04 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-generic:
 linux-headers-generic depends on linux-headers-6.5.0-5-generic; however:
  Package linux-headers-6.5.0-5-generic is not configured yet.

dpkg: error processing package linux-headers-generic (--configure):
 dependency problems - leaving unconfNo apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                                               No apport repo
rt written because MaxReports is reached already
                                                No apport report written because MaxReports is reached already
                                                                                                              No apport report written because MaxReports is
reached already
               igured
dpkg: dependency problems prevent configuration of linux-headers-oem-22.04:
 linux-headers-oem-22.04 depends on linux-headers-generic-hwe-22.04; however:
  Package linux-headers-generic-hwe-22.04 is not configured yet.

dpkg: error processing package linux-headers-oem-22.04 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for linux-image-6.5.0-5-generic (6.5.0-5.5) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.5.0-5-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 -j12 KERNELRELEASE=6.5.0-5-generic -C /lib/modules/6.5.0-5-generic/build M=/var/lib/dkms/tp_smapi/0.43/build HDAPS=1...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/tp-smapi-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.5.0-5-generic (x86_64)
Consult /var/lib/dkms/tp_smapi/0.43/build/make.log for more information.
dkms autoinstall on 6.5.0-5-generic/x86_64 succeeded for nvidia
dkms autoinstall on 6.5.0-5-generic/x86_64 failed for tp_smapi(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-5-generic
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.5.0-5-generic (--configure):
 installed linux-image-6.5.0-5-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-5-generic
 linux-headers-generic-hwe-22.04
 linux-generic-hwe-22.04
 linux-oem-22.04
 linux-headers-generic
 linux-headers-oem-22.04
 linux-image-6.5.0-5-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: linux-headers-6.5.0-5-generic 6.5.0-5.5
ProcVersionSignature: Ubuntu 6.3.0-7.7-generic 6.3.5
Uname: Linux 6.3.0-7-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.27.0-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: fenris 3632 F.... wireplumber
 /dev/snd/controlC2: fenris 3632 F.... wireplumber
 /dev/snd/controlC1: fenris 3632 F.... wireplumber
 /dev/snd/seq: fenris 3626 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Sep 14 09:14:41 2023
InstallationDate: Installed on 2023-07-08 (68 days ago)
InstallationMedia: Ubuntu 23.10 "Mantic Minotaur" - Daily amd64 (20230705)
MachineType: {report['dmi.sys.vendor']} {report['dmi.product.name']}
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.3.0-7-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-6.3.0-7-generic N/A
 linux-backports-modules-6.3.0-7-generic N/A
 linux-firmware 20230815.git0e048b06-0ubuntu1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/20/2022
dmi.bios.release: 1.43
dmi.bios.vendor: LENOVO
dmi.bios.version: N2EET61W (1.43 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20MES15C00
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.15
dmi.modalias: dmi:bvnLENOVO:bvrN2EET61W(1.43):bd12/20/2022:br1.43:efr1.15:svnLENOVO:pn20MES15C00:pvrThinkPadP1:rvnLENOVO:rn20MES15C00:rvrSDK0K17763WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20ME_BU_Think_FM_ThinkPadP1:
dmi.product.family: ThinkPad P1
dmi.product.name: 20MES15C00
dmi.product.sku: LENOVO_MT_20ME_BU_Think_FM_ThinkPad P1
dmi.product.version: ThinkPad P1
dmi.sys.vendor: LENOVO

Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :
summary: - upgrade to latest proposed kernel failed
+ upgrade to latest proposed kernel 6.5.0-5 failed
Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :

removed the tp-smapi-dkms package solved the upgrade

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Juerg Haefliger (juergh) wrote :

dkms autoinstall on 6.5.0-5-generic/x86_64 failed for tp_smapi(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-5-generic
   ...fail!

Revision history for this message
Juerg Haefliger (juergh) wrote :

You have an unsupported DKMS modules installed. Remove it and retry the kernel upgrade:

$ dkms remove tp_smapi/0.43 --all

Changed in linux (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Juerg Haefliger (juergh) wrote :

My previous statement is incorrect. tp-smapi should be supported but is currently broken for kernel 6.5.

Revision history for this message
Bin Li (binli) wrote :

Hi fenris,

This issue should be fixed in mantic now, could you help check if you could reproduce this issue again? Thanks!

tp-smapi (0.44-1ubuntu1) mantic; urgency=medium

  * Restrict module to amd64

 -- Paolo Pisati <email address hidden> Fri, 22 Sep 2023 06:55:18 +0000

tp-smapi (0.44-1) unstable; urgency=medium

  * New upstream version 0.44
    + Support 6.4 kernel
      Closes: #1038207

Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :

fenris@ThinkPad-P1 ~> sudo apt install tp-smapi-dkms
[sudo] password for fenris:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  tp-smapi-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.3 kB of archives.
After this operation, 121 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu mantic/universe amd64 tp-smapi-dkms amd64 0.44-1ubuntu1 [32.3 kB]
Fetched 32.3 kB in 8s (4,118 B/s)
Selecting previously unselected package tp-smapi-dkms.
(Reading database ... 391838 files and directories currently installed.)
Preparing to unpack .../tp-smapi-dkms_0.44-1ubuntu1_amd64.deb ...
Unpacking tp-smapi-dkms (0.44-1ubuntu1) ...
Setting up tp-smapi-dkms (0.44-1ubuntu1) ...
fenris@ThinkPad-P1 ~>

Bin Li (binli)
Changed in tp-smapi (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.