** Tags removed: verification-needed-focal ** Tags added: verification-done-focal
-- 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/1896482 Title: acpi event detection crashes Status in linux package in Ubuntu: Fix Released Status in linux source package in Focal: Fix Committed 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/workqueue.c:1416 __queue_work+0x337/0x3f0 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_codec_realtek snd_soc_dmic snd_hda_codec_generic snd_sof_pci mei_hdcp x86_pkg_temp_thermal intel_powerclamp intel_rapl_msr coretemp snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda kvm_intel snd_sof_intel_byt snd_sof_intel_ipc kvm snd_sof snd_sof_xtensa_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine joydev crct10dif_pclmul ghash_clmulni_intel snd_hda_intel aesni_intel snd_intel_dspcfg crypto_simd iwlmvm cryptd snd_hda_codec glue_helper rapl mac80211 snd_hda_core snd_seq_midi snd_hwdep snd_seq_midi_event libarc4 intel_cstate uvcvideo snd_rawmidi i915 snd_pcm videobuf2_vmalloc input_leds thinkpad_acpi btusb videobuf2_memops serio_raw btrtl videobuf2_v4l2 snd_seq btbcm btintel nvram videobuf2_common iwlwifi processor_thermal_device bluetooth videodev 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_thunderbolt ecdh_generic ledtrig_audio typec_ucsi mei_me syscopyarea hid_multitouch snd_seq_device sysfillrect cfg80211 ecc sysimgblt mei intel_soc_dts_iosf typec snd_timer snd soundcore int3403_thermal int340x_thermal_zone acpi_pad intel_hid int3400_thermal acpi_thermal_rel sparse_keymap mac_hid sch_fq_codel parport_pc ppdev lp parport drm ip_tables x_tables autofs4 hid_generic crc32_pclmul nvme psmouse e1000e i2c_i801 thunderbolt intel_lpss_pci intel_lpss nvme_core idma64 virt_dma i2c_hid hid wmi video pinctrl_cannonlake pinctrl_intel 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/20U9001NUS, BIOS N2WET19W (1.09 ) 07/01/2020 Sep 20 11:35:33 laxmi kernel: [232492.303632] Workqueue: kec_query acpi_ec_event_processor Sep 20 11:35:33 laxmi kernel: [232492.303635] RIP: 0010:__queue_work+0x337/0x3f0 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:ffffb16bc0ebb8f8 EFLAGS: 00010087 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: 0000000000000000(0000) GS:ffff9a2477400000(0000) knlGS:0000000000000000 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_release_lock+0xe/0x10 Sep 20 11:35:33 laxmi kernel: [232492.303657] queue_work_on+0x3b/0x50 Sep 20 11:35:33 laxmi kernel: [232492.303659] advance_transaction+0x2b9/0x620 Sep 20 11:35:33 laxmi kernel: [232492.303661] acpi_ec_transaction+0x16c/0x3c0 Sep 20 11:35:33 laxmi kernel: [232492.303663] acpi_ec_space_handler+0xd4/0x280 Sep 20 11:35:33 laxmi kernel: [232492.303666] acpi_ev_address_space_dispatch+0x2f7/0x39f Sep 20 11:35:33 laxmi kernel: [232492.303668] ? ec_transaction+0x70/0x70 Sep 20 11:35:33 laxmi kernel: [232492.303670] acpi_ex_access_region+0x454/0x4ed Sep 20 11:35:33 laxmi kernel: [232492.303672] acpi_ex_field_datum_io+0x18a/0x42d Sep 20 11:35:33 laxmi kernel: [232492.303673] acpi_ex_extract_from_field+0x172/0x320 Sep 20 11:35:33 laxmi kernel: [232492.303675] acpi_ex_read_data_from_field+0x30f/0x361 Sep 20 11:35:33 laxmi kernel: [232492.303677] acpi_ex_resolve_node_to_value+0x3a7/0x4dd Sep 20 11:35:33 laxmi kernel: [232492.303679] acpi_ex_resolve_to_value+0x3c3/0x472 Sep 20 11:35:33 laxmi kernel: [232492.303681] acpi_ds_evaluate_name_path+0xb1/0x169 Sep 20 11:35:33 laxmi kernel: [232492.303684] ? acpi_db_single_step+0x1f/0x252 Sep 20 11:35:33 laxmi kernel: [232492.303686] acpi_ds_exec_end_op+0x118/0x76b Sep 20 11:35:33 laxmi kernel: [232492.303689] acpi_ps_parse_loop+0x84b/0x920 Sep 20 11:35:33 laxmi kernel: [232492.303691] acpi_ps_parse_aml+0x1af/0x550 Sep 20 11:35:33 laxmi kernel: [232492.303692] acpi_ps_execute_method+0x208/0x2ca Sep 20 11:35:33 laxmi kernel: [232492.303695] acpi_ns_evaluate+0x34e/0x4f0 Sep 20 11:35:33 laxmi kernel: [232492.303697] acpi_evaluate_object+0x18e/0x3b4 Sep 20 11:35:33 laxmi kernel: [232492.303699] acpi_ec_event_processor+0x95/0xa0 Sep 20 11:35:33 laxmi kernel: [232492.303701] process_one_work+0x1eb/0x3b0 Sep 20 11:35:33 laxmi kernel: [232492.303703] worker_thread+0x4d/0x400 Sep 20 11:35:33 laxmi kernel: [232492.303706] kthread+0x104/0x140 Sep 20 11:35:33 laxmi kernel: [232492.303708] ? process_one_work+0x3b0/0x3b0 Sep 20 11:35:33 laxmi kernel: [232492.303710] ? kthread_park+0x90/0x90 Sep 20 11:35:33 laxmi kernel: [232492.303714] ret_from_fork+0x1f/0x40 Sep 20 11:35:33 laxmi kernel: [232492.303716] ---[ end trace bea33573eb5f80b7 ]--- ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: linux-image-5.4.0-47-generic 5.4.0-47.51 ProcVersionSignature: Ubuntu 5.4.0-47.51-generic 5.4.55 Uname: Linux 5.4.0-47-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.8 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: jcline 1251 F.... pulseaudio CasperMD5CheckResult: skip 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=/boot/vmlinuz-5.4.0-47-generic root=UUID=14ba9dc0-6dd4-4abb-a9f2-66cc3dd04070 ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-5.4.0-47-generic N/A linux-backports-modules-5.4.0-47-generic N/A 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.asset.tag: Not Available dmi.board.name: 20U9001NUS dmi.board.vendor: LENOVO dmi.board.version: SDK0J40697 WIN dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.modalias: dmi:bvnLENOVO:bvrN2WET19W(1.09):bd07/01/2020:svnLENOVO:pn20U9001NUS:pvrThinkPadX1CarbonGen8:rvnLENOVO:rn20U9001NUS:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone: dmi.product.family: ThinkPad X1 Carbon Gen 8 dmi.product.name: 20U9001NUS dmi.product.sku: LENOVO_MT_20U9_BU_Think_FM_ThinkPad X1 Carbon Gen 8 dmi.product.version: ThinkPad X1 Carbon Gen 8 dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1896482/+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