[Bug 261207] framework laptop occasionally hangs during suspend to S3

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 14 Jan 2022 19:44:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261207

            Bug ID: 261207
           Summary: framework laptop occasionally hangs during suspend to
                    S3
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: markj@FreeBSD.org

My framework laptop can suspend/resume without problems most of the time,
though resume takes a long time (~10s, maybe related to some nvme time messages
that I see).  Suspend occasionally hangs.  When this happens, the display stays
on, and I see a number of messages of the form

  hdac0: Unexpected unsolicited response from address 0: 00000000

These messages don't appear when suspend succeeds.  After that, some other
devices detach, and the system hangs (can't switch to other vtys, no network,
etc.).  It responds to keyboard input and I can scroll in the terminal but DDB
prints output very slowly.  All CPUs are idle, but by inserting print
statements I can see that the hang occurred somewhere in
DEVICE_SUSPEND(root_bus).

I haven't been able to reproduce this problem if I manually detach hdac0 before
suspending.

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