Plaintext formatRe: amdgpu: panic: Assertion td->td_lkpi_task == NULL

From: Klaus_Küchemann <maciphone2_at_googlemail.com>
Date: Sun, 02 Aug 2026 21:36:38 UTC
Ouch,  html mail gracefully fails in some mail archives , here comes plaintext again:-) 

In short : version bump in D58593 didn`t help for KP in  amdgpu in my case

> Am 02.08.2026 um 23:08 schrieb Klaus Cucinauomo <maciphone2@googlemail.com>:
> 
> Hi, 
> 
> quick compilation of D58593  didn`t help , can see that patch attached by the dirty-tag in uname .
> Maybe mismatch with following, have no clue about that version-controls :
> now deleting pkg drm-kmod gpu-firmware-radeon-kmod-xyz - 20260519.1600019 
> etc. & autoremove from single user to be able to boot back into kernel ..
> 
> Regards
> K.



> 
>> Am 02.08.2026 um 22:21 schrieb Christos Longros <chris.longros@gmail.com>:
>> 
>> Looks like your kernel is newer than your drm kmod. When was your drm-*-kmod built? See also https://reviews.freebsd.org/D58593
>> 


>> 
>> On Sun, 2 Aug 2026 at 21:51, Klaus Küchemann <maciphone2@googlemail.com> wrote:
>> Dump header from device: /dev/nda0p3
>>   Architecture: amd64
>>   Architecture Version: 2
>>   Dump Length: 798560256
>>   Blocksize: 512
>>   Compression: none
>>   Dumptime: 2026-08-02 20:07:23 +0200
>>   Hostname:
>>   Magic: FreeBSD Kernel Dump
>>   Version String: FreeBSD 16.0-CURRENT #0 main-n287888-f68d7bfc1479: Sun Aug  2 19:04:22 CEST 2026
>>     root@fbsd5pro:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
>>   Panic String: Assertion td->td_lkpi_task == NULL failed at /usr/src/sys/compat/linuxkpi/common/src/linux_current.c:85
>>   Dump Parity: 1121206867
>>   Bounds: 4
>>   Dump Status: good
>> —
>> <118>Loading kernel modules:
>> drmn0: <drmn> on vgapci0
>> vgapci0: child drmn0 requested pci_enable_io
>> vgapci0: child drmn0 requested pci_enable_io
>> <6>[drm] initializing kernel modesetting (RENOIR 0x1002:0x1636 0x1002:0x1636 0xD9).
>> <6>[drm] register mmio base: 0xFCA00000
>> <6>[drm] register mmio size: 524288
>> <6>[drm] add ip block number 0 <soc15_common>
>> <6>[drm] add ip block number 1 <gmc_v9_0>
>> <6>[drm] add ip block number 2 <vega10_ih>
>> <6>[drm] add ip block number 3 <psp>
>> <6>[drm] add ip block number 4 <smu>
>> <6>[drm] add ip block number 5 <dm>
>> <6>[drm] add ip block number 6 <gfx_v9_0>
>> <6>[drm] add ip block number 7 <sdma_v4_0>
>> <6>[drm] add ip block number 8 <vcn_v2_0>
>> <6>[drm] add ip block number 9 <jpeg_v2_0>
>> <6>[drm] BIOS signature incorrect 0 0
>> drmn0: Fetched VBIOS from ROM BAR
>> <6>amdgpu: ATOM BIOS: 113-RENOIR-026
>> drmn0: successfully loaded firmware image 'amdgpu/renoir_asd.bin'
>> drmn0: successfully loaded firmware image 'amdgpu/renoir_ta.bin'
>> drmn0: successfully loaded firmware image 'amdgpu/renoir_dmcub.bin'
>> drmn0: successfully loaded firmware image 'amdgpu/renoir_pfp.bin'
>> drmn0: successfully loaded firmware image 'amdgpu/renoir_me.bin'
>> drmn0: successfully loaded firmware image 'amdgpu/renoir_ce.bin'
>> drmn0: successfully loaded firmware image 'amdgpu/renoir_rlc.bin'
>> drmn0: successfully loaded firmware image 'amdgpu/renoir_mec.bin'
>> drmn0: successfully loaded firmware image 'amdgpu/renoir_sdma.bin'
>> drmn0: successfully loaded firmware image 'amdgpu/renoir_vcn.bin'
>> drmn0: Trusted Memory Zone (TMZ) feature enabled
>> drmn0: PCIE atomic ops is not supported
>> drmn0: MODE2 reset
>> <6>[drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
>> drmn0: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
>> drmn0: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
>> <6>[drm] Detected VRAM RAM=512M, BAR=512M
>> <6>[drm] RAM width 128bits DDR4
>> <6>[drm] amdgpu: 512M of VRAM memory ready
>> <6>[drm] amdgpu: 7867M of GTT memory ready.
>> <6>[drm] GART: num cpu pages 262144, num gpu pages 262144
>> <6>[drm] PCIE GART of 1024M enabled.
>> <6>[drm] PTB located at 0x000000F41FC00000
>> <6>[drm] Loading DMUB firmware via PSP: version=0x0101002B
>> <6>[drm] Found VCN firmware Version ENC: 1.24 DEC: 8 VEP: 0 Revision: 9
>> drmn0: reserve 0x400000 from 0xf41f800000 for PSP TMR
>> drmn0: RAS: optional ras ta ucode is not available
>> drmn0: RAP: optional rap ta ucode is not available
>> drmn0: psp gfx command LOAD_TA(0x1) failed and response status is (0x7)
>> drmn0: SMU is initialized successfully!
>> panic: Assertion td->td_lkpi_task == NULL failed at /usr/src/sys/compat/linuxkpi/common/src/linux_current.c:85
>> cpuid = 8
>> time = 1785694043
>> KDB: stack backtrace:
>> db_trace_self_wrapper() at db_trace_self_wrapper+0x36/frame 0xfffffe01392cc238
>> vpanic() at vpanic+0x149/frame 0xfffffe01392cc368
>> panic() at panic+0x43/frame 0xfffffe01392cc3c8
>> linux_alloc_current() at linux_alloc_current+0x2e3/frame 0xfffffe01392cc418
>> dc_assert_fp_enabled() at dc_assert_fp_enabled+0x77/frame 0xfffffe01392cc438
>> dcn21_update_bw_bounding_box() at dcn21_update_bw_bounding_box+0x26/frame 0xfffffe01392cc470
>> dc_create() at dc_create+0x3c4/frame 0xfffffe01392cc4b0
>> dm_hw_init() at dm_hw_init+0x45e/frame 0xfffffe01392cc6d0
>> amdgpu_device_ip_hw_init_phase2() at amdgpu_device_ip_hw_init_phase2+0x5a/frame 0xfffffe01392cc700
>> amdgpu_device_ip_init() at amdgpu_device_ip_init+0x3e0/frame 0xfffffe01392cc770
>> amdgpu_device_init() at amdgpu_device_init+0x1efc/frame 0xfffffe01392cc820
>> amdgpu_driver_load_kms() at amdgpu_driver_load_kms+0x16/frame 0xfffffe01392cc850
>> amdgpu_pci_probe() at amdgpu_pci_probe+0x299/frame 0xfffffe01392cc8a0
>> linux_pci_attach_device() at linux_pci_attach_device+0x55b/frame 0xfffffe01392cc900
>> device_attach() at device_attach+0x466/frame 0xfffffe01392cc950
>> bus_generic_driver_added() at bus_generic_driver_added+0x90/frame 0xfffffe01392cc970
>> devclass_driver_added() at devclass_driver_added+0x29/frame 0xfffffe01392cc9a0
>> devclass_add_driver() at devclass_add_driver+0x138/frame 0xfffffe01392cc9e0
>> _linux_pci_register_driver() at _linux_pci_register_driver+0xc1/frame 0xfffffe01392cca10
>> amdgpu_evh() at amdgpu_evh+0x65/frame 0xfffffe01392cca20
>> module_register_init() at module_register_init+0xb0/frame 0xfffffe01392cca50
>> linker_load_module() at linker_load_module+0xcf7/frame 0xfffffe01392ccd60
>> kern_kldload() at kern_kldload+0x172/frame 0xfffffe01392ccdb0
>> sys_kldload() at sys_kldload+0x67/frame 0xfffffe01392ccdf0
>> amd64_syscall() at amd64_syscall+0x17c/frame 0xfffffe01392ccf30
>> fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe01392ccf30
>> --- syscall (304, FreeBSD ELF64, kldload), rip = 0x3f3d8048636a, rsp = 0x3f3d7da75358, rbp = 0x3f3d7da758d0 ---
>> KDB: enter: panic
>> Uptime: 7s
>> Dumping 761 out of 15734 MB:..3%..11%..22%..32%..43%..51%..61%..72%..82%..91%
>> ——-
>> 
>>