From nobody Tue Mar 28 17:57:17 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 4PmHT705jPz42DgB for ; Tue, 28 Mar 2023 17:57:31 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (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 "plan-b.pwste.edu.pl", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PmHT53w1Tz3rwW for ; Tue, 28 Mar 2023 17:57:28 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b=iHuwfeB1; spf=none (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl has no SPF policy when checking 2001:678:618::40) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl; dmarc=pass (policy=none) header.from=plan-b.pwste.edu.pl Received: from [IPV6:2a02:22e0:cf00:1ff:f528:8d66:168f:7d30] (mzar@[IPv6:2a02:22e0:cf00:1ff:f528:8d66:168f:7d30]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.17.1/8.17.1) with ESMTPSA id 32SHvHqf093945 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Tue, 28 Mar 2023 19:57:17 +0200 (CEST) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1680026238; bh=0OVZ1qchQRr+A6j9mOGjVvvVN1+V1qqm5ti/G7/ewxI=; h=Date:To:References:From:Subject:In-Reply-To; b=iHuwfeB1tXbCqodbB4beNSsf69/aWtNA9RHsr3Pfx9kfKTVJxmaTsxi4hPqt8r22d dQvs0f8AfTUf0Yil3lfPA5kYNgd3M8sFsAlUx6w+Yalmh/fqyyHDz2bhHScx+K4M3R jnFeGu6BxuO7N/o4i9o/0gcC7dme2VI0cWcFHygMwebH4ZZwYxn8+Q4UFJgRuAxplf aDTqFpigIU9hxo0gHtwlYDu85ex8BqVPHQb69GxPA00xCVOCvlcM39auEPUQb4s7XS UkS5L+vmGWZRSD8gEIQ79IKdySAUXs/uncNThjhF3v37LSNwVkhkROZdcwhlmO94on +2vxN8oLzGH1Q== Message-ID: <4d3115e3-c7f8-bdb4-44d0-a8e99ba21d81@plan-b.pwste.edu.pl> Date: Tue, 28 Mar 2023 19:57:17 +0200 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 To: FreeBSD-STABLE 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> <20230327145629.3b55eed8@slippy> Content-Language: en-US From: Marek Zarychta Subject: Re: -stable from today dumps core with drm-510-kmod and some graphical clients In-Reply-To: <20230327145629.3b55eed8@slippy> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.80 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,none]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_SPF_NA(0.00)[no SPF record]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PmHT53w1Tz3rwW X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N W dniu 27.03.2023 o 23:56, Cy Schubert pisze: > On Mon, 27 Mar 2023 23:43:35 +0200 > Mathias Picker wrote: > >> Am 27. März 2023 23:05:35 MESZ schrieb Cy Schubert : >>> In message <8b47d0a4-a8f1-1841-ee59-3949fe69cbd7@ShaneWare.Biz>, Shane >>> Ambler w >>> rites: >>>> On 26/3/23 01:37, Mathias Picker wrote: >>>>> Starting sddm works fine, starting my normal session crashes or freezes >>>>> FreeBSD. >>>>> >>>>> I can find no error messages after a reboot. >>>>> >>>>> 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 FreeBSD >>>>> even reboots. >>>>> >>>>> “Demanding” means even simple things like qterminal. I tried firefox an >>>> d >>>>> blender and then I had it with the reboots and didn’t try anything else. >>>>> xedit works fine :) >>>>> >>>>> I have nothing in the logs, I have no idea where to look or how to debug >>>>> this. >>>>> >>>>> Any ideas, tipps, help greatly apreciated. >>>> >>>> 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="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 get >>>> a stack trace to find where the panic happened. >>> drm-*-kmod probably needs a rebuild. Likely a data structure changed. In my >>> experience a simple rebuild of the port solves 90% of drm-*-kmod crash >>> problems. >>> >> Hi Cy, >> >> 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. >> >> I switched my swap to non-encrypted and will look if I can get any information from the kernel dump tomorrow. >> >> Oh, and it's on a Thinkpad X1 Yoga 3rd gen, I just noticed I didn't mention 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. drm-515 with 14-CURRENT works fine, but there is a breakage in drm-510 on stable/13. I built it after kernel update today, but it doesn't load: linker_load_file: /boot/modules/radeonkms.ko - unsupported file type. Loading old module of course leads to immediate panic. I am investigating it. -- Marek Zarychta