Re: Xorg fails after update system to 16.0
- Reply: Matthias Apitz : "Re: Xorg fails after update system to 16.0"
- In reply to: Ruslan Zalata : "Xorg fails after update system to 16.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 Oct 2026 06:06:14 UTC
El día lunes, octubre 19, 2026 a las 02:44:17a. m. +0500, Ruslan Zalata escribió: > Hello Matthias, > > > # kldload amdgpu > > (PANIC) > > > > Loading amdgpu.ko (which would be normally done via /etc/rc.conf) PANICs > > the system. The lines in /var/log/messages after the kldload are: > > > > ... > > Oct 18 22:33:16 ASUS-150 kernel: amdgpu: ATOM BIOS: 113-CEZANNE-018 > > Oct 18 22:33:16 ASUS-150 kernel: drmn0: could not load firmware image > > 'amdgpu/green_sardine_sdma.bin' > > Oct 18 22:33:16 ASUS-150 kernel: [drm ERROR > > :amdgpu_sdma_init_microcode] SDMA: Failed to init firmware > > "amdgpu/green_sardine_sdma.bin" > > I work with different kernels and I face similar issues occasionally. Looks > like you have somehow intermixed modules for old and new kernel. Please > check against which version of kernel each of your module is compiled > (including firmware), then replace old ones. > > I recently posted a simple 'kldinfo' tool for that purpose, you can get it > from https://github.com/pointcheck/kldinfo.git > > Example from my laptop running 13.5: > > % kldinfo /boot/modules/amdgpu_green_sardine_sdma_bin.ko > MODULE: amdgpu_green_sardine_sdma_bin_fw DEPENDS: kernel > VERSION: 1305000 1305000 1399999 > MODULE: amdgpu_green_sardine_sdma_bin_fw DEPENDS: firmware > VERSION: 1 1 1 > kldinfo: found 2 dependencies in > /boot/modules/amdgpu_green_sardine_sdma_bin.ko > > Hope this helps. > > --- > Regards, > Ruslan > Hello Ruslan, Thanks for this hint and your very useful tool. I run: guru@ASUS-150:~/kldinfo $ for mod in /boot/modules/*.ko; do ./kldinfo $mod ; done > kldinfo.lst 2>&1 guru@ASUS-150:~/kldinfo $ grep kernel kldinfo.lst MODULE: amdgpu DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: amdgpu_aldebaran_mec2_bin_fw DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: amdgpu_aldebaran_mec_bin_fw DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: amdgpu_aldebaran_rlc_bin_fw DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: amdgpu_aldebaran_sdma_bin_fw DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: amdgpu_aldebaran_sjt_mec2_bin_fw DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: amdgpu_aldebaran_sjt_mec_bin_fw DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: amdgpu_aldebaran_smc_bin_fw DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: amdgpu_aldebaran_sos_bin_fw DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: amdgpu_aldebaran_ta_bin_fw DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: amdgpu_aldebaran_vcn_bin_fw DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: drmn DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: iicbus_drmn DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: acpi_iicbus_drmn DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: i915kms DEPENDS: kernel VERSION: 1600028 1600028 1699999 MODULE: radeonkms DEPENDS: kernel VERSION: 1600028 1600028 1699999 i.e. all existing modules in /boot/modules/ are compiled against the correct kernel version. As I said above, there is also something missind: > > Oct 18 22:33:16 ASUS-150 kernel: drmn0: could not load firmware image > > 'amdgpu/green_sardine_sdma.bin' The above existing module have been installed by: $ pkg info -l gpu-firmware-amd-kmod-aldebaran-20260519.1600028 gpu-firmware-amd-kmod-aldebaran-20260519.1600028: /boot/modules/amdgpu_aldebaran_mec2_bin.ko /boot/modules/amdgpu_aldebaran_mec_bin.ko /boot/modules/amdgpu_aldebaran_rlc_bin.ko /boot/modules/amdgpu_aldebaran_sdma_bin.ko /boot/modules/amdgpu_aldebaran_sjt_mec2_bin.ko /boot/modules/amdgpu_aldebaran_sjt_mec_bin.ko /boot/modules/amdgpu_aldebaran_smc_bin.ko /boot/modules/amdgpu_aldebaran_sos_bin.ko /boot/modules/amdgpu_aldebaran_ta_bin.ko /boot/modules/amdgpu_aldebaran_vcn_bin.ko ... The above missing file have been in March 2025 part of this pkg: $ tar tzf gpu-firmware-amd-kmod-green-sardine-20230625.1500033_2.pkg +COMPACT_MANIFEST +MANIFEST /boot/modules/amdgpu_green_sardine_asd_bin.ko /boot/modules/amdgpu_green_sardine_ce_bin.ko /boot/modules/amdgpu_green_sardine_dmcub_bin.ko /boot/modules/amdgpu_green_sardine_me_bin.ko /boot/modules/amdgpu_green_sardine_mec_bin.ko /boot/modules/amdgpu_green_sardine_mec2_bin.ko /boot/modules/amdgpu_green_sardine_pfp_bin.ko /boot/modules/amdgpu_green_sardine_rlc_bin.ko /boot/modules/amdgpu_green_sardine_sdma_bin.ko /boot/modules/amdgpu_green_sardine_ta_bin.ko /boot/modules/amdgpu_green_sardine_vcn_bin.ko which is not installed any more, onl: $ pkg info | grep gpu gpu-firmware-amd-kmod-aldebaran-20260519.1600028 Firmware modules for aldebaran AMD GPUs What do I miss? Do I need the amdgpu_green_sardine_* files? If not, why is amdgpu.ko complaining about is absence. Thanks again matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub