1. Issue

While try to generate the initrd.img-3.7.5 file, I got
root@mercury:/home/david/linux-3.7.5# mkinitramfs -o /boot/initrd.img-3.7.5 3.7.5
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8402-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169

2. Fix

  • git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
  • Copy the missing files
  • cd linux-firmware
    
    for firmware in rtl8168g-1.fw rtl8106e-1.fw rtl8411-1.fw rtl8402-1.fw rtl8168f-2.fw rtl8168f-1.fw;
    do 
    	[ -f rtl_nic/${firmware} ] && { cp -vf rtl_nic/${firmware} /lib/firmware/rtl_nic/; };
    done