From nobody Fri Jun 6 00:18:06 2025 X-Original-To: freebsd-current@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 4bD2380r4fz5x6hK for ; Fri, 06 Jun 2025 00:18:12 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bD238062Xz3kqg; Fri, 06 Jun 2025 00:18:12 +0000 (UTC) (envelope-from bz@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749169092; 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: in-reply-to:in-reply-to:references:references; bh=x5Gob7KD+NRDmPGr9GtEmnDe0jJnuBb6WUd0bOw5ys0=; b=h4NyHfUj8kxw1FaRm8E/7GN+47M/rpy7uOIEd3qhj6selT7wxxM2alDHaNTH9k5kvmU/WZ Z2PAnwr2sw3Bm57GxaMZycUhM7Ag4qAc7WmUqvQpQUkIzUaHR9qCxUTOzfwqb96s7CXQ0B BKdiUWgn2SWfpdGJxUP7jLxyXMlW/CH2/gc7hHN9Mq+w7dGYHyQza7sCWwtxB7792KWKkO n+rClgAO4mDcbanYQBLkB6BKAvTBNXaK0qj+rOE9kzfGLrvWM+E35i7w+G0B+lcaMAovds 7N36oq3AtkDN9ZXL0mJqqn62+4If5jIOWqfanOs55bQNen2QORZLpU1Ki21yQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749169092; 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: in-reply-to:in-reply-to:references:references; bh=x5Gob7KD+NRDmPGr9GtEmnDe0jJnuBb6WUd0bOw5ys0=; b=DkQN9hwpP+1pA+tRwyeVWY6nhRQjYj7gqH0Pmc//1Xz1g6O99paJjLg82TG+Gn6m6R4RhL Uxz+kp8AYvQxxN3zvV5msu4DnajyANwIe48vuyonCkiUUVEK/DdaQ3xRTVTOgQQIHc55hf 4/DFYD0YvnKXdGmFEezDSXE1QcbKj5dRa4w+PWc3SmXqQ9iWI8fPvfkulGWLV5ujlifkRW 2SR7z2eMJvXa5QxMqshTMPyP8yqjMvzaTF4A1tdZQ32PhTSST9WwhMKTBp0/s4KlXST/xW G+RxCML6eaCfFjIsJC/SmxTCZBsCutsyv/GEghWMhCJuijELk0oDOVLUw+lD2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1749169092; a=rsa-sha256; cv=none; b=sfycMvhnk0kK+HTr0s6Z4NddGNRVxq4031VHZEMA8bgbnkIGkyuSgvsdWsz3hIht2kG5Va c/rdJ5zZASwCW9DnDfEbvG3zM5+/nhvb3AxKSBaS2wxKq/kTxes0uuG5wWjxXwi8KCSTdT VVJR6A+WyepoxivM9wxsXmbZrksuvWweXOSEoHveaiUozgVSNJRPdE0RYAq4rfAEj9GnBZ 2l+IF5kz0nShel0P3k1qJ6z4G+UHCzMoFCm7PQhPgPQta14KtprVRjoHd0FTpBuOAcKuyT /sQg7OkenxOJSuKdbfSzsfLqYIMXjBEnRojG+LHOH5mir2wYLo+cWDqVkXrWmA== Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bD2375Td1z4sT; Fri, 06 Jun 2025 00:18:11 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id ED826A64805; Fri, 06 Jun 2025 00:18:08 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id D35372D029E0; Fri, 6 Jun 2025 00:18:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id NBMSzwmNa27T; Fri, 6 Jun 2025 00:18:08 +0000 (UTC) Received: from strong-rtwn0.sbone.de (strong-rtwn0.sbone.de [IPv6:fde9:577b:c1a9:4902:3e64:cfff:fe55:bc80]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 9B8902D029D8; Fri, 6 Jun 2025 00:18:08 +0000 (UTC) Date: Fri, 6 Jun 2025 00:18:06 +0000 (UTC) From: "Bjoern A. Zeeb" To: Steve Kargl cc: Steve Kargl , freebsd-current@freebsd.org Subject: Re: drm panic after new world In-Reply-To: Message-ID: <1qr36rs2-149o-574s-sp5o-8sno8o600o94@serrofq.bet> References: <4699f48c-f042-46fe-8f9a-419e86d51f58@comcast.net> <8605cb6d-4121-4733-bc5f-c66c6358ea04@comcast.net> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed On Thu, 5 Jun 2025, Steve Kargl wrote: > On Thu, Jun 05, 2025 at 08:22:45AM +0000, Bjoern A. Zeeb wrote: >> >> Sorting away wireless changes from sys/compat/.. here's what's left: >> >> % git log --oneline adc33d3288..8d136fb027 sys/compat/ | grep -v 802.11 | grep -v skbuff | grep -v wsum | grep -v ASMEDIA >> 325aa4dbd10d linuxkpi: Introduce a properly typed jiffies << jiffies changed to proper type >> 8b51cd07f69e LinuxKPI: define time64_t << new typedef >> 28efbf9d2f67 LinuxKPI: add dummy header file linux/unaligned.h << empty header file >> e29d72ac3ddd LinuxKPI: pci: add pci_info() << new macro for logging >> f94d7319540b LinuxKPI: sysfs: implement sysfs_match_string() << new macro/func >> 6841b9987e83 LinuxKPI: add container_of_const() << new macro >> 69880fede78f LinuxKPI: extend struct and enum for leds << LED additions to struct/enum (unused) >> 059136a95aca LinuxKPI: add cleanup.h to mutex.h << #include added >> 15581af7c2d3 exec: Remove parameter 'segflg' from exec_copyin_args() << linuxolator >> 97f3a1565d88 linuxkpi: use iterator in zap_vma_ptes << VM > > Well, my first attempt was at 6c3a4b5fab, which happens to That's not a valid hash. > include all of the above commits. I misread the list as > oldest to newest. Boot system, kldload radeonkms.ko, > and startx laeds to a panic. The dump_stack() in evergreen.c > occurs twice. > > Just completed rebuilding everything at e1f3f15192c. This is > the hash tag for the commit prior to 97f3a1565d88 from above. > This boots up, I kldload radeonkms.ko, and startx brings up > the expected desktop. Do I understand you correctly that the change before 97f3a1565d88 (VM changes) worked but 97f3a1565d88 fails? Or only the former is true and the latter we do not know? We only know with all of the above it's kaputt but before it's fine? > Looking at dmesg, I see > > ... > drmn0: radeon: MSI limited to 32-bit > drmn0: radeon: using MSI. > [drm] radeon: irq initialized. > #0 0xffffffff808bbcfb at linux_dump_stack+0x1b > #1 0xffffffff82a67adc at evergreen_startup+0x15ec > #2 0xffffffff82a67fb6 at evergreen_init+0x276 > #3 0xffffffff82abdc35 at radeon_device_init+0x835 > #4 0xffffffff82aceb4e at radeon_driver_load_kms+0x19e > > > and no other mentions of evergreen.c. IOW, initialization > appears to occur once. That sounds good. So no resume path. I almost fear your problem is outside LinuxKPI but we'll see. I'd try 28efbf9d2f67 next to see what happens if I got you correctly. /bz -- Bjoern A. Zeeb r15:7