From nobody Thu Jun 05 23:29:04 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 4bD0yY2S4kz5yWvM for ; Thu, 05 Jun 2025 23:29:09 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bD0yX6HSZz3qjg; Thu, 05 Jun 2025 23:29:08 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Authentication-Results: mx1.freebsd.org; none Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.18.1/8.18.1) with ESMTP id 555NT4Vp001866; Thu, 5 Jun 2025 16:29:04 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) DKIM-Filter: OpenDKIM Filter v2.10.3 troutmask.apl.washington.edu 555NT4Vp001866 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=troutmask.apl.washington.edu; s=troutmask; t=1749166144; bh=JJSP1MOcOPMz4B4u2YixqJ6aQeaRzZ398X3NrinI+Q0=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=B1RPliASJFuFlFxGaiuofYIDTE4XNWBW3Ishq4ObZY88xG8zgjQGglLWObf6XoBLo 0yDA3tb4YHgJv8EuOKS9UvEac+NJLxC9rQjglPWTA5e2n8P4cSVoTE1dqbTQON6eyw YyAj8CUrSO3K63vJ1Nq34NO3Jab4OGwcoOSEdYSBTGel1xqJjZSzYBmCiAC4MJ15xp qd4+mC9cXV4ygKXEkMlNHMxDs88VTC2vXuYV6p0niFhBlPKO3OzwmXHqxmtblZn+Js etSsjsy6U8Af8DGRLkGRfdAawPVwwf9VqxKWq7501W2Oze4aknthc2syf3cL5FIISw OqruGHcbY27Gw== Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.18.1/8.18.1/Submit) id 555NT4hl001865; Thu, 5 Jun 2025 16:29:04 -0700 (PDT) (envelope-from sgk) Date: Thu, 5 Jun 2025 16:29:04 -0700 From: Steve Kargl To: "Bjoern A. Zeeb" Cc: Steve Kargl , freebsd-current@freebsd.org Subject: Re: drm panic after new world Message-ID: Reply-To: sgk@troutmask.apl.washington.edu References: <4699f48c-f042-46fe-8f9a-419e86d51f58@comcast.net> <8605cb6d-4121-4733-bc5f-c66c6358ea04@comcast.net> 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 Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4bD0yX6HSZz3qjg X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US] 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 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. 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. -- Steve