15

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,055
  • 57
  • 82
  • 84
pkk
  • 253

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,035
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,041
2

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

Reboot the machine and all will be ok.

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

1

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