librem-ec-acpi-dkms FTBF with linux 6.2 in jammy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
librem-ec-acpi (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
Andrea Righi |
Bug Description
[Impact]
librem-ec-acpi-dkms (EC ACPI in Purism Librem devices) fails to build on linux 6.2 in jammy with the following errors:
/var/lib/
276 | .add_battery = librem_
| ^~~~~~~
/var/lib/
/var/lib/
277 | .remove_battery = librem_
| ^~~~~~~
/var/lib/
/var/lib/
773 | .remove = librem_ec_remove,
| ^~~~~~~~~~~~~~~~
/var/lib/
cc1: some warnings being treated as errors
[Test case]
$ sudo apt install librem-ec-acpi-dkms
With the fix applied:
- hwe kernel 6.2:
...
Get:1 http://
...
Building for 6.2.0-26-generic
Building initial module for 6.2.0-26-generic
EFI variables are not supported on this system
/sys/firmware/
Done.
librem_ec_acpi.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
- release kernel 5.15:
...
Get:1 http://
...
Building for 5.15.0-79-generic
Building initial module for 5.15.0-79-generic
EFI variables are not supported on this system
/sys/firmware/
Done.
librem_ec_acpi.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
[Fix]
Backport the right patch(es) from lunar to properly support the new linux 6.2 ABI.
[Regression potential]
librem-ec-acpi-dkms is the EC ACPI driver for Purism Librem devices, so we may experience potential kernel regressions only on these devices that are using ACPI.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: librem-ec-acpi-dkms 0.9.1-2ubuntu2
ProcVersionSign
Uname: Linux 6.2.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
Date: Mon Jun 12 07:43:56 2023
PackageArchitec
SourcePackage: librem-ec-acpi
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: patch |
Changed in librem-ec-acpi (Ubuntu Jammy): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Andrea Righi (arighi) |
Changed in librem-ec-acpi (Ubuntu): | |
status: | New → Invalid |
Changed in librem-ec-acpi (Ubuntu): | |
status: | Invalid → In Progress |
Changed in librem-ec-acpi (Ubuntu): | |
assignee: | nobody → Robie Basak (racb) |
importance: | Undecided → Medium |
tags: |
added: verification-done-jammy removed: verification-needed verification-needed-jammy |
debdiff to support libre-ec-acpi with linux 6.2 in jammy.