From nobody Wed May 4 03:57:01 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 89A741AC88B0 for ; Wed, 4 May 2022 03:57:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KtNLj6Hzjz4p7G for ; Wed, 4 May 2022 03:57:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B33BE3A9C for ; Wed, 4 May 2022 03:57:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2443v1g0016551 for ; Wed, 4 May 2022 03:57:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2443v1LE016550 for bugs@FreeBSD.org; Wed, 4 May 2022 03:57:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263632] framework laptop crashes a few seconds after resuming from sleep Date: Wed, 04 May 2022 03:57:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jon@xyinn.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651636621; 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: in-reply-to:in-reply-to:references:references; bh=lMXmjNqU/SH2Kmrf65LO/79LZI4tYXKzndPSGOu8VBs=; b=IRjyWyTp/DjVPRlGI7Fuv0RdKJ6PmIw4NBmerxndI9xaffeJNzHLuQSZTwoGuwcj0U+IaW 3dlcIkiupbtQAbdv59KaMbRqHijFRJ6jGMdnC2cATtxZH+cNG7s3feerNvhX3Wg9ZZXhFS qMQx7dWTXSZUdZz3PX0uywJsxYlLVDdWoGazbwkIhTiOkDuUTlGQw2EJkGitI+wgTWqGFC 1c66ivPkyYSK0lDRROuLHoQOSVisYms19PXOmGlatiE+i6pQGoZlsnrWBDfSnUf1oXipx5 XR7UaT9kUnkpTu2RPY9TFFNc0DAwQ2aCnYbmwWY+nRinw59Pq/PyvHZ+7jdHaw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651636621; a=rsa-sha256; cv=none; b=fl5knBWygv25Tl8tpBoNS6ucHcL7VqzYTXm6hJsGOsWVDw8jGxK1uEXggG2ppvxM9t19au tScqc+KALE63sWV521YiTyLd8nxlT6/NlukexgC1lcuEIJdR3/Yary+kKgC3dobshaMrbl 5yLMeunbWrYo5ORiszsjAdkSDASCZor+Q2ldOtZyJl+/XNq7+WSTPzpLndl5ZHn4eUuznU e2YXlPXdVLgyEuDM/K5DUKpcNJrecYjzsaozuT9LTchkOmQDJFSPnqGA+VjUU05/1n11W8 wMHcmYEv6VSbYwcOWQLC3ZBFpsHxc2NKs83E7EedfnbPwT2zqDTRV09mZuj10g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263632 --- Comment #10 from Jonathan Vasquez --- Some interesting updates. So it seems that it may not be the kernel that's crashing (yet) but the X server in combination with the kernel.. basically the behavior that I'm experiencing can be reproduced (non-deterministically but it will happen) i= f I do: xrandr --output eDP-1 --scale 0.8 You can use any other number as well. As long you cause frequent changes, it will eventually happen. Now something that's further interesting is that on= ce it locks up, pressing keys or moving your mouse won't work. Attempting to switch to a virtual terminal also won't work, or at least it would seem lik= e it didn't. The first interesting thing I noticed was that even though I wasn't able to do much after it locked up, if I pressed the power button, the syst= em actually received the signal and I could see my tty1 again and the system eventually shuts down. So that would indicate that the kernel hasn't actual= ly crashed. I also saw the following message (same as before but with another line): drmn0: GPU HANG: ecode 12:1:85dffffb, in MainThread [100328] drmn0: Resetting rcs0 for stopped heartbeat on rcs0 drmn0: Xorg[100328] context reset due to GPU hang The second interesting thing was that once I got it locked again, I was actually able to - eventually - switch to a TTY. I just kept pressing Ctrl + Alt + F[1-4] until one of them got through to the system. Lastly, after the system got locked, I managed to switch to a TTY and then = kill X, and start another session immediately. Once I locked it for a second tim= e in a row, my system was truly frozen and I had no chance of switching to a TTY= and the power button also stopped getting its shutdown signal through to the kernel. I had to hard power off the machine. So it's interesting that a sec= ond "hard crash" managed to be worse than the first, as if there was some remna= nt state that managed to worsen things. --=20 You are receiving this mail because: You are the assignee for the bug.=