From nobody Mon Mar 27 21:56:29 2023 X-Original-To: freebsd-stable@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 4PlmqP06Lbz4274K for ; Mon, 27 Mar 2023 21:56:33 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PlmqN6d8kz3qvw for ; Mon, 27 Mar 2023 21:56:32 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id gntlpebFLuZMSgupMpYpfE; Mon, 27 Mar 2023 21:56:32 +0000 Received: from spqr.komquats.com ([70.66.148.124]) by cmsmtp with ESMTPA id gupKpa72OHFsOgupLptLz1; Mon, 27 Mar 2023 21:56:32 +0000 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=64221110 a=Cwc3rblV8FOMdVN/wOAqyQ==:117 a=Cwc3rblV8FOMdVN/wOAqyQ==:17 a=0L-l4hMhVV9mahHo:21 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=k__wU0fu6RkA:10 a=YxBL1-UpAAAA:8 a=jaG8-8rGAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=RmQiB8l881HxT999dEwA:9 a=QEXdDO2ut3YA:10 a=wdFlxY9jkbDIKGjDuZHE:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=RWpPSOBIh2QtOfuNRvVT:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 0F5B06A9; Mon, 27 Mar 2023 14:56:30 -0700 (PDT) Received: from slippy (localhost [IPv6:::1]) by slippy.cwsent.com (Postfix) with ESMTP id DD92DE6; Mon, 27 Mar 2023 14:56:29 -0700 (PDT) Date: Mon, 27 Mar 2023 14:56:29 -0700 From: Cy Schubert To: Mathias Picker Cc: Shane Ambler , FreeBSD-STABLE Subject: Re: -stable from today dumps core with drm-510-kmod and some graphical clients Message-ID: <20230327145629.3b55eed8@slippy> In-Reply-To: <044587F7-4BA9-4585-A789-F4B53E8D02A2@virtual-earth.de> References: <86o7og27eh.fsf@virtual-earth.de> <8b47d0a4-a8f1-1841-ee59-3949fe69cbd7@ShaneWare.Biz> <20230327210535.9ED5A1D7@slippy.cwsent.com> <044587F7-4BA9-4585-A789-F4B53E8D02A2@virtual-earth.de> Organization: KOMQUATS X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4xfJVw/bC1hOBTDg6OGabFLdSA183HHX5uhWbW0fYp4lYfzDEDdqEfV1mGqPlugR2jkFcl1VBjgeschwsmugE122nO4EjnkoWQs+57RIrU7hZlLYAoPlcx I31uMcc8jjOo8qzhgSWOz2SIC1cIGVyYYNha1JpEHrNb/FDV6TsnDLgupZ6ZFomo3X7WFqnwDIcPLtZbemN68R+kfJRGdAgFPymBdlA5nJWgAW2yalZT5XXs zoEqnq8ceopcxNQWmLGqdpOGd/jrRNXe632BhiQSCpfENq9P7DOSqEGIQ998OrKD X-Rspamd-Queue-Id: 4PlmqN6d8kz3qvw X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Mon, 27 Mar 2023 23:43:35 +0200 Mathias Picker wrote: > Am 27. M=C3=A4rz 2023 23:05:35 MESZ schrieb Cy Schubert : > >In message <8b47d0a4-a8f1-1841-ee59-3949fe69cbd7@ShaneWare.Biz>, Shane=20 > >Ambler w > >rites: =20 > >> On 26/3/23 01:37, Mathias Picker wrote: =20 > >> >=20 > >> > Starting sddm works fine, starting my normal session crashes or free= zes > >> > FreeBSD. > >> >=20 > >> > I can find no error messages after a reboot. > >> >=20 > >> > I found out, that I can start xterm or emacs (exwm) without problems, > >> > xrandr works with external screen, but once I start anything more > >> > demanding (I guess demanding of the GPU) everything freezes or FreeB= SD > >> > even reboots. > >> >=20 > >> > =C3=A2=C2=80=C2=9CDemanding=C3=A2=C2=80=C2=9D means even simple thin= gs like qterminal. I tried firefox an =20 > >> d =20 > >> > blender and then I had it with the reboots and didn=C3=A2=C2=80=C2= =99t try anything else. > >> > xedit works fine :) > >> >=20 > >> > I have nothing in the logs, I have no idea where to look or how to d= ebug > >> > this. > >> >=20 > >> > Any ideas, tipps, help greatly apreciated. =20 > >> > >> > >> FreeBSD Developers Handbook Chapter 10: Kernel Debugging > >> > >> https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/ > >> > >> Running stable, kernel dumps may already be enabled, look in /var/crash > >> > >> By enabling a kernel dump when it panics (dumpdev=3D"AUTO" in rc.conf)= the > >> kernel core is saved to swap space, then on reboot gets copied to > >> dumpdir (/var/crash) where you can then use kgdb (from devel/gdb) to g= et > >> a stack trace to find where the panic happened. =20 > > > >drm-*-kmod probably needs a rebuild. Likely a data structure changed. In= my=20 > >experience a simple rebuild of the port solves 90% of drm-*-kmod crash=20 > >problems. > > =20 > Hi Cy, >=20 > sorry I didn't mention that, but I did rebuild drm-kmod, I actually do it= after every new kernel build, just to be on the safe side. >=20 > I switched my swap to non-encrypted and will look if I can get any inform= ation from the kernel dump tomorrow. >=20 > Oh, and it's on a Thinkpad X1 Yoga 3rd gen, I just noticed I didn't menti= on this. It may be worth trying drm-515-kmod as some MFC that works with 515 and not 510 may have been committed. Linux-KPI commits are the usual suspects. I use drm-515 with 14-CURRENT. --=20 Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=3D0