From owner-freebsd-x11@freebsd.org Thu Jan 28 06:34:15 2021 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B5D1A4F9C04 for ; Thu, 28 Jan 2021 06:34:15 +0000 (UTC) (envelope-from bennett@sdf.org) Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) (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 (2048 bits) client-digest SHA256) (Client CN "mx.sdf.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DR9ft4zNWz4gGl for ; Thu, 28 Jan 2021 06:34:14 +0000 (UTC) (envelope-from bennett@sdf.org) Received: from sdf.org (IDENT:bennett@rie.sdf.org [205.166.94.4]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 10S6YAGO008236 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 28 Jan 2021 06:34:11 GMT Received: (from bennett@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 10S6Z3hl014235; Thu, 28 Jan 2021 00:35:03 -0600 (CST) From: Scott Bennett Message-Id: <202101280635.10S6Z3hl014235@sdf.org> Date: Thu, 28 Jan 2021 00:35:03 -0600 To: roberthuff@rcn.com Subject: Re: loading drm crashes system Cc: freebsd-x11@freebsd.org References: <24590.137.690675.515036@jerusalem.litteratus.org> <68acb1a8-fcf8-a065-70d5-061669e2f70b@daemonic.se> <24591.35500.33066.12845@jerusalem.litteratus.org> <20210126070211.GB43439@FreeBSD.org> <24592.4752.944930.118483@jerusalem.litteratus.org> In-Reply-To: <24592.4752.944930.118483@jerusalem.litteratus.org> User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DR9ft4zNWz4gGl X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.80 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[205.166.94.24:from]; R_SPF_ALLOW(-0.20)[+ip4:205.166.94.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[205.166.94.24:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[sdf.org,quarantine]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14361, ipnet:205.166.94.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-x11] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2021 06:34:15 -0000 Robert Huff wrote: > > > Niclas Zeising asks: > > > > When did it stop working? > > > > > > September ... I _think_. > > > > Yeah, that sounds about right. > > > > There are known issues with Radeon cards, they were quite well > > supported a year ago, then something got broken. I've promised to > > bisect this and find the cause, but there were several syscall-related > > changes in -CURRENT though the course of the last year, so bisecting > > just the kernel is not enough (machine won't get to login prompt if > > the userland does not match), which cripples the process. > > > > I still intend to take this quest, just not sure when. :( > > Expanding on "September ... I think": > Try September 26 as a reference date. Sometime close to then I > a) updated world+kernel to the latest version of current, so also b) > updated to the latest drm-current-kmod and gpu-firmware. > Question: is there a way for the less sophisticated user > to tell whether the cause is in the drm knod or the firmware kmod? > It may well be in both. See PR #247441, in which the firmware hangs the GPU, the drm kmod then notices that the GPU has stopped responding, waits 10+ s, then branches into the BIOS reset routine. Both the hang and the drm kmod response are bugs. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at sdf.org *xor* bennett at freeshell.org * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * **********************************************************************