* [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend.
@ 2023-10-04 10:38 gc-user
2023-10-06 19:11 ` gc-user
` (28 more replies)
0 siblings, 29 replies; 30+ messages in thread
From: gc-user @ 2023-10-04 10:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1827 bytes --]
New issue by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427
Description:
### Is this a new report?
Yes
### System Info
Void 6.3.13_2 x86_64 GenuineIntel uptodate hold rrmDDFFFFFFFFF
### Package(s) Affected
linux / linux6.5 (maybe linux-headers / linux6.5-headers)
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
This problem seems to have been mentioned here:
https://github.com/linux-surface/linux-surface/issues/1258
They seem to have applied a workaround, but only for their proprietary kernel in v6.5.5. And it sounds like it's not a permanent / solid solution, which should come from upstream..
### Expected behaviour
The system should wake up from standby / suspend when hitting a key on the keyboard, but it doesn't.
This happened once in a while with previous kernel versions (<= 6.3), but with kernel v6.5 it happens 100% of the time.
Also: I put linux and linux-headers on hold and updated all the other packages that had updates yesterday, including zfs and linux6.3. No issues with waking up the system from standby with those updates. So, it most probably is linux / linux6.5 that's causing the issue.
### Actual behaviour
The system can't be woken up by hitting a key on the keyboard from standby / suspend.
### Steps to reproduce
0. linux / linux-headers was upgraded to kernel 6.5 from 6.3 yesterday.
1. Update linux / linux-headers (or install kernel 6.5 via installing linux6.5 / linux6.5-headers).
2. Reboot to make the system run kernel 6.5.
3. Send the system to standby / suspend.
4. Try to wake the system up from standby / suspend.
5. Notice (probably) nothing happening = the system (probably) not waking up from standby / suspend.
If it is DE dependent: My system runs xfce.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
@ 2023-10-06 19:11 ` gc-user
2023-10-09 4:22 ` Fremen2001
` (27 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-10-06 19:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 440 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1751290431
Comment:
Additional hardware info:
CPU: Intel Sky Lake
Intel HD onboard graphics
I just retested with the new kernel v6.5.6. The issue is still present, no reaction on hitting a key on internal or external keyboard or the power button (other than hard reset when pushing the button for 7? seconds).
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
2023-10-06 19:11 ` gc-user
@ 2023-10-09 4:22 ` Fremen2001
2023-10-09 7:55 ` gc-user
` (26 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: Fremen2001 @ 2023-10-09 4:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
New comment by Fremen2001 on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1752326747
Comment:
I can confirm the above, same kernel 6.5.6_1. On my laptop Dell E7250 after using the standby button the only way to wake it up is by pressing the power button. I'm pretty sure this was the same with older kernels.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
2023-10-06 19:11 ` gc-user
2023-10-09 4:22 ` Fremen2001
@ 2023-10-09 7:55 ` gc-user
2023-10-30 21:31 ` gc-user
` (25 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-10-09 7:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1752508549
Comment:
I just updated the bug report, as I didn't make it clear that I can't wake up my system by any means, not even by pressing the power button. The only way to use my system again is long-pressing the power button to enforce a hard reset and boot into a boot environment with a kernel that's not v6.5, in my case v6.3.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (2 preceding siblings ...)
2023-10-09 7:55 ` gc-user
@ 2023-10-30 21:31 ` gc-user
2023-10-30 21:44 ` gc-user
` (24 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-10-30 21:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 416 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1786080196
Comment:
Update on the issue:
On an older system, but also Thinkpad, resume from standby / suspend works as with earlier kernels.
Tested with kernel v6.5.9_1.
Maybe it's an issue with certain chip sets or something.
The older one is Sanfy Bridge, the newer one Kaby Lake.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (3 preceding siblings ...)
2023-10-30 21:31 ` gc-user
@ 2023-10-30 21:44 ` gc-user
2023-11-02 20:04 ` gc-user
` (23 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-10-30 21:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 416 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1786080196
Comment:
Update on the issue:
On an older system, but also Thinkpad, resume from standby / suspend works as with earlier kernels.
Tested with kernel v6.5.9_1.
Maybe it's an issue with certain chip sets or something.
The older one is Sandy Bridge, the newer one Kaby Lake.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (4 preceding siblings ...)
2023-10-30 21:44 ` gc-user
@ 2023-11-02 20:04 ` gc-user
2023-11-02 20:43 ` 0x5c
` (22 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-11-02 20:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 547 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1791465061
Comment:
Another update:
As per this [thread](https://forum.manjaro.org/t/my-laptop-often-fails-to-resume-from-sleep-no-reaction-on-pressing-keyboard-keys/149656/12), at least one other user has a Kaby Lake system that has this problem, and also, apparently, kernel 6.6 works.
But as (open)zfs isn't yet compatible with kernel 6.6, I hope they backport the changes that fix that problem back into kernel 6.5.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (5 preceding siblings ...)
2023-11-02 20:04 ` gc-user
@ 2023-11-02 20:43 ` 0x5c
2023-11-02 21:11 ` gc-user
` (21 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: 0x5c @ 2023-11-02 20:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 365 bytes --]
New comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1791512123
Comment:
Also Kaby Lake here, same symptoms on 6.5. I currently keep my laptop on 6.1 (`linux-lts`).
I also have openzfs, so I can't test 6.6. Has the fix in 6.6 been identified? I cannot find an upstream bug report for the issue.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (6 preceding siblings ...)
2023-11-02 20:43 ` 0x5c
@ 2023-11-02 21:11 ` gc-user
2023-11-02 21:28 ` 0x5c
` (20 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-11-02 21:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 754 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1791543530
Comment:
Not sure. There are several mentions of suspend / resume [here](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?h=v6.6&showmsg=1), but only one or two might actually include our problem. The others seem too specific for cases that don't apply in my case. But it's still noteworthy how many suspend / resume errors they apparently introduced.
However, 2 of those issues are also mentioned in the [changelog](https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.5.10) for kernel 6.5.10. So, I'll be testing that one when it's available for void.
No mention of Kaby Lake, though.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (7 preceding siblings ...)
2023-11-02 21:11 ` gc-user
@ 2023-11-02 21:28 ` 0x5c
2023-11-03 9:38 ` gc-user
` (19 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: 0x5c @ 2023-11-02 21:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
New comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1791562134
Comment:
Hum, all of those seem to be for s2idle "sleep" and ATA HDD sleep bugs
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (8 preceding siblings ...)
2023-11-02 21:28 ` 0x5c
@ 2023-11-03 9:38 ` gc-user
2023-11-22 18:02 ` gc-user
` (18 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-11-03 9:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 368 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1792127172
Comment:
True, but as there seem to be no bug reports either about our problem, I was just hoping that by fixing one of the other suspend / resume bugs this one get fixed by chance as well.
Btw.: Kernel v6.5.10 not working either.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (9 preceding siblings ...)
2023-11-03 9:38 ` gc-user
@ 2023-11-22 18:02 ` gc-user
2023-11-26 18:54 ` Linux kernel 6.5, 6.6: " gc-user
` (17 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-11-22 18:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 331 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1823240091
Comment:
Update after further tests:
Kernel v6.4.16 works.
Kernels v6.5.11 and v6.5.12 don't work
Now that zfs supports kernel 6.6, I tested kernel v6.6.2. Unfortunately, it doesn't work.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (10 preceding siblings ...)
2023-11-22 18:02 ` gc-user
@ 2023-11-26 18:54 ` gc-user
2023-11-26 20:55 ` gc-user
` (16 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-11-26 18:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1826868111
Comment:
Some good news.
I found a workaround: Disabling VT-d in BIOS (Security -> Virtualization) circumvents this bug. Although I dan't know if and how that influences the use of VirtualBox, qemu or virt-manager.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (11 preceding siblings ...)
2023-11-26 18:54 ` Linux kernel 6.5, 6.6: " gc-user
@ 2023-11-26 20:55 ` gc-user
2023-11-26 20:55 ` gc-user
` (15 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-11-26 20:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1826868111
Comment:
Some good news.
I found a workaround: Disabling VT-d in BIOS (Security -> Virtualization) circumvents this bug. Although I can't know if and how that influences the use of VirtualBox, qemu or virt-manager.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (12 preceding siblings ...)
2023-11-26 20:55 ` gc-user
@ 2023-11-26 20:55 ` gc-user
2023-11-26 21:02 ` 0x5c
` (14 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-11-26 20:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1826868111
Comment:
Some good news.
I found a workaround: Disabling VT-d in BIOS (Security -> Virtualization) circumvents this bug. However, I don't know if and how that influences the use of VirtualBox, qemu or virt-manager.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (13 preceding siblings ...)
2023-11-26 20:55 ` gc-user
@ 2023-11-26 21:02 ` 0x5c
2023-11-27 11:06 ` gc-user
` (13 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: 0x5c @ 2023-11-26 21:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 531 bytes --]
New comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1826895627
Comment:
> Some good news.
>
> I found a workaround: Disabling VT-d in BIOS (Security -> Virtualization) circumvents this bug. However, I don't know if and how that influences the use of VirtualBox, qemu or virt-manager.
VT-d is virtualisation iommu support, so affects any VM that accesses IO. Not so great
However that find is still very good news, it helps limiting where to search for the bug
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (14 preceding siblings ...)
2023-11-26 21:02 ` 0x5c
@ 2023-11-27 11:06 ` gc-user
2023-11-29 5:16 ` 0x5c
` (12 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-11-27 11:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 553 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1827618865
Comment:
Yeah, I'm aware of that. But the question is, what are the real world consequences.
I did a quick queck on a VirtualBox VM. Mouse, keyboard, printer, all there, no problem - apparently they are all virtualized, not directly accessed (which is what the "d" in VT-d stands for, as far as I understand) by the VM. So, the impact isn't that massive for a temporary solution until the kernel team fixes the issue.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (15 preceding siblings ...)
2023-11-27 11:06 ` gc-user
@ 2023-11-29 5:16 ` 0x5c
2023-12-05 9:46 ` 0x5c
` (11 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: 0x5c @ 2023-11-29 5:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 369 bytes --]
New comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1831237053
Comment:
> Yeah, I'm aware of that. But the question is, what are the real world consequences.
Inability to use non-virtualised devices, which is complete breakage for a lot of use-cases, including giving a VM access to an actual GPU.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (16 preceding siblings ...)
2023-11-29 5:16 ` 0x5c
@ 2023-12-05 9:46 ` 0x5c
2023-12-05 15:11 ` gc-user
` (10 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: 0x5c @ 2023-12-05 9:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 550 bytes --]
New comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1840397915
Comment:
Relevant kernel bug report: https://bugzilla.kernel.org/show_bug.cgi?id=218191
There's a proposed fix in there, but it seems a bit dubious it's the proper fix (written for a bug in AMD workstation CPUs, while both cases here are on intel laptops).
Without confirmation that it would be a fix for the right thing, I don't really want to go down the rabbit hole of trying to build it on the affected laptop.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (17 preceding siblings ...)
2023-12-05 9:46 ` 0x5c
@ 2023-12-05 15:11 ` gc-user
2023-12-06 9:06 ` 0x5c
` (9 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-12-05 15:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1840988936
Comment:
Thanks for the info!
I guess I'll wait until the kernel team has fixed the issue. v6.1 is good enough for me for now.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (18 preceding siblings ...)
2023-12-05 15:11 ` gc-user
@ 2023-12-06 9:06 ` 0x5c
2023-12-06 9:08 ` 0x5c
` (8 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: 0x5c @ 2023-12-06 9:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]
New comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1842470986
Comment:
@Fremen2001 Is it correct that your bug is that the lid switch does not respond, but the computer wakes back up to the system without a full boot when doing a simple press on the power button? If so that's a different problem.
So there's 2~3 users with the bug here, two with a very similar configuration (Void-built kernels, ZFS, Kaby Lake Intel CPUs, Thinkpads). I'm not sure if the original message in the kernel bugzilla is by @gc-user, if not then that's yet another very similar setup). I'm starting to think it might be (partially) caused by a kernel dotconfig change in Void?
There's the user on the linux mint forums with same CPU family (maybe also Thinkpad?), but problems on Mint and completely different kernel versions.
I wonder what changes to kernel dotconfigs and patches have happened in Mint packaging starting with 6.x and ending at roughly 6.6.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (19 preceding siblings ...)
2023-12-06 9:06 ` 0x5c
@ 2023-12-06 9:08 ` 0x5c
2023-12-07 11:31 ` 0x5c
` (7 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: 0x5c @ 2023-12-06 9:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]
New comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1842470986
Comment:
@Fremen2001 Is it correct that your bug is that the lid switch does not respond, but the computer wakes back up to the system without a full boot when doing a simple press on the power button? If so that's a different problem.
So there's 2~3 users with the bug here, two with a very similar configuration (Void-built kernels, ZFS, Kaby Lake Intel CPUs, Thinkpads). I'm not sure if the original message in the kernel bugzilla is by @gc-user, if not then that's yet another very similar setup). I'm starting to think it might be (partially) caused by a kernel dotconfig change in Void?
There's the user on the linux mint forums with same CPU generation (maybe also Thinkpad?), but problems on Mint and completely different kernel versions.
I wonder what changes to kernel dotconfigs and patches have happened in Mint packaging starting with 6.x and ending at roughly 6.6.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (20 preceding siblings ...)
2023-12-06 9:08 ` 0x5c
@ 2023-12-07 11:31 ` 0x5c
2023-12-08 11:19 ` Fremen2001
` (6 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: 0x5c @ 2023-12-07 11:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1018 bytes --]
New comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1842470986
Comment:
@Fremen2001 Is it correct that your bug is that the lid switch does not respond, but the computer wakes back up to the system without a full boot when doing a simple press on the power button? If so that's a different problem.
So there's 2~3 users with the bug here, two with a very similar configuration (Void-built kernels, ZFS, Kaby Lake Intel CPUs, Thinkpads). I'm not sure if the original message in the kernel bugzilla is by @gc-user, if not then that's yet another very similar setup. I'm starting to think it might be (partially) caused by a kernel dotconfig change in Void?
There's the user on the linux mint forums with same CPU generation (maybe also Thinkpad?), but problems on Mint and completely different kernel versions.
I wonder what changes to kernel dotconfigs and patches have happened in Mint packaging starting with 6.x and ending at roughly 6.6.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (21 preceding siblings ...)
2023-12-07 11:31 ` 0x5c
@ 2023-12-08 11:19 ` Fremen2001
2023-12-08 11:23 ` 0x5c
` (5 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: Fremen2001 @ 2023-12-08 11:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 489 bytes --]
New comment by Fremen2001 on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1846988876
Comment:
@0x5c hello, I'm sorry I've been incorrect; with kernel 6.5.11_1 when put to sleep it wakes up with both opening the lid and the single press power button but not with the special sleep button on the keyboard (not even sure if that button is supposed to wake up or only sleep). I'm updating now to the latest kernel, will see if any changes.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (22 preceding siblings ...)
2023-12-08 11:19 ` Fremen2001
@ 2023-12-08 11:23 ` 0x5c
2023-12-20 18:35 ` gc-user
` (4 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: 0x5c @ 2023-12-08 11:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 491 bytes --]
New comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1846994418
Comment:
Ah yeah that's a completely unrelated bug/behaviour.
The issue here is for a bug where the laptop locks up during or just after going to sleep, in a way that prevents any attempts at waking it up. On my Thinkpad the problem is bad enough that the power button doesn't even respond to pressing it for 30s+, instead requiring I press the reset button.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (23 preceding siblings ...)
2023-12-08 11:23 ` 0x5c
@ 2023-12-20 18:35 ` gc-user
2023-12-30 18:26 ` gc-user
` (3 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-12-20 18:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1864957018
Comment:
The patch didn't make it into v6.6.8, unfortunately. It's in today's "linux next" kernel, though. So, probably just a deadline issue. We'll see if it is included in v6.6.9 (probably next week?).
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (24 preceding siblings ...)
2023-12-20 18:35 ` gc-user
@ 2023-12-30 18:26 ` gc-user
2024-01-03 13:16 ` [ISSUE] [CLOSED] " gc-user
` (2 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2023-12-30 18:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1872579296
Comment:
Good news:
The fix was merged into the upcoming kernel v6.7 by Linus Torvalds on Dec 23rd, and into the upcoming kernel v6.6.9 just a few hours ago. v6.6.9 should be out sometime next week.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [ISSUE] [CLOSED] Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (25 preceding siblings ...)
2023-12-30 18:26 ` gc-user
@ 2024-01-03 13:16 ` gc-user
2024-01-03 13:16 ` gc-user
2024-01-03 18:07 ` gc-user
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2024-01-03 13:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2790 bytes --]
Closed issue by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427
Description:
### Is this a new report?
Yes
### System Info
Void 6.3.13_2 x86_64 GenuineIntel uptodate hold rrmDDFFFFFFFFF
### Package(s) Affected
linux / linux6.5 / linux6.6 (maybe linux-headers / linux6.5-headers / linux6.6-header)
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
No. All somewhat comparable reports I came across were either reporting that the system doesn't wake just some of the time, or the waking up itself isn't the problem, but the system freezes after waking up.
### Expected behaviour
The system should wake up from standby / suspend when hitting a key on the keyboard or pressing the power button, but it doesn't.
This happened once in a while with previous kernel versions (<= 6.3), but with kernel v6.5 it happens 100% of the time.
Also: I put linux and linux-headers on hold and updated all the other packages that had updates yesterday, including zfs and linux6.3. No issues with waking up the system from standby with those updates. So, it most probably is linux / linux6.5 that's causing the issue.
### Actual behaviour
The system can't be woken up by hitting a key on the keyboard or pressing the power button from standby / suspend. To be more specific, it's the computer not waking up at all (i.e. the led is still showing standby mode) - it's not the computer waking up but showing a black screen, which apparently is another way of "unsuccessful awakening" from standby.
Comparing kernel logs for kernel 6.1, 6.3, 6.4 vs 6.5 and 6.6, I only noticed so far as common to the behavior, that with kernel 6.5 and 6.5 the kernel doesn't acknowledge that suspend has been initiated.
Messages just before going into s3:
kernel v6.1:
[elogind-daemon] Entering sleep state 'suspend'...
[kernel] PM: suspend entry (deep)
kernel v6.3, v6.4:
[elogind-daemon] Suspending system...
[kernel] PM: suspend entry (deep)
kernel v6.5, v6.6:
[elogind-daemon] Entering sleep state 'suspend'...
-> the message "[kernel] PM: suspend entry (deep)" never shows up in logs with kernels v6.5 and v6.6.
### Steps to reproduce
0. linux / linux-headers was upgraded to kernel 6.5 from 6.3 yesterday., with v6.5.5_2 being the current version of the kernel installed.
1. Update linux / linux-headers (or install kernel 6.5 via installing linux6.5 / linux6.5-headers).
2. Reboot to make the system run kernel 6.5.
3. Send the system to standby / suspend.
4. Try to wake the system up from standby / suspend.
5. Notice (probably) nothing happening = the system (probably) not waking up from standby / suspend.
If it is DE dependent: My system runs xfce.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (26 preceding siblings ...)
2024-01-03 13:16 ` [ISSUE] [CLOSED] " gc-user
@ 2024-01-03 13:16 ` gc-user
2024-01-03 18:07 ` gc-user
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2024-01-03 13:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 299 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1875358748
Comment:
So, now that kernel v6.6.9 is out and the bug is fixed, this issue report can be closed.
At least on my system the issue does no longer occur with v6.6.9.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Linux kernel 6.5, 6.6: System not waking up from standby / suspend.
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
` (27 preceding siblings ...)
2024-01-03 13:16 ` gc-user
@ 2024-01-03 18:07 ` gc-user
28 siblings, 0 replies; 30+ messages in thread
From: gc-user @ 2024-01-03 18:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 586 bytes --]
New comment by gc-user on void-packages repository
https://github.com/void-linux/void-packages/issues/46427#issuecomment-1875358748
Comment:
So, now that kernel v6.6.9 is out and the bug is fixed, this issue report can be closed.
At least on my system the issue does no longer occur with v6.6.9.
Note: According to the patch message, the bug did not originate from the kernel but rather from the affected systems' bios, which would explain why it did not affect all systems the same (or at all). The change in the kernel just made the "bad bios code" having real world effects...
^ permalink raw reply [flat|nested] 30+ messages in thread
end of thread, other threads:[~2024-01-03 18:07 UTC | newest]
Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-04 10:38 [ISSUE] Linux kernel 6.5: System not waking up from standby / suspend gc-user
2023-10-06 19:11 ` gc-user
2023-10-09 4:22 ` Fremen2001
2023-10-09 7:55 ` gc-user
2023-10-30 21:31 ` gc-user
2023-10-30 21:44 ` gc-user
2023-11-02 20:04 ` gc-user
2023-11-02 20:43 ` 0x5c
2023-11-02 21:11 ` gc-user
2023-11-02 21:28 ` 0x5c
2023-11-03 9:38 ` gc-user
2023-11-22 18:02 ` gc-user
2023-11-26 18:54 ` Linux kernel 6.5, 6.6: " gc-user
2023-11-26 20:55 ` gc-user
2023-11-26 20:55 ` gc-user
2023-11-26 21:02 ` 0x5c
2023-11-27 11:06 ` gc-user
2023-11-29 5:16 ` 0x5c
2023-12-05 9:46 ` 0x5c
2023-12-05 15:11 ` gc-user
2023-12-06 9:06 ` 0x5c
2023-12-06 9:08 ` 0x5c
2023-12-07 11:31 ` 0x5c
2023-12-08 11:19 ` Fremen2001
2023-12-08 11:23 ` 0x5c
2023-12-20 18:35 ` gc-user
2023-12-30 18:26 ` gc-user
2024-01-03 13:16 ` [ISSUE] [CLOSED] " gc-user
2024-01-03 13:16 ` gc-user
2024-01-03 18:07 ` gc-user
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).