16

Whenever I try to install any drivers or something I get this error. Because this error I guess I am not able to on the machine. I have booted normal from recovery mode after that I have rebooted system but no luck.

w: possible missing firmware /lib/firmware/rtl_nic/rtl8125a-3.fw for module r8169 
w: possible missing firmware /lib/firmware/rtl_nic/rtl8168fp-3.fw for module r8169 
i: the initramfs will attempt to resume from /dev/nvme0n1p4 
i: (uuid=827a4ecd-a3d9-4990-8a01-bb7aa2a57a22) 
i: set the resume variable to override this.
Kevin Bowen
  • 20,125
  • 57
  • 82
  • 84
pkk
  • 263

7 Answers7

26

There is a similar bug reported here : Debian Bugs

The files rtl8125a-3.fw and rtl8168fp-3.fw can be found on:

Git Kernel

Then run the commands :

sudo cp ~/Downloads/*.fw /lib/firmware/rtl_nic/
sudo update-initramfs -u

The issue looks like this one : Possible missing frmware /lib/firmware/i915

Artur Meinild
  • 31,385
  • 1
    Applied for me today on Bookworm - many issues post-install of testing (using unofficial non-free installer from official list downloaded with jigdo). I had to install a kernel manually, install and run grub bootloader manually (can't do until kernel installed), then ran into this issue with missing rtl_nic firmware and initramfs attempting to resume appearing anytime I installed anything; Ultimately the rtl_nic directory was missing in /lib/firmware some of those files were directly in the firmware folder - so may have to create the rtl_nic directory, but issue does resolve. Thanks! – Rik Nov 15 '22 at 20:30
10

Got similar error message on system with MSI MPG B550 Gaming Edge WIFI motherboard and Realtek RTL8125 2.5Gbe onboard NIC and 5.10.21 kernel (FYI: needed 5.10 kernel for proper AMD 5800X CPU and RTL8125 support):

Possible missing firmware /lib/firmware/rtl_nic/rtl8125b-2.fw for module r8169

Solved it from your response - by downloading firmware files and including them into initramfs:

mkdir rtl8125b_fw
cd rtl8125b_fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8125b-2.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168fp-3.fw
sudo cp *.fw /lib/firmware/rtl_nic/
sudo update-initramfs -u

with reboot afterwards. Didn't seen missing firmware warning anymore.

Krotow
  • 101
3

Firmware for new Realtek Ethernet chipsets is missing in the linux-firmware package provided with the Ubuntu release.

It is very unlikely that you have one of these new chipsets, because your network is working.

So this warning is harmless and doesn't need any "fix".

Pilot6
  • 92,169
3

Under debian-like systems, the solution may at that time (4 years later) be simpler than the ones exposed here... Here under debian 12 simply add non-free-firmware to the apt sources (file /etc/apt/sources.list), like follows :

deb http://deb.debian.org/debian/ bookworm main contrib non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main contrib non-free-firmware
deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main contrib non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free-firmware

Then run the following commands under shell :

apt update
apt install firmware-realtek

This again automatically runs the command initramfs -u. If you no longer see errors during the initramfs -u command, reboot the machine and all will be ok.

Note : for older debian-like distribs non-free-firmware was simply "non-free"

  • fyi not enough on bullseye/casaos. issue is too retarded to really look into it, will also just wget the firmware(s). not my job or life goal to care about things distro maintainers don't care about. seems best to just clone the firmware git or use a wget glob. – Florian Heigl Jul 21 '25 at 18:30
  • 1
    debian 11 bullseye seemed to accept it at the time I tried it. you have to replace non-free-firmware with non-free as I suggested. – Fabien Auréjac Jul 23 '25 at 17:05
  • 1
    see https://packages.debian.org/search?keywords=firmware-realtek – Fabien Auréjac Jul 23 '25 at 17:06
  • 1
    This answer is the simplest fix by a long way, and safest too. Worked like a dream for me in Devuan Daedalus. – Bobble Aug 27 '25 at 14:28
2

Refer this link https://itectec.com/ubuntu/ubuntu-possible-missing-firmware-xubuntu-18-04/

sudo apt-get update &&
sudo apt-get -y install make gcc linux-headers-$(uname -r) build-essential git &&
git clone https://github.com/lwfinger/rtw88.git &&
cd rtw88/ &&
make &&

sudo make install && sudo reboot

1

I had to deal with more firmware files on Debian 5.10 kernel.

wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8125b-2.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8125a-3.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8107e-2.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8107e-1.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/tl8168fp-3.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168h-2.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168h-1.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168g-3.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168g-2.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8106e-2.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8106e-1.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8411-2.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8411-1.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8402-1.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168f-2.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168f-1.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8105e-1.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168e-3.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168e-2.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168e-1.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168d-2.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168d-1.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168fp-3.fw

And then:

sudo mkdir /lib/firmware/rtl_nic/
sudo cp *.fw /lib/firmware/rtl_nic/
sudo update-initramfs -u
Kamil
  • 111
0
sudo -i
cd /lib
mv firmware firmware-old
git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
mv linux-firmware firmware
printf '#!/bin/sh\n(\ncd /lib/firmware\ngit clean -fd\ngit pull\n)\n'>/etc/initramfs-tools/conf.d/upfirm
chmod +x /etc/initramfs-tools/conf.d/upfirm
sudo update-initramfs -u

will get you all the latest firmware and keep it up to date and all the good stuff