System instantly resumes after suspend ``` [69677.878806] ACPI Error: Thread 1514962944 cannot release Mutex [ECMX] acquired by thread 787828224 (20221020/exmutex -378) [69677.878815] ACPI Error: Aborting method \_SB.PCI0.LPCB.ECDV._Q66 due to previous error (AE_AML_NOT_OWNER) (20221020/ psparse-529) [69683.219419] hid-generic 0005:3434:0230.0011: unknown main item tag 0x0 [69683.219574] input: Keychron K3 Pro Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/bluetooth/hci0/hc i0:256/0005:3434:0230.0011/input/input72 [69683.219710] input: Keychron K3 Pro Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/bluetooth/hci0/hci0: 256/0005:3434:0230.0011/input/input73 [69683.219797] hid-generic 0005:3434:0230.0011: input,hidraw4: BLUETOOTH HID v1.30 Keyboard [Keychron K3 Pro] on 54:8d: 5a:75:30:77 [69702.333958] usb 3-8: USB disconnect, device number 2 [69702.333962] usb 3-8.3: USB disconnect, device number 4 [69702.491836] usb 2-1: USB disconnect, device number 2 [69706.790267] wlan0: deauthenticating from de:2c:6e:61:bd:68 by local choice (Reason: 3=DEAUTH_LEAVING) [69706.831818] ACPI Error: Thread 571211776 cannot release Mutex [ECMX] acquired by thread 1765395968 (20221020/exmutex -378) [69706.831830] ACPI Error: Aborting method \_SB.PCI0.LPCB.ECDV._Q66 due to previous error (AE_AML_NOT_OWNER) (20221020/ psparse-529) [69707.409436] PM: suspend entry (deep) [69707.418012] Filesystems sync: 0.008 seconds [69707.560102] Freezing user space processes [69707.563460] Freezing user space processes completed (elapsed 0.003 seconds) [69707.563464] OOM killer disabled. [69707.563465] Freezing remaining freezable tasks [69707.564762] Freezing remaining freezable tasks completed (elapsed 0.001 seconds) [69707.564812] printk: Suspending console(s) (use no_console_suspend to debug) [69708.039501] ACPI: EC: interrupt blocked [69708.066688] ACPI: PM: Preparing to enter system sleep state S3 [69708.071091] ACPI: EC: event blocked [69708.071092] ACPI: EC: EC stopped [69708.071092] ACPI: PM: Saving platform NVS memory [69708.071197] Disabling non-boot CPUs ... [69708.072803] smpboot: CPU 1 is now offline [69708.074807] smpboot: CPU 2 is now offline [69708.077172] smpboot: CPU 3 is now offline [69708.079102] smpboot: CPU 4 is now offline [69708.080772] smpboot: CPU 5 is now offline [69708.082686] smpboot: CPU 6 is now offline [69708.084430] smpboot: CPU 7 is now offline [69708.088389] ACPI: PM: Low-level resume complete [69708.088450] ACPI: EC: EC started [69708.088451] ACPI: PM: Restoring platform NVS memory [69708.089565] Enabling non-boot CPUs ... [69708.089718] x86: Booting SMP configuration: [69708.089719] smpboot: Booting Node 0 Processor 1 APIC 0x2 [69708.091875] CPU1 is up [69708.092036] smpboot: Booting Node 0 Processor 2 APIC 0x4 [69708.094295] CPU2 is up [69708.094462] smpboot: Booting Node 0 Processor 3 APIC 0x6 [69708.096765] CPU3 is up [69708.096935] smpboot: Booting Node 0 Processor 4 APIC 0x1 [69708.098162] CPU4 is up [69708.098347] smpboot: Booting Node 0 Processor 5 APIC 0x3 [69708.099327] CPU5 is up [69708.099468] smpboot: Booting Node 0 Processor 6 APIC 0x5 [69708.100604] CPU6 is up [69708.100755] smpboot: Booting Node 0 Processor 7 APIC 0x7 [69708.101988] CPU7 is up [69708.106003] ACPI: PM: Waking up from system sleep state S3 [69708.208779] ACPI: EC: interrupt unblocked [69708.223070] ACPI: EC: event unblocked [69708.301362] nvme nvme0: 8/0/0 default/read/poll queues [69708.455850] usb 3-10: reset full-speed USB device number 3 using xhci_hcd [69708.645716] ish-hid {33AECD58-B679-4E54-9BD9-A04D34F0C226}: [hid-ish]: enum_devices_done OK, num_hid_devices=5 [69708.871628] i8042: i8042 controller selftest timeout [69708.871630] i8042 i8042: PM: dpm_run_callback(): platform_pm_resume+0x0/0x50 returns -19 [69708.871635] i8042 i8042: PM: failed to resume: error -19 [69709.138841] Bluetooth: hci0: Bootloader revision 0.4 build 0 week 11 2017 [69709.139106] OOM killer enabled. [69709.139107] Restarting tasks ... ``` ``` uname -a Linux arazu 6.3.2-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 11 May 2023 16:40:19 +0000 x86_64 GNU/Linux ``` ``` arazu description: Convertible product: XPS 13 7390 2-in-1 (08B0) vendor: Dell Inc. serial: CVRZXY2 width: 64 bits capabilities: smbios-3.1.0 dmi-3.1.0 smp vsyscall32 configuration: boot=normal chassis=convertible family=XPS sku=08B0 uuid=44454C4C-5600-1052-805A-C3C04F585932 *-core description: Motherboard product: 0V2CCD vendor: Dell Inc. physical id: 0 version: A03 serial: *-firmware description: BIOS vendor: Dell Inc. physical id: 1 version: 1.22.0 date: 02/10/2023 size: 1MiB capacity: 15MiB capabilities: pci pnp upgrade shadowing cdboot bootselect edd int5printscreen int9keyboard int14serial int17p rinter acpi usb smartbattery biosbootspecification netboot uefi *-cpu description: CPU product: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz vendor: Intel Corp. physical id: 400 bus info: cpu@0 version: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz slot: CPU 1 size: 1723MHz capacity: 3900MHz width: 64 bits clock: 100MHz ```
Related https://bugzilla.kernel.org/show_bug.cgi?id=194031 In my case functionality is affected. PS Sometimes laptop boots in Dell "manufacture mode" and it resets serial tag and even bios admin/user passwords, that's not the cause when using Windows on this laptop. This is for sure 99% Dell firmware/bios issue and also a big security risk. I am pretty interested to find the root cause why linux puts it in this mode.
Did this work on earlier kernels? if yes: which was the latest that worked?
Looks like on 6.2 it was okay in case of sleep/resume issue, but not okay sometimes putting machine in the manufacturer mode. In case of new hardware: only bluetooth Keychron K3 Pro Keyboard was added in recent months. In addition to this I started to experience full freezes without anything meaningful in `dmesg/journalctl` and historic process/cpu via fb `below` util. PS Counting days until lenovo releases(july?) fresh amd machines to jump because it's makes working very unreliable, I will try current 6.3.3 zen and not zen kernels, arch is still in 6.3.2 and if nothing helps I will try 6.1 LTS. Maybe you could point me to the proper kernel params for acpi debug and extensive logging of such events.