🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.bugs
4 messages
4 total messages Started by bugzilla-noreply Sun, 22 Nov 2026 21:52
[Bug 301021] 15.2-BETA3 does not come back from suspend (`doas zzz`); 15.1-RELEASE-p5 doesn't seem to have this
#633
Author: 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
[Bug 301021] 15.2-BETA3 does not come back from suspend (`doas zzz`); 15.1-RELEASE-p5 doesn't seem to have this
#637
Author: bugzilla-noreply
Date: Mon, 23 Nov 2026 00:38
16 lines
2496 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301021

Mark Linimon <linimon@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |regression

-- 
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
[Bug 301021] 15.2-BETA3 does not come back from suspend (`doas zzz`); 15.1-RELEASE-p5 doesn't seem to have this
#738
Author: bugzilla-noreply
Date: Tue, 24 Nov 2026 22:59
43 lines
3865 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301021

Eric Turgeon <ericbsd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ericbsd@FreeBSD.org

--- Comment #1 from Eric Turgeon <ericbsd@FreeBSD.org> ---
Same symptom here on different hardware: AMD Ryzen 7 5800XT, NVIDIA RTX
3060 with the proprietary driver (no drm-kmod), wired igb0. GhostBSD,
built from releng/15.1.

It enters S3 normally: fans and power LED go off. The power button
wakes the hardware (fans and LED come back on) but the OS never
resumes: black screen, no ping, and I have to reset and reboot. Nothing is
logged after "acpi: suspend at ...", and Xorg's log ends after the VT
switch, as in the original report.

It started when I upgraded directly from 15.1-p4 to p6, which brought in
the p5 kernel changes:

  15.1-p4, Oct 19 to 25:            18 resumed,  0 failed
  p6 and later p7, Oct 26 to Nov 24: 36 resumed, 27 failed
  p4 boot environment, Nov 12 to 13:  8 resumed,  0 failed

Base userland is byte-identical between p4 and p6 apart from hastd, bhyve
and certificates, and the ports set is unchanged. The only kernel
changes are SA-26:71 (sound), EN-26:27 (tcp_timer) and SA-26:70
(tcp_rack). None of them touch hdaa_suspend() or hdaa_resume().

I've been chasing this for about a month, and the hard part is that
nothing useful gets logged: the hang happens early in resume, before
disks and network are back, and GENERIC has no debugger to break into.

-- 
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
[Bug 301021] 15.2-BETA3 does not come back from suspend (`doas zzz`); 15.1-RELEASE-p5 doesn't seem to have this
#866
Author: bugzilla-noreply
Date: Tue, 01 Dec 2026 03:20
13 lines
2393 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301021

--- Comment #2 from Steven Harms <sgharms@stevengharms.com> ---
Seems to be working in RC1.

-- 
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads