19

I've been getting an issue since upgrading to 2.6.39 in Natty from the Kernel-PPA repository.

When I do a sudo update-initramfs -u I get the following error message.

update-initramfs: Generating /boot/initrd.img-2.6.39-0-generic-pae
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169

I did notice that firmware wasn't in the allocated directory. Does anyone know where to get the firmware files for this.

N.N.
  • 18,589
Dean Thomson
  • 1,085

9 Answers9

41

Do sudo apt-get install firmware-realtek and the problem should be solved

Marco Ceppi
  • 48,827
Alex
  • 421
12

There's a solution at http://www.davidgis.fr/blog/index.php?2011/05/06/800--resolu-solved-w-possible-missing-firmware-lib-firmware-rtl_nic-rtl8105e-1fw-for-module-r8169. Essentially you need to do:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/romieu/linux-firmware.git
sudo cp -r linux-firmware/rtl_nic/ /lib/firmware/

and then sudo update-initramfs -u works without errors.

N.N.
  • 18,589
rocko
  • 136
6

I had the same problem whit Ubuntu 12.04.5 LTS. Today I have tested, but the old "git://git.kernel.org/pub/scm/linux/kernel/git/romieu/linux-firmware.git" is a broken link.

I have searched the new git url for dowload the firmware of realtek. The commands that I have tested (and works very well) are:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
sudo cp -r linux-firmware/rtl_nic/ /lib/firmware/
sudo update-initramfs -u

and

rm -rf linux-firmware

For deleting the directory that git has downloaded.

user471101
  • 61
  • 1
  • 1
5

Perhaps a better answer is to install linux-firmware package and if necessary linux-firmware-nonfree package.

N.N.
  • 18,589
4

Recently I have faced the similar issue, but when I have followed the Rocko method, the link is broken. So it was not making it download the linux-firmware.

Also I have tried to do: sudo apt install firmware-realtek, still it didn't worked out.

After searching it online, found a new link of git. git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

Steps to follow:

  1. Download the linux-firmware: $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

  2. copy the missing firmware to /lib/firmware: $ sudo cp -r linux-firmware/rtl_nic/ /lib/firmware/ $ sudo cp -r linux-firmware/i915 /lib/firmware/ (In my case i915 was also missing)

  3. update the initramfs: $ sudo update-initramfs -u

Note: After update, if still see that, some of the firmware are missing, then search it in linux-firmware and copy those folders into /lib/firmware.

Terrance
  • 43,712
Rajesh
  • 41
3

It seems that the linux firmware package is corrupt, I solved this issue in ubuntu 13.04 by

sudo apt-get purge linux-firmware

and

sudo apt-get install linux-firmware
2

For Debian, I run the following command, and it really works:

apt-get install linux-firmware-nonfree
ECL
  • 21
1

The file /lib/firmware/rtl_nic/rtl8105e-1.fw is in the package firmware-realtek

You need to run following command. Open terminal Ctrl + Alt + T :

sudo apt-get install firmware-realtek
penreturns
  • 5,950
MeTo
  • 21
0

for me my server have rtl8125a but the firmware-realtek package do not include it. but I found it in kernel site; so this is how I solve it:

wget --quiet https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtl_nic/rtl8125a-3.fw
mv -f rtl8125a-3.fw /lib/firmware/rtl_nic/
update-initramfs -u