Re: Fwd: [Regression] S3 Sleep Mode failures since Linux 6.x on Dell Inspiron 15 5593

From: Bagas Sanjaya
Date: Wed Nov 22 2023 - 08:21:14 EST


On Tue, Sep 26, 2023 at 07:25:48AM +0700, Bagas Sanjaya wrote:
> Hi,
>
> I notice a regression report on Bugzilla [1]. Quoting from it:
>
> > I'm having some weird issues with sleep mode on any 6.x Linux kernel version - it's a toss-up when I close the lid as to whether it will sleep properly or not - when it fails, the screen will lock, but it will not actually enter S3 sleep - it just blanks the screen, but the laptop stays on (and fan does too).
> >
> > Opening the lid after a failed sleep attempt turns on the screen instantaneously, and it doesn't even need to reconnect to WiFi - this doesn't happen when actually resuming from sleep, it takes a couple seconds for the screen to come on, and it then needs to reconnect the network.
> >
> > Following the failed attempt to enter sleep mode (closing the lid), the following entries appear in the system log -
> >
> > arkiron kernel: ACPI Error: Thread 3233415168 cannot release Mutex [ECMX] acquired by thread 3268191936 (20221020/exmutex-378)
> > arkiron kernel: ACPI Error: Aborting method \_SB.PCI0.LPCB.ECDV._Q66 due to previous error (AE_AML_NOT_OWNER) (20221020/psparse-529)
> > arkiron kernel: Non-boot CPUs are not disabled
> >
> > Now, the "Non-boot CPUs are not disabled" line stands out the most to me here, because successful sleep attempts won't have this line in the log.
> >
> > After the failed attempt above to sleep, I now close the lid again, and it seemingly goes to sleep successfully. After checking the log following this, I find two new error lines in the log -
> >
> > arkiron kernel: ACPI Error: Thread 3233415168 cannot release Mutex [ECMX] acquired by thread 3268191936 (20221020/exmutex-378)
> > arkiron kernel: ACPI Error: Aborting method \_SB.PCI0.LPCB.ECDV._Q66 due to previous error (AE_AML_NOT_OWNER) (20221020/psparse-529)
> >
> > Note that this time the CPU line is missing, as expected for a successful sleep attempt.
> >
> > This happens on both latest stable Linux kernel 6.5 as well as the latest Linux LTS 6.1 kernel. The last kernel that this didn't happen on was Linux LTS 5.15 (any version), which is what I was running up until the Linux LTS 6.1 upgrade. At that point I tried switching back to mainline (6.5) to see if it would fix sleep issues, but it didn't help. Downgrading to Linux LTS 5.15 did fix the sleep issues and the laptop seems to sleep reliably now. Running LTS 5.15.131-1 without issue as I am making this report.
> >
> > I'm on a Dell Inspiron 15 5593 using BIOS ver 1.27.0 (latest as of now), running Arch Linux x86_64
>
> See Bugzilla for the full thread.
>
> Anyway, I'm adding it to regzbot:
>
> #regzbot introduced: v5.15..v6.1 https://bugzilla.kernel.org/show_bug.cgi?id=217950
>
> [1]: https://bugzilla.kernel.org/show_bug.cgi?id=217950
>

Hi Thorsten and all,

It seems like the BZ reporter is really busy with his college life; IOW
he can only bisect in the winter break [1]. Should I mark this regression
as inconclusive for now?

Thanks.

[1]: https://bugzilla.kernel.org/show_bug.cgi?id=217950#c5

--
An old man doll... just what I always wanted! - Clara

Attachment: signature.asc
Description: PGP signature