acpi event detection crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Alex Hung |
Bug Description
= SRU Justification =
[Impact]
The bug causes the EC driver to fail and ACPI events are no longer
handled by Linux kernel, i.e lid close no longer triggers suspends.
[Fix]
Upstream commit 03e9a0e05739cf reworks ec_install_handlers to avoid
initialisation failures.
The other three patches are prerequisite to apply 03e9a0e05739cf on
focal kernel.
[Test]
Tested with Lenovo ThinkPad X1 Carbon Gen 8
[Regression Potential]
Low. The patches were cherry-picked from mainline kernel (two since 5.5
and two since 5.7)
= Original Bug Report =
Right after booting, acpi lid open/close is detected as it should be by the kernel, but some time later it crashes, so I have to manually suspend the system. The traceback is here:
Sep 20 11:35:33 laxmi kernel: [232492.303557] ------------[ cut here ]------------
Sep 20 11:35:33 laxmi kernel: [232492.303564] WARNING: CPU: 0 PID: 8302 at kernel/
Sep 20 11:35:33 laxmi kernel: [232492.303565] Modules linked in: ccm rfcomm cmac algif_hash algif_skcipher af_alg bnep nls_iso8859_1 snd_soc_skl_hda_dsp snd_hda_codec_hdmi snd_soc_hdac_hdmi snd_hda_
Sep 20 11:35:33 laxmi kernel: [232492.303600] drm_kms_helper mc wmi_bmof i2c_algo_bit intel_rapl_common fb_sys_fops ucsi_acpi intel_wmi_
Sep 20 11:35:33 laxmi kernel: [232492.303628] CPU: 0 PID: 8302 Comm: kworker/0:0 Not tainted 5.4.0-47-generic #51-Ubuntu
Sep 20 11:35:33 laxmi kernel: [232492.303629] Hardware name: LENOVO 20U9001NUS/
Sep 20 11:35:33 laxmi kernel: [232492.303632] Workqueue: kec_query acpi_ec_
Sep 20 11:35:33 laxmi kernel: [232492.303635] RIP: 0010:__
Sep 20 11:35:33 laxmi kernel: [232492.303637] Code: ff 49 8b 9d a0 00 00 00 e9 aa fd ff ff 65 8b 05 e7 59 15 6d a9 00 01 1f 00 75 0f 65 48 8b 3c 25 c0 6b 01 00 f6 47 24 20 75 25 <0f> 0b 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 0b e9 fd fd
Sep 20 11:35:33 laxmi kernel: [232492.303638] RSP: 0018:ffffb16bc0
Sep 20 11:35:33 laxmi kernel: [232492.303640] RAX: ffff9a2477432600 RBX: 0000000000000002 RCX: 0000000000000004
Sep 20 11:35:33 laxmi kernel: [232492.303641] RDX: ffff9a2475af4a90 RSI: ffff9a2475b03200 RDI: ffff9a2430215f00
Sep 20 11:35:33 laxmi kernel: [232492.303642] RBP: ffffb16bc0ebb938 R08: 0000000000000000 R09: 0000000000000007
Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: ffff9a24755ad678 R11: 0000000000000000 R12: ffff9a2475af4a00
Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: ffff9a2475b03200 R14: 0000000000002000 R15: ffff9a2475af4a90
Sep 20 11:35:33 laxmi kernel: [232492.303645] FS: 000000000000000
Sep 20 11:35:33 laxmi kernel: [232492.303646] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 000000c42098b000 CR3: 000000018520a003 CR4: 00000000003606f0
Sep 20 11:35:33 laxmi kernel: [232492.303648] Call Trace:
Sep 20 11:35:33 laxmi kernel: [232492.303654] ? acpi_os_
Sep 20 11:35:33 laxmi kernel: [232492.303657] queue_work_
Sep 20 11:35:33 laxmi kernel: [232492.303659] advance_
Sep 20 11:35:33 laxmi kernel: [232492.303661] acpi_ec_
Sep 20 11:35:33 laxmi kernel: [232492.303663] acpi_ec_
Sep 20 11:35:33 laxmi kernel: [232492.303666] acpi_ev_
Sep 20 11:35:33 laxmi kernel: [232492.303668] ? ec_transaction+
Sep 20 11:35:33 laxmi kernel: [232492.303670] acpi_ex_
Sep 20 11:35:33 laxmi kernel: [232492.303672] acpi_ex_
Sep 20 11:35:33 laxmi kernel: [232492.303673] acpi_ex_
Sep 20 11:35:33 laxmi kernel: [232492.303675] acpi_ex_
Sep 20 11:35:33 laxmi kernel: [232492.303677] acpi_ex_
Sep 20 11:35:33 laxmi kernel: [232492.303679] acpi_ex_
Sep 20 11:35:33 laxmi kernel: [232492.303681] acpi_ds_
Sep 20 11:35:33 laxmi kernel: [232492.303684] ? acpi_db_
Sep 20 11:35:33 laxmi kernel: [232492.303686] acpi_ds_
Sep 20 11:35:33 laxmi kernel: [232492.303689] acpi_ps_
Sep 20 11:35:33 laxmi kernel: [232492.303691] acpi_ps_
Sep 20 11:35:33 laxmi kernel: [232492.303692] acpi_ps_
Sep 20 11:35:33 laxmi kernel: [232492.303695] acpi_ns_
Sep 20 11:35:33 laxmi kernel: [232492.303697] acpi_evaluate_
Sep 20 11:35:33 laxmi kernel: [232492.303699] acpi_ec_
Sep 20 11:35:33 laxmi kernel: [232492.303701] process_
Sep 20 11:35:33 laxmi kernel: [232492.303703] worker_
Sep 20 11:35:33 laxmi kernel: [232492.303706] kthread+0x104/0x140
Sep 20 11:35:33 laxmi kernel: [232492.303708] ? process_
Sep 20 11:35:33 laxmi kernel: [232492.303710] ? kthread_
Sep 20 11:35:33 laxmi kernel: [232492.303714] ret_from_
Sep 20 11:35:33 laxmi kernel: [232492.303716] ---[ end trace bea33573eb5f80b7 ]---
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.4.0-47-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CasperMD5CheckR
Date: Mon Sep 21 08:43:50 2020
InstallationDate: Installed on 2020-08-17 (34 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: LENOVO 20U9001NUS
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.187.3
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/01/2020
dmi.bios.vendor: LENOVO
dmi.bios.version: N2WET19W (1.09 )
dmi.board.
dmi.board.name: 20U9001NUS
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X1 Carbon Gen 8
dmi.product.name: 20U9001NUS
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
CVE References
description: | updated |
Changed in linux (Ubuntu Focal): | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → Alex Hung (alexhung) |
Changed in linux (Ubuntu): | |
assignee: | Alex Hung (alexhung) → nobody |
status: | In Progress → Fix Released |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-focal removed: verification-needed-focal |
This change was made by a bot.