Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/lib/firmware/rtl_nic/rtl8125a-3.fw, rtl8168fp-3.fw [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
poe_1957
Apprentice
Apprentice


Joined: 26 Sep 2018
Posts: 192
Location: Mortsel

PostPosted: Fri Jul 10, 2020 2:31 pm    Post subject: /lib/firmware/rtl_nic/rtl8125a-3.fw, rtl8168fp-3.fw [SOLVED] Reply with quote

Hi,

I tried to compile my kernel and he fails on a previously available firmware driver (see avbove ). In the firmware it is not anymore present.
Anyone an explication for that and can it be fixed ?
Previous kernels/firmware did compile perfectly with the same config.
i need this for module r8169
I have seen it on Ubuntu too.
_________________
Linuxpioneer
ALUG


Last edited by poe_1957 on Wed Aug 12, 2020 2:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55015
Location: 56N 3W

PostPosted: Fri Jul 10, 2020 4:03 pm    Post subject: Reply with quote

poe_1957,

Those files are still in the linux-firmware that I have.

As linux-firmware has got so big, its possible to select what gets installed. There are instructions at the end of the ebuild.
Look into the /etc/portage/savedconfig/... for the configuration file.

The sys-firmware entry lists what is to be installed. Its very easy to get that wrong.
Its so easy in fact, I gave up trying to get it right and made my root filesystem bigger instead.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
poe_1957
Apprentice
Apprentice


Joined: 26 Sep 2018
Posts: 192
Location: Mortsel

PostPosted: Fri Jul 10, 2020 6:37 pm    Post subject: Reply with quote

I think someone should write a selection program that let's you choose the firmware to install.
But it schould contain the driver + for what hardware it is used to construct a savedconfig for portage. Instead of now that you need to consult different websites and pages before you know which driver to use. ;-)
It is strange how much problems you have now due to the fact Linux is supporting soo many architectures. in 1993 you did know only one thing : your architecture is probably not supported but maybe you have luck and you find a driver is it not in the kermel than maybe somewhere else in another unix system....
Now you have the drivers and you cannot find them anymore in the wood. ;-)
I use the savedconfig file but even then it stands in the list with the correct path...
Code:
av7110/bootcode.bin
amd/amd_sev_fam17h_model0xh.sbin
amd-ucode/microcode_amd_fam17h.bin
amd-ucode/microcode_amd_fam17h.bin.asc
amdgpu/navi10_asd.bin
amdgpu/navi10_ce.bin
amdgpu/navi10_gpu_info.bin
amdgpu/navi10_me.bin
amdgpu/navi10_mec.bin
amdgpu/navi10_mec2.bin
amdgpu/navi10_pfp.bin
amdgpu/navi10_rlc.bin
amdgpu/navi10_sdma.bin
amdgpu/navi10_sdma1.bin
amdgpu/navi10_smc.bin
amdgpu/navi10_sos.bin
amdgpu/navi10_vcn.bin
bnx2/bnx2-mips-06-5.0.0.j3.fw
bnx2/bnx2-mips-06-6.2.3.fw
bnx2/bnx2-mips-09-5.0.0.j15.fw
bnx2/bnx2-mips-09-6.2.1a.fw
bnx2/bnx2-mips-09-6.2.1.fw
bnx2/bnx2-rv2p-06-5.0.0.j3.fw
bnx2/bnx2-rv2p-09-5.0.0.j3.fw
bnx2/bnx2-rv2p-09ax-5.0.0.j10.fw
bnx2/bnx2-mips-06-5.0.0.j6.fw
bnx2/bnx2-mips-09-4.6.17.fw
bnx2/bnx2-mips-09-5.0.0.j9.fw
bnx2/bnx2-mips-09-6.2.1b.fw
bnx2/bnx2-rv2p-06-4.6.16.fw
bnx2/bnx2-rv2p-09-5.0.0.j10.fw
bnx2/bnx2-rv2p-09-6.0.17.fw
bnx2/bnx2-rv2p-09ax-5.0.0.j3.fw
intel/ibt-20-1-3.ddc
intel/ibt-20-1-3.sfi
iwlwifi-cc-a0-46.ucode
iwlwifi-cc-a0-48.ucode
iwlwifi-cc-a0-50.ucode
iwlwifi-cc-a0-53.ucode
iwlwifi-cc-a0-55.ucode
ic2-piix4
ic2-dev
ic2-0
ic2-1
rtl_nic/rtl8125a-3.fw

DAMMM !!!! I forgot the rtl8168fp-3.fw
BUT he says he has no rule to make from rtl_nic/rtl8125a-3.fw the .o file. even with the previously missing file.
every time.
_________________
Linuxpioneer
ALUG
Back to top
View user's profile Send private message
poe_1957
Apprentice
Apprentice


Joined: 26 Sep 2018
Posts: 192
Location: Mortsel

PostPosted: Fri Jul 10, 2020 7:08 pm    Post subject: Reply with quote

I find it strange that (see above list he installs only this list amdgpu is missing f.e. it should normally install everything in the above list but he doesn't.
Code:
emerge -av linux-firmware

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-kernel/linux-firmware-20200619::gentoo  USE="initramfs redistributable savedconfig (-unknown-license)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-kernel/linux-firmware-20200619
 * Your boot partition was detected as being mounted at /boot.
 * Files will be installed there for linux-firmware to function correctly.

>>> Emerging (1 of 1) sys-kernel/linux-firmware-20200619::gentoo
 * linux-firmware-20200619.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking linux-firmware-20200619.tar.gz to /var/tmp/portage/sys-kernel/linux-firmware-20200619/work
>>> Source unpacked in /var/tmp/portage/sys-kernel/linux-firmware-20200619/work
>>> Preparing source in /var/tmp/portage/sys-kernel/linux-firmware-20200619/work/linux-firmware-20200619 ...
 * Checking existence of "/etc/portage/savedconfig/sys-kernel/linux-firmware-20200619" ...
 * Checking existence of "/etc/portage/savedconfig/sys-kernel/linux-firmware" ...
 * Found "/etc/portage/savedconfig/sys-kernel/linux-firmware"
 * Building using saved configfile "/etc/portage/savedconfig/sys-kernel/linux-firmware"
 * Removing all files not listed in config ...                                                                                                                                                                                                                                              [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-kernel/linux-firmware-20200619/work/linux-firmware-20200619 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-kernel/linux-firmware-20200619/work/linux-firmware-20200619 ...
>>> Source compiled.
>>> Test phase [not enabled]: sys-kernel/linux-firmware-20200619

>>> Install sys-kernel/linux-firmware-20200619 into /var/tmp/portage/sys-kernel/linux-firmware-20200619/image
 * Your configuration for sys-kernel/linux-firmware-20200619 has been saved in
 * "/etc/portage/savedconfig/sys-kernel/linux-firmware" for your editing pleasure.
 * You can edit these files by hand and remerge this package with
 * USE=savedconfig to customise the configuration.
 * You can rename this file/directory to one of the following for
 * its configuration to apply to multiple versions:
 * ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/
 * [${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}]
>>> Completed installing sys-kernel/linux-firmware-20200619 into /var/tmp/portage/sys-kernel/linux-firmware-20200619/image

 * Final size of build directory: 1540 KiB (1.5 MiB)
 * Final size of installed tree:  1584 KiB (1.5 MiB)


>>> Installing (1 of 1) sys-kernel/linux-firmware-20200619::gentoo
 * checking 20 files for package collisions
>>> Merging sys-kernel/linux-firmware-20200619 to /
 * USE=savedconfig is active. You must handle file collisions manually.
 * Your boot partition was detected as being mounted at /boot.
 * Files will be installed there for linux-firmware to function correctly.
--- /lib/
--- /lib/firmware/
--- /lib/firmware/bnx2/
>>> /lib/firmware/bnx2/bnx2-rv2p-09ax-5.0.0.j10.fw
>>> /lib/firmware/bnx2/bnx2-rv2p-06-5.0.0.j3.fw
>>> /lib/firmware/bnx2/bnx2-mips-09-5.0.0.j15.fw
>>> /lib/firmware/bnx2/bnx2-mips-06-5.0.0.j6.fw
>>> /lib/firmware/bnx2/bnx2-mips-06-6.2.3.fw
>>> /lib/firmware/bnx2/bnx2-mips-09-4.6.17.fw
>>> /lib/firmware/bnx2/bnx2-mips-09-5.0.0.j9.fw
>>> /lib/firmware/bnx2/bnx2-mips-09-6.2.1.fw
>>> /lib/firmware/bnx2/bnx2-mips-09-6.2.1b.fw
>>> /lib/firmware/bnx2/bnx2-rv2p-09-5.0.0.j3.fw
>>> /lib/firmware/bnx2/bnx2-rv2p-09ax-5.0.0.j3.fw
>>> /lib/firmware/bnx2/bnx2-rv2p-09-5.0.0.j10.fw
>>> /lib/firmware/bnx2/bnx2-rv2p-06-4.6.16.fw
--- /lib/firmware/amd/
>>> /lib/firmware/amd/amd_sev_fam17h_model0xh.sbin
--- /lib/firmware/intel/
>>> /lib/firmware/intel/ibt-20-1-3.ddc
>>> /lib/firmware/intel/ibt-20-1-3.sfi
--- /lib/firmware/rtl_nic/
>>> /lib/firmware/rtl_nic/rtl8168fp-3.fw
--- /lib/firmware/av7110/
>>> /lib/firmware/av7110/bootcode.bin
--- /etc/
--- /etc/portage/
--- /etc/portage/savedconfig/
--- /etc/portage/savedconfig/sys-kernel/
>>> /etc/portage/savedconfig/sys-kernel/linux-firmware
--- /boot/
>>> /boot/amd-uc.img
>>> Safely unmerging already-installed instance...
 * Your boot partition was detected as being mounted at /boot.
 * Files will be installed there for linux-firmware to function correctly.
No package files given... Grabbing a set.
--- replaced obj /lib/firmware/rtl_nic/rtl8168fp-3.fw
--- replaced dir /lib/firmware/rtl_nic
--- replaced obj /lib/firmware/intel/ibt-20-1-3.sfi
--- replaced obj /lib/firmware/intel/ibt-20-1-3.ddc
--- replaced dir /lib/firmware/intel
--- replaced obj /lib/firmware/bnx2/bnx2-rv2p-09ax-5.0.0.j3.fw
--- replaced obj /lib/firmware/bnx2/bnx2-rv2p-09ax-5.0.0.j10.fw
--- replaced obj /lib/firmware/bnx2/bnx2-rv2p-09-5.0.0.j3.fw
--- replaced obj /lib/firmware/bnx2/bnx2-rv2p-09-5.0.0.j10.fw
--- replaced obj /lib/firmware/bnx2/bnx2-rv2p-06-5.0.0.j3.fw
--- replaced obj /lib/firmware/bnx2/bnx2-rv2p-06-4.6.16.fw
--- replaced obj /lib/firmware/bnx2/bnx2-mips-09-6.2.1b.fw
--- replaced obj /lib/firmware/bnx2/bnx2-mips-09-6.2.1.fw
--- replaced obj /lib/firmware/bnx2/bnx2-mips-09-5.0.0.j9.fw
--- replaced obj /lib/firmware/bnx2/bnx2-mips-09-5.0.0.j15.fw
--- replaced obj /lib/firmware/bnx2/bnx2-mips-09-4.6.17.fw
--- replaced obj /lib/firmware/bnx2/bnx2-mips-06-6.2.3.fw
--- replaced obj /lib/firmware/bnx2/bnx2-mips-06-5.0.0.j6.fw
--- replaced dir /lib/firmware/bnx2
--- replaced obj /lib/firmware/av7110/bootcode.bin
--- replaced dir /lib/firmware/av7110
--- replaced obj /lib/firmware/amd/amd_sev_fam17h_model0xh.sbin
--- replaced dir /lib/firmware/amd
--- replaced dir /lib/firmware
--- replaced dir /lib
--- replaced obj /etc/portage/savedconfig/sys-kernel/linux-firmware
--- replaced dir /etc/portage/savedconfig/sys-kernel
--- replaced dir /etc/portage/savedconfig
--- replaced dir /etc/portage
--- replaced dir /etc
--- replaced obj /boot/amd-uc.img
--- replaced dir /boot
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 * If you are only interested in particular firmware files, edit the saved
 * configfile and remove those that you do not want.
>>> sys-kernel/linux-firmware-20200619 merged.

 * Messages for package sys-kernel/linux-firmware-20200619:

 * Building using saved configfile "/etc/portage/savedconfig/sys-kernel/linux-firmware"
 * Your configuration for sys-kernel/linux-firmware-20200619 has been saved in
 * "/etc/portage/savedconfig/sys-kernel/linux-firmware" for your editing pleasure.
 * You can edit these files by hand and remerge this package with
 * USE=savedconfig to customise the configuration.
 * You can rename this file/directory to one of the following for
 * its configuration to apply to multiple versions:
 * ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/
 * [${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}]
 * USE=savedconfig is active. You must handle file collisions manually.
 * If you are only interested in particular firmware files, edit the saved
 * configfile and remove those that you do not want.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.


finally I reedited the file in vi and then he compiled iok.
SOLVED .
_________________
Linuxpioneer
ALUG
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum