🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #633

[Bug 301021] 15.2-BETA3 does not come back from suspend (`doas zzz`); 15.1-RELEASE-p5 doesn't seem to have this

#633
From: bugzilla-noreply
Date: Sun, 22 Nov 2026 21:52
219 lines
10353 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301021

            Bug ID: 301021
           Summary: 15.2-BETA3 does not come back from suspend (`doas
                    zzz`); 15.1-RELEASE-p5 doesn't seem to have this
           Product: Base System
           Version: 15.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: sgharms@stevengharms.com

# 15.2-BETA3 GENERIC: ThinkPad T14 Gen 2i fails to return from S3 suspend

Hi folks—I'm new to testing FreeBSD BETAs, so I hope this is the right place
and way to report this. I'm happy to move it or collect different information
if that would be more useful.

I tried 15.2-BETA3 on my ThinkPad T14 Gen 2i today. The stock GENERIC kernel
booted, Wi-Fi connected, and my desktop, YouTube playback, and sound all seemed
fine. When I put it to sleep, though, I couldn't wake it again. I tried the
power button and opening/closing the lid, with no observable response. SSH over
Wi-Fi also stopped responding. I recovered by restarting into my preserved 15.1
boot environment.

I've tried one suspend/wake cycle on BETA3, and that attempt failed. I haven't
repeated it since recovering. I wanted to send the observation while the beta
cycle is still underway rather than wait until I'd worked out the cause.

## My earlier setup, including successful resumes

Before this test, I was using a source-built **15.1-RELEASE-p5 GENERIC** kernel
with a Wi-Fi power-management cherry-pick:

| Component | My 15.1 setup |
| --- | --- |
| Kernel | `15.1-RELEASE-p5 stopgap-15.1-n283640-e8881bfa5b3d GENERIC amd64` |
| Local cherry-pick | `e8881bfa5b3d`, “LinuxKPI: 802.11: add support for
suspend/resume” |
| Upstream change | `11d69a4558de2a5427d8191caed315c5f7e9a5d6`; stable/15
equivalent `0c0f66541aa220af38261af6360713ded6e3f15d` |
| Wi-Fi | Intel AX201 / iwlwifi0, LinuxKPI suspend support enabled |
| DRM | `drm-612-kmod 6.12.85.1501000_1` |
| Tiger Lake firmware | `gpu-firmware-intel-kmod-tigerlake 20250109.1501000` |
| Mesa in my current 15.1 environment | DRI/libraries 26.2.2 |
| libdrm in that environment | 2.4.134,1 |
| Desktop | The same NextSpace FreeBSD port and desktop binaries |

That cherry-pick adds Wi-Fi **suspend/resume support**, rather than new card-ID
support. Its patch ID matches the stable/15 change above. Since that change is
already in releng/15.2, I wanted to see whether I could use the official
GENERIC build without maintaining the patched kernel myself.

I do have recorded successful resumes with the 15.1 kernel and DRM driver. For
example, on November 21, a suspend request at 02:09:26 UTC was followed by a
logged resume at 02:12:39 UTC. SSH returned, the same Xorg and Workspace
processes survived, and I could see the desktop and move the pointer. A fresh
browser launch after wake then played a full 10:34 YouTube test film, including
fullscreen, without a new recorded GPU hang. One detail about that successful
comparison: Xorg was already using Mesa 26.2.2 from an isolated clone, before I
made the updated userspace my normal boot environment. The kernel and DRM
driver were still the 15.1 versions above.

**15.1 hasn't been completely reliable either.** I've also had failed wakes on
this laptop under that setup. So I can't honestly call this a new BETA3
regression or offer a clean “15.1 always works, 15.2 always fails” comparison.
What I can report is that the failure still occurred with official BETA3
GENERIC and matching 15.2 kernel-module packages.

## What I tested on BETA3

| Item | Value |
| --- | --- |
| OS | FreeBSD 15.2-BETA3, amd64; installed kernel, running kernel, and
userland agreed |
| Kernel | Official `releng/15.2-n286754-62d8a4af3594 GENERIC` |
| Kernel SHA256 |
`5e9348cda250baae3e77218fd0726d1b349a88025008846739cf5d958ec33dd2` |
| Laptop | Lenovo ThinkPad T14 Gen 2i, machine type 20W1 |
| BIOS | N34ET66W (1.66), dated 2025-04-02 |
| CPU | Intel Core i5-1145G7, Tiger Lake |
| GPU | Intel TigerLake-LP GT2 / Iris Xe, PCI 8086:9a49 |
| Wi-Fi | Intel AX201, PCI 8086:a0f0, attached as iwlwifi0 |
| Wi-Fi firmware loaded | 77.f39cc7f9.0, QuZ-a0-hr-b0-77.ucode |
| Wireless PM | lkpi80211_pm0 attached; compat.linuxkpi.80211.suspend_type=1 |
| DRM package | drm-612-kmod 6.12.110.1502000_3 |
| Tiger Lake firmware package | gpu-firmware-intel-kmod-tigerlake
20260519.1502000 |
| Wi-Fi firmware package | wifi-firmware-iwlwifi-kmod-22000 20260410 |
| Mesa DRI and libraries | 26.2.2 |
| libdrm | 2.4.134,1 |
| Xorg | 1.21.1.23, modesetting driver, glamor enabled on Intel Iris Xe / iris
|
| Desktop | NextSpace, custom FreeBSD port; installed desktop binaries retained
unchanged |
| Browser | LibreWolf 160.0-1; actual YouTube playback and sound worked before
suspend |
| Power | AC connected immediately before the trial |

I cloned my working boot environment and upgraded its kernel and base userland
using the official binaries. This wasn't a fresh installation: I kept my
desktop and configuration. Before booting BETA3, I installed the kernel modules
and firmware from `kmods_quarterly_2`, so I wasn't loading the old 15.1 DRM
modules into the new kernel.

I also checked the BETA3 kernel hash against the official kernel distribution
and the signed updater's install index. I didn't apply my local kernel patch to
BETA3 or rebuild it from my old /usr/src checkout.


## What I did

1. I booted BETA3 with the matching DRM and firmware packages listed above.
2. Wi-Fi associated automatically. SSH, console login, and NextSpace/Xorg
worked.
3. I played YouTube video in LibreWolf and checked that sound worked.
4. I clicked my desktop Sleep widget and let its five-second countdown finish.
   The widget's configured command is:

   ```sh
   /usr/local/bin/doas -n /usr/sbin/zzz
   ```

   `zzz` reads the configured ACPI sleep state and invokes `acpiconf`. My
   preserved configuration uses S3, and the hardware advertises S3, S4, and S5.
   I haven't separately tried `acpiconf -s 3` from a text console on BETA3.
5. I tried to wake it with the power button and by opening/closing the lid.
6. I got no observable response, and SSH connections timed out.
7. I restarted into the saved 15.1 environment to collect the remaining logs.
   I've kept the BETA3 environment available for investigation.

I expected the display/session and Wi-Fi to return. I didn't specifically check
Caps Lock, record exact LED states, or have a wired or serial console attached,
so I can't say what those would have shown.

## What I was able to capture

These times are UTC; my system log uses EST (UTC-5).

| Time | Evidence |
| --- | --- |
| 15:40:38 | Official BETA3 boot recorded in shared kernel log |
| 15:42:25–26 | Xorg PID 4192 and Workspace PID 4195 started |
| Through 15:56:39 | Bounded observer: responsive X11, same desktop PIDs, zero
GPU HANG count |
| 15:56:39 | ACPI logged suspend; final observer sample at the same second |
| After attempted wake | I could not wake it; SSH attempts timed out |
| 15:59:08 | Recovery boot into the original 15.1 environment |

I couldn't find a resume entry for this attempt before the recovery boot. The
GPU-event log stayed empty, and the Xorg log ends with input devices being
removed and `AIGLX: Suspending AIGLX clients for VT switch`. There wasn't a new
crash dump after recovery; the dumps already on disk are from older incidents.

I don't know where the wake path failed. In particular, I'm not treating the
absence of a GPU HANG message as proof that graphics is innocent. SSH was over
Wi-Fi, so its failure doesn't prove that the entire kernel was stuck either.

There are HDA command-timeout warnings in the boot log, but I've also seen
those in the older 15.1 logs, and sound worked in this BETA3 session. I don't
have evidence connecting them to the wake failure.

What would be useful to try next?

Thanks!

Steven

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-301021-227@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 301021] 15.2-BETA3 does not come back from suspend (`doas
 zzz`); 15.1-RELEASE-p5 doesn't seem to have this
Date: Sun, 22 Nov 2026 21:52:10 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-301021-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="11559"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795384330;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=qfLqF1MrTmfGAdgGe/BxgDgdOSyW/95VgRatnYJowSU=;
	b=yo39k++mT1AGhbh2eYL2ICMDX4JuEfxoIsMJB5puCqgOuSP/EmNW5mciSUmnagpEiLybyQ
	CiGhAZD+f1vArN8HOnDeyoDRITqEgjYbvHjXC8a+QZxJEbSvc3XeknCVd6pZFV/Lqp6mNo
	KJKOBZHXYSM+wwYKLL/yy8nAp1aG3NVXKPxSfVq/0tYZYGgcYixORrwvl6kJxoMFKwy4hA
	j+fPIBaLJ/IyE57mECuyBWATLi53Nfb/oY3bQyW8yvcgky4Y8F0cQVetGNRWoLH5Ax+CoU
	O97TaWacaM/0ZoJ5VBRkSnySPItQm3+y5b/Lw14Im1Pz72YApFIkRaYjsJQRGQ==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes