drm panic after new world

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Thu, 29 May 2025 20:06:22 UTC
After rebuilding world and installing, I rebuilt the drm-515
port and the accompanying gpu-firmware.  This port has worked
upto this update.  Upon running xinit to load Xorg, I am
greeted with the panic following my .sig (text extracted from 
/var/crash/core.txt.1).

As a side note, 'pkg delete -f drm-515' followed by
building and install /usr/ports/graphics/drm-mod
selects the drm-66-kmod port.  The ends up in a endless
loop of reboots when loading the radeonkms.ko module.

-- 
steve

panic: pfs_add_node(): homonymous siblings

Reading symbols from /usr/lib/debug//boot/kernel/cpuctl.ko.debug...
__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57
57		__asm("movq %%gs:%c1,%0" : "=r" (td)
(kgdb) #0  __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57
        td = <optimized out>
#1  doadump (textdump=textdump@entry=1)
    at /usr/src/sys/kern/kern_shutdown.c:404
        error = 0
        coredump = <optimized out>
#2  0xffffffff80673100 in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:524
        once = 0
        __pc = 0x0
#3  0xffffffff80673637 in vpanic (
    fmt=0xffffffff80a5b332 "%s(): homonymous siblings", 
    ap=ap@entry=0xfffffe00d836e8f0) at /usr/src/sys/kern/kern_shutdown.c:979
        buf = "pfs_add_node(): homonymous siblings", '\000' <repeats 220 times>
        __pc = 0x0
        __pc = 0x0
        __pc = 0x0
        other_cpus = {__bits = {253, 0 <repeats 15 times>}}
        td = 0xfffff8000d7b3740
        bootopt = <unavailable>
        newpanic = <optimized out>
#4  0xffffffff80673463 in panic (fmt=<unavailable>)
    at /usr/src/sys/kern/kern_shutdown.c:892
        ap = {{gp_offset = 16, fp_offset = 48, 
            overflow_arg_area = 0xfffffe00d836e920, 
            reg_save_area = 0xfffffe00d836e8c0}}
#5  0xffffffff805c8718 in pfs_add_node (
    parent=parent@entry=0xfffff80003955400, pn=pn@entry=0xfffff803557e0900)
    at /usr/src/sys/fs/pseudofs/pseudofs.c:123
        iter = <optimized out>
#6  0xffffffff805c8bd2 in pfs_create_file (parent=0xfffff80003955400, 
    name=name@entry=0xffffffff82b293f4 "radeon_ring_gfx", 
    fill=0xffffffff82bf70f0 <debugfs_fill>, 
    attr=0xffffffff82bf72f0 <debugfs_attr>, vis=vis@entry=0x0, 
    destroy=0xffffffff82bf7310 <debugfs_destroy>, flags=33)
    at /usr/src/sys/fs/pseudofs/pseudofs.c:266
        pn = 0xfffff803557e0900
#7  0xffffffff82bf70b8 in debugfs_create_file (
    name=0xffffffff82b293f4 "radeon_ring_gfx", mode=292, 
    parent=0xfffff8000398e400, data=0xfffffe012354dd30, 
    fops=0xffffffff82b55918 <radeon_debugfs_ring_info_fops>)
    at /usr/src/sys/compat/lindebugfs/lindebugfs.c:209
        dm = 0xfffff80003990580
        dnode = 0xfffff80003990580
        pnode = <unavailable>
        flags = <optimized out>
        _size = <optimized out>
        _malloc_item = <optimized out>
#8  0xffffffff82ad0084 in radeon_ring_init () from /boot/modules/radeonkms.ko
No symbol table info available.
#9  0xffffffff82a5caf7 in evergreen_startup () from /boot/modules/radeonkms.ko
No symbol table info available.
#10 0xffffffff82a5b333 in evergreen_resume () from /boot/modules/radeonkms.ko
No symbol table info available.
#11 0xffffffff82ab3e90 in radeon_gpu_reset () from /boot/modules/radeonkms.ko
No symbol table info available.
#12 0xffffffff82abee98 in radeon_gem_wait_idle_ioctl ()
   from /boot/modules/radeonkms.ko
No symbol table info available.
#13 0xffffffff82ba9f16 in drm_ioctl_kernel () from /boot/modules/drm.ko
No symbol table info available.
#14 0xffffffff82baa28d in drm_ioctl () from /boot/modules/drm.ko
No symbol table info available.
#15 0xffffffff808b98e1 in linux_file_ioctl_sub (filp=0xfffffe012354dd30, 
    fop=<optimized out>, data=<optimized out>, fp=<optimized out>, 
    cmd=<optimized out>, td=<optimized out>)
    at /usr/src/sys/compat/linuxkpi/common/src/linux_compat.c:953
        task = 0xfffff800066f9f18
        size = 524288
        error = <optimized out>
        __td = <optimized out>
        __fpop = <optimized out>
        __retval = <optimized out>
        __fpop = <optimized out>
        __retval = <optimized out>
        __fpop = <optimized out>
        __retval = <optimized out>
#16 linux_file_ioctl (fp=<unavailable>, 
    fp@entry=<error reading variable: value is not available>, 
    cmd=<unavailable>, 
    cmd@entry=<error reading variable: value is not available>, 
    data=<unavailable>, 
    data@entry=<error reading variable: value is not available>, 
    cred=<optimized out>, td=<unavailable>, 
    td@entry=<error reading variable: value is not available>)
    at /usr/src/sys/compat/linuxkpi/common/src/linux_compat.c:1629
        error = 0
        filp = 0xfffffe012354dd30
        fop = <optimized out>
        ldev = 0xfffffe012354c000
        p = <optimized out>
        i = <optimized out>
        fgn = <optimized out>
#17 0xffffffff806e442e in fo_ioctl (fp=0xfffff8000d6d8320, com=2148033636, 
    data=<unavailable>, active_cred=<unavailable>, td=0xfffff8000d7b3740)
    at /usr/src/sys/sys/file.h:376
No locals.
#18 kern_ioctl (td=td@entry=0xfffff8000d7b3740, fd=<optimized out>, 
    com=com@entry=2148033636, data=<unavailable>, 
    data@entry=0xfffffe00d836ed60 "r") at /usr/src/sys/kern/sys_generic.c:806
        tmp = 0
        fdp = 0xfffffe011f4da000
        locked = 0
        fp = 0xfffff8000d6d8320
        error = <optimized out>
#19 0xffffffff806e41ef in sys_ioctl (td=0xfffff8000d7b3740, 
    uap=0xfffff8000d7b3b40) at /usr/src/sys/kern/sys_generic.c:714
        smalldata = "r", '\000' <repeats 16 times>, "Rn@\002\000\000\000\300\001", '\000' <repeats 62 times>, "\004", '\000' <repeats 38 times>
        arg = 114
        com = 2148033636
        size = 8
        data = 0xfffffe00d836ed60 "r"
        error = <optimized out>
#20 0xffffffff80a0123b in syscallenter (td=0xfffff8000d7b3740)
    at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:191
        se = 0xffffffff80e61270 <sysent+1728>
        p = 0xfffffe00c5a09020
        sa = 0xfffff8000d7b3b30
        error = <optimized out>
        traced = <optimized out>
        sy_thr_static = <optimized out>
#21 amd64_syscall (td=0xfffff8000d7b3740, traced=0)
    at /usr/src/sys/amd64/amd64/trap.c:1215
        ksi = {ksi_link = {tqe_next = 0xfffffe00d836eed0, 
            tqe_prev = 0xffffffff8067d428 <ast_sig+1080>}, ksi_info = {
            si_signo = 53714432, si_errno = -2048, si_code = -667488640, 
            si_pid = -512, si_uid = 3627478640, si_status = -512, 
            si_addr = 0x246, si_value = {sival_int = 75558912, 
              sival_ptr = 0xfffff8000480f000, sigval_int = 75558912, 
              sigval_ptr = 0xfffff8000480f000}, _reason = {_fault = {
                _trapno = 582}, _timer = {_timerid = 582, _overrun = 0}, 
              _mesgq = {_mqd = 582}, _poll = {_band = 582}, _capsicum = {
                _syscall = 582}, __spare__ = {__spare1__ = 582, __spare2__ = {
                  -667488560, -512, -2140845675, -1, 1080972400, 2, 
                  -2137175316}}}}, ksi_flags = 1080970816, 
          ksi_sigq = 0xffffffff80e00020 <locks_delay>}
#22 <signal handler called>
No locals.
#23 0x000000024b80bc1a in ?? ()
No symbol table info available.
Backtrace stopped: Cannot access memory at address 0x2406e5448