Upgrade to 20.10 error. acpi-call-dkms : ERROR: Kernel configuration is invalid.

Bug #1901452 reported by David Oswald
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
acpi-call (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Loading new acpi-call-1.1.0 DKMS files...
Building for 5.8.0-25-generic
Building initial module for 5.8.0-25-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/acpi-call-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-25-generic (x86_64)
Consult /var/lib/dkms/acpi-call/1.1.0/build/make.log for more information.
dpkg: error processing package acpi-call-dkms (--configure):
 installed acpi-call-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 acpi-call-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
davido@davido-thinkpad:~$ cat /var/lib/dkms/acpi-call/1.1.0/build/make.log
DKMS make.log for acpi-call-1.1.0 for kernel 5.8.0-25-generic (x86_64)
Sun Oct 25 05:55:39 PM MDT 2020
make: Entering directory '/usr/src/linux-headers-5.8.0-25-generic'

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

make: *** [Makefile:746: include/config/auto.conf] Error 1
make: Leaving directory '/usr/src/linux-headers-5.8.0-25-generic'
davido@davido-thinkpad:~$ dpkg --verify linux-headers-$(uname -r)
??5?????? /usr/src/linux-headers-5.8.0-25-generic/include/generated/autoconf.h
??5?????? /usr/src/linux-headers-5.8.0-25-generic/scripts/basic/.fixdep.cmd
??5?????? /usr/src/linux-headers-5.8.0-25-generic/scripts/kconfig/.conf.o.cmd
??5?????? /usr/src/linux-headers-5.8.0-25-generic/scripts/kconfig/.confdata.o.cmd
??5?????? /usr/src/linux-headers-5.8.0-25-generic/scripts/kconfig/.expr.o.cmd
davido@davido-thinkpad:~$ sudo ubuntu-bug acpi-call-dkms

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: acpi-call-dkms 1.1.0-6
ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14
Uname: Linux 5.8.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu50
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sun Oct 25 18:01:46 2020
InstallationDate: Installed on 2019-05-02 (542 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: acpi-call
UpgradeStatus: Upgraded to groovy on 2020-10-25 (0 days ago)

Revision history for this message
David Oswald (daoswald) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in acpi-call (Ubuntu):
status: New → Confirmed
Revision history for this message
Tim K. (tkubnt) wrote :

It appears fixes from this fork are also required:
https://github.com/nix-community/acpi_call

See this blog post:
https://blog.monosoul.dev/2021/10/16/ubuntu-21-10-and-acpi-call-dkms-bug/

sudo dmesg | grep "BUG: kernel NULL pointer dereference" -A 10

[45420.141212] BUG: kernel NULL pointer dereference, address: 0000000000000000
[45420.141217] #PF: supervisor instruction fetch in kernel mode
[45420.141220] #PF: error_code(0x0010) - not-present page
[45420.141221] PGD 0 P4D 0
[45420.141224] Oops: 0010 [#4] SMP NOPTI
[45420.141226] CPU: 3 PID: 85578 Comm: tpacpi-bat Tainted: G D O 5.13.0-19-generic #1
[45420.141229] Hardware name: LENOVO 20NLCTO1WW/20NLCTO1WW, BIOS R13ET49P(1.23 ) 11/24/2020
[45420.141231] RIP: 0010:0x0
[45420.141236] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[45420.141238] RSP: 0018:ffffa60ec2fc3ef0 EFLAGS: 00010246

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package acpi-call - 1.2.2-1

---------------
acpi-call (1.2.2-1) unstable; urgency=medium

  * [e4c61df] Remove '-guest' from Vcs-* URLs
  * [022a8aa] Use nix-community repository as new upstream (Closes: #989384)
  * [0776fac] New upstream version 1.2.2 (LP: #1953261, #1901452)
  * [6ddc66d] Remove all patches (already in new upstream)
  * [3eb35a3] Bump Standards-Version to 4.6.0
  * [2808ee6] Bump debhelper compat to 13
  * [2ea6bde] Drop unused lintian overrides
      - testsuite-autopkgtest-missing
      - spelling-error-in-changelog

 -- Raphaël Halimi <email address hidden> Wed, 02 Feb 2022 17:07:02 +0100

Changed in acpi-call (Ubuntu):
status: Confirmed → 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.