public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Regression: system freeze on resume from suspend introduced by printk per-console suspended state
@ 2025-12-21 22:42 ysard_git
  2025-12-23  6:20 ` John Ogness
  0 siblings, 1 reply; 16+ messages in thread
From: ysard_git @ 2025-12-21 22:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: john.ogness, pmladek, senozhatsky

Hello,

I would like to report a suspend/resume regression which I bisected down
to a specific printk commit.

Summary
=======

On an ASUS laptop, resuming from suspend leads to a complete system freeze:
black screen, no keyboard response. The system must be powered off forcibly.

This regression is reproducible and was introduced by the following commit:

9e70a5e109a4a ("printk: Add per-console suspended state")

Hardware / environment
======================

- Laptop: G75VX ASUS
- CPU Arch: x86_64
- BIOS Information
    Version: G75VX.206
    Release Date: 02/27/2013
- GPU: NVIDIA GeForce GTX 670MX (standalone board only, no integrated chip, no optimus)
    Driver Version: 470.256.02
- Suspend mode: suspend-to-RAM (S3)
- Distribution: Debian Testing derivative (but the regression is reproduced with mainline kernel builds)
- Last working kernel from Debian:
    Linux version 6.5.0-5-amd64 (debian-kernel@lists.debian.org)
    (gcc-13 (Debian 13.2.0-7) 13.2.0, GNU ld (GNU Binutils for Debian) 2.41)
    #1 SMP PREEMPT_DYNAMIC Debian 6.5.13-1 (2023-11-29)
- Kernel config: based on defconfig / Debian config
- Taint flag: yes, only Nvidia proprietary drivers are loaded and compiled via DKMS

Symptoms
========

- On resume from suspend to RAM
- Screen remains black
- No visible kernel panic (no logs)
- System is completely frozen (no VT switch, no Caps lock nor Num lock responses)
- Power cycle required

Regression details
==================

Suspend/resume works correctly with kernels prior to this commit.
After this commit, resume consistently results in a hard freeze.

I performed a git bisect on the upstream kernel repository. The result is:

9e70a5e109a4a23367810de09be826c52d27ee2f is the first bad commit

Commit details:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9e70a5e109a4a23367810de09be826c52d27ee2f

Reverting this commit on a later kernel (v6.7 0dd3ee31125508cd67f7e7172247f05b7fd1753a)
restores correct suspend/resume behavior on this machine.

The problem is still present on stable v6.18.2.

Additional notes
================

By playing around with the tests in /sys/power/, I can say that the problem only
occurs during a real S3 and not a simulated one.

No problem on resume:
$ echo core > /sys/power/pm_test
$ echo deep > /sys/power/mem_sleep
$ systemctl suspend

Freeze on resume:
$ echo none > /sys/power/pm_test
$ echo deep > /sys/power/mem_sleep
$ systemctl suspend

The issue appears hardware-dependent and may be related to the interaction
between printk console usability and resume ordering. The system likely
blocks silently during resume before the graphics stack becomes usable.

If additional debugging, logs, or testing are needed, I am available to
provide them.

Thank you for your time and for any guidance on how to proceed.

Best regards.


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-02-03 14:11 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-21 22:42 Regression: system freeze on resume from suspend introduced by printk per-console suspended state ysard_git
2025-12-23  6:20 ` John Ogness
     [not found]   ` <trinity-43147d5d-a8ea-47c1-9f83-b578c346b387-1766479103562@3c-app-mailcom-bs12>
2026-01-08  0:05     ` pv
2026-01-08  9:43       ` John Ogness
2026-01-23  7:44         ` ysard
2026-01-23 12:19           ` Petr Mladek
2026-01-24  1:22             ` ysard
2026-01-28 14:00               ` Petr Mladek
2026-01-28 15:25                 ` John Ogness
2026-01-29  9:34                 ` ysard
2026-01-30 15:56                   ` Petr Mladek
2026-01-30 16:28                     ` Petr Mladek
2026-01-31 22:22                       ` ysard
2026-02-02 11:02                         ` Petr Mladek
2026-02-03  1:32                           ` ysard
2026-02-03 14:11                             ` Petr Mladek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox