From owner-freebsd-x11@freebsd.org Tue Jan 26 12:42:49 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 B62EF4ED109 for ; Tue, 26 Jan 2021 12:42:49 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DQ5x539RBz3mJl for ; Tue, 26 Jan 2021 12:42:49 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.nyi.freebsd.org (Postfix) id 6B0F04ED196; Tue, 26 Jan 2021 12:42:49 +0000 (UTC) Delivered-To: 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 6A9DB4ED194; Tue, 26 Jan 2021 12:42:49 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (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.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DQ5x460qtz3mDK; Tue, 26 Jan 2021 12:42:48 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1611664965; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=259mCduDEwD+bhch8giOY8Ouy9DH3rMokiU0UF9JGjQ=; b=REfcMCKEuBPB0dpoVoU/ncoVhrEaSGMGRA98V0x0t//zP4NRaZsXsHaV2ZWIjRQVjuYwJ/ w/6I4zhAqsVxe9Ucq1nBGaBS1aBmFVB/FJ0ecrO7WQ0+Bui0X+lqz8NPFB/d6BaYQoPV9L 2VyV9IWsFTsAn5GcNjCDGglpjRj9wFw= Received: from amy.home (lfbn-idf2-1-745-114.w86-247.abo.wanadoo.fr [86.247.192.114]) by mx.blih.net (OpenSMTPD) with ESMTPSA id ac828d50 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 26 Jan 2021 12:42:45 +0000 (UTC) Date: Tue, 26 Jan 2021 13:42:45 +0100 From: Emmanuel Vadot To: Alexey Dokuchaev Cc: Robert Huff , Niclas Zeising , current@freebsd.org, x11@freebsd.org, =?ISO-8859-1?Q?T=3Fl?= Coosemans Subject: Re: loading drm crashes system Message-Id: <20210126134245.e2aca7ed6061505ff4a3cedc@bidouilliste.com> In-Reply-To: <20210126070211.GB43439@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> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DQ5x460qtz3mDK X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[freebsd]; REPLY(-4.00)[] 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: Tue, 26 Jan 2021 12:42:49 -0000 On Tue, 26 Jan 2021 07:02:11 +0000 Alexey Dokuchaev wrote: > On Mon, Jan 25, 2021 at 10:21:16PM -0500, 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. :( > > ./danfe So back in November I applied a few commits from tijl@ related to radeon and i386 (added to cc) : https://github.com/freebsd/drm-kmod/commits/5.4-lts?author=tijl@coosemans.org For me this fixed radeon so that gives some timeline if someone with non working hardware wants to bisect. I know that bisecting drm-kmod is somewhat hard as you always need matching kernel code when we update it to use some new functionality in base linuxkpi but there is nothing that I can do about it. It might work and be quicker to only bisect the kernel with a stable/12 userland (no need to recompile) so I would start by testing a kernel from early november and same date for drm-kmod. Tijl since you also reported a build failure a few days/weeks ago for radeon can you report if your radeon card works ? (And which one it is). Cheers, -- Emmanuel Vadot