[Bug 286136] entering ddb(4) breaks hms(4) and suspend

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Apr 2025 10:01:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286136

            Bug ID: 286136
           Summary: entering ddb(4) breaks hms(4) and suspend
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: trasz@FreeBSD.org

Entering and exiting ddb(4), either via ctrl-shift-esc or debug.kdb.enter=1,
does two weird things:

1. It breaks my hms(4) touchpad.  There are no log messages, it's still there,
but according to "libevent debug-events" it no longer returns anything.

2. It breaks S3 suspend.  Not resume, but suspend: it shows "rtsx0: Suspend"
(which is normal), and then the screen never goes off.  This also happens
without i915kms loaded, using efifb(4).

When that happens, if I enter ddb(4) again using ctrl-shift-esc, it behaves
kind of normally, except it's extremely slow, you can see characters being
printed out one by one, 1200bps-style.

I'm guessing this could be related to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286134?  It's the same
system.

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