Gladdle Guru


Joined: 27 Jul 2008 Posts: 315 Location: Cleebronn, Germany
|
Posted: Sat Mar 29, 2025 7:02 am Post subject: [SOLVED] Genkernel and firmware driver problems |
|
|
I have a new Lenovo Thinkpad E16, "lspci | grep VGA": Code: | 04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] (rev 0c) |
So i use th Gentoo wiki: https://wiki.gentoo.org/wiki/AMDGPU and it leads me to https://wiki.gentoo.org/wiki/Genkernel#Firmware_loading to include the firmware to my kernel. So i start to edit my "/etc/genkernel.conf": Code: | ...
# Install firmware onto root filesystem
# Will conflict with sys-kernel/linux-firmware package
#FIRMWARE_INSTALL="no"
# Include full contents of FIRMWARE_DIR
# (if FIRMWARE option below is set to YES).
#ALLFIRMWARE="no"
# Add firmware(s) to initramfs required by copied modules
FIRMWARE="yes"
# Specify directory to pull from
FIRMWARE_DIR="/lib/firmware"
# Specify a comma-separated list of firmware files or directories to include,
# relative to FIRMWARE_DIR (if FIRMWARE option above is set to YES
# and ALLFIRMWARE is set to NO).
FIRMWARE_FILES="amdgpu/yellow_carp_asd.bin, amdgpu/yellow_carp_ce.bin, amdgpu/yellow_carp_dmcub.bin, amdgpu/yellow_carp_me.bin, amdgpu/yellow_carp_mec2.bin, amdgpu/yellow_carp_mec.bin, amdgpu/yellow_carp_pfp.bin, amdgpu/yellow_carp_rlc.bin, amdgpu/yellow_carp_sdma.bin, amdgpu/yellow_carp_ta.bin, amdgpu/yellow_carp_toc.bin, amdgpu/yellow_carp_vcn.bin"
... |
But all i got is this error when start "genkernel all": Code: | Gentoo Linux Genkernel; Version 4.3.16
Using genkernel configuration from '/etc/genkernel.conf' ...
Running with options: all
ERROR: --firmware-files contains value ' amdgpu/yellow_carp_ce.bin' which was not found in '/lib/firmware'!
Please consult '/var/log/genkernel.log' for more information and any
errors that were reported above.
Report any genkernel bugs to bugs.gentoo.org and
assign your bug to genkernel@gentoo.org. Please include
as much information as you can in your bug report; attaching
'/var/log/genkernel.log' so that your issue can be dealt with effectively.
Please do *not* report kernel compilation failures as genkernel bugs! |
But the files are here: Code: | -rw-r--r-- 1 root root 165K 26. Mär 04:49 /lib/firmware/amdgpu/yellow_carp_asd.bin
-rw-r--r-- 1 root root 258K 26. Mär 04:49 /lib/firmware/amdgpu/yellow_carp_ce.bin
-rw-r--r-- 1 root root 230K 26. Mär 04:49 /lib/firmware/amdgpu/yellow_carp_dmcub.bin
-rw-r--r-- 1 root root 258K 26. Mär 04:49 /lib/firmware/amdgpu/yellow_carp_me.bin
-rw-r--r-- 1 root root 262K 26. Mär 04:49 /lib/firmware/amdgpu/yellow_carp_mec.bin
-rw-r--r-- 1 root root 262K 26. Mär 04:49 /lib/firmware/amdgpu/yellow_carp_mec2.bin
-rw-r--r-- 1 root root 258K 26. Mär 04:49 /lib/firmware/amdgpu/yellow_carp_pfp.bin
-rw-r--r-- 1 root root 174K 26. Mär 04:49 /lib/firmware/amdgpu/yellow_carp_rlc.bin
-rw-r--r-- 1 root root 34K 26. Mär 04:49 /lib/firmware/amdgpu/yellow_carp_sdma.bin
-rw-r--r-- 1 root root 229K 26. Mär 04:49 /lib/firmware/amdgpu/yellow_carp_ta.bin
-rw-r--r-- 1 root root 1,8K 26. Mär 04:49 /lib/firmware/amdgpu/yellow_carp_toc.bin
-rw-r--r-- 1 root root 559K 26. Mär 04:49 /lib/firmware/amdgpu/yellow_carp_vcn.bin |
So what did i do wrong? I've searched but found nothing :/
It's my fault, i found this:
"/etc/genkernel.conf": Code: | ...
# WRONG
#FIRMWARE_FILES="amdgpu/yellow_carp_asd.bin, amdgpu/yellow_carp_ce.bin, amdgpu/yellow_carp_dmcub.bin, amdgpu/yellow_carp_me.bin, amdgpu/yellow_carp_mec2.bin, amdgpu/yellow_carp_mec.bin, amdgpu/yellow_carp_pfp.bin, amdgpu/yellow_carp_rlc.bin, amdgpu/yellow_carp_sdma.bin, amdgpu/yellow_carp_ta.bin, amdgpu/yellow_carp_toc.bin, amdgpu/yellow_carp_vcn.bin"
#RIGHT
FIRMWARE_FILES="amdgpu/yellow_carp_asd.bin,amdgpu/yellow_carp_ce.bin,amdgpu/yellow_carp_dmcub.bin,amdgpu/yellow_carp_me.bin,amdgpu/yellow_carp_mec2.bin,
amdgpu/yellow_carp_mec.bin,amdgpu/yellow_carp_pfp.bin,amdgpu/yellow_carp_rlc.bin,amdgpu/yellow_carp_sdma.bin,amdgpu/yellow_carp_ta.bin,amdgpu/yellow_carp_toc.bin,
amdgpu/yellow_carp_vcn.bin"
... |
Moderator note: Fixed a layout breaking long line. -- Banana |
|