From nobody Wed May 18 19:05:05 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 1B6ED1813732 for ; Wed, 18 May 2022 19:05:06 +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 4L3Mr15m4qz3m75 for ; Wed, 18 May 2022 19:05:05 +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 A220A6E1D for ; Wed, 18 May 2022 19:05:05 +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 24IJ55Sn069655 for ; Wed, 18 May 2022 19:05:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24IJ55YS069654 for bugs@FreeBSD.org; Wed, 18 May 2022 19:05:05 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, 18 May 2022 19:05:05 +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=1652900705; 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=pZYwk+m2y81tgSj0/DIcKmIJK47I0uUfJIA/+Lsufc8=; b=pA8Xt4JSwc985nt5a1QvRQYSP1INJVKxYYUj9u/DPfm00KvBcTqF6/FtfCprOxxUFH+l+d ae60PW0IFAbWJYmiwd5wfXTBFBZmBsddi95NXYYxCruiXuceMZpZZkD48eOE1fViB0msPw D+uQl3VCFcDU6+9dDrNeBUwIFZOldHCE0xFdYkAw3UiO4VYLRS4YOpNHEMEj+m6x+fXIy9 FLCHIvAa+EKVuKOefIAsUrJaAmyElq9tRzeKlHSFo0BR+EstlMjubpCvkCvMl7+S+trW4Z DX2tT+z+gdjNoNcCXANwO7W8XYEirGoi/jMZDv20hQnj6t6nGdvd5bXm4S93tg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652900705; a=rsa-sha256; cv=none; b=kbIkWIO2to7nwrAOgb9qGbdneTIdZPGmJa5iroM/Wy5axzXCRFJcaujnr+ELH4M9260dtC ZV9+CIlDCj22IGZ31Sbd5f3f+YUz3LZIqeWSsu5/+SE5pql4u8RLOsgqXs/y39a2dG/O+y kvc1Zq5diRhzEqt3BdXRWTUKM1xcjOagMUqk+LLKx9esk2MbVzgxGG4xvPt0aOJq44qAJu eoHNQg6AHcW3aYwqsj6HDHBMfK7PdL37w3c9YlY17C0KzfDlOqzaRTzhxK6RfChLK5XX0G hoe2KLPOVXfBjQxY+KwJLsaIPYX1cUgrTPcrsIS3ga9/PxrVMTCYJt7ya7bEyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263632 --- Comment #14 from Jonathan Vasquez --- Some more updates. So I was able to fix my computer just generally crashing= on X11 (with any DE, although I normally use i3 or KDE) by adding the followin= g to my /usr/local/etc/X!1/xorg.conf.d/10-video.conf: ``` Section "Device" Identifier "Card0" Driver "modesetting" BusID "PCI:0:2:0" Option "AccelMethod" "SNA" EndSection ``` Once I added that, I re-tested the resume behavior since as I said earlier, there are probably multiple bugs here (some in the graphics layer, and some= in the wireless layer). During my first three tests, I did 'acpiconf -s 3', waited about 30 seconds= , 2 minutes, and 5 minutes respectively. None of these crashed. However, the wireless driver stopped working on the first resume. The good news is that I was able to get more data out of 'dmesg' regarding iwlwifi (attached is 'dump3'). During the third resume, I tried a 'service netif restart wlan0' to see if = it would crash (given what we know about the old state), and yup, it crashed immediately. On a fresh reboot, I tried again my 'acpiconf -s 3' tests, and= the system started to have non-deterministic behavior as follows: 1. The system resumed fine, didn't crash, but wifi wasn't working. Restarti= ng the wifi driver actually yielded a working connection. 2. The system resumed, and crashed about 10 seconds later, this was a hard crash and the system actually spat out A LOT of output very quickly, ending with an error in the graphics driver (drm-510-kmod, attached as graphics-1.jpg). I was expecting a crash dump to be properly saved since I = have the dumpdev properly set now (and even using a 32 GB physical swap :O), but when the system started up it didn't dump anything. No cores were found. 3. The system resumed, and immediately decides to shutdown (as if the power signal was pressed). Should I open another bug report specifically targeting the graphics portio= n of this since it does seem we are running into two separate bugs (given this is primarily for the wireless crash on resume)? --=20 You are receiving this mail because: You are the assignee for the bug.=