目录
- 现象
- 原因
- 解决方法
现象
当执行 sudo apt-get update或者sudo apt-get dist-upgrade时,有如下警告:
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125a-3.fw for module r8169W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168fp-3.fw for module r8169W: Possible missing firmware /lib/firmware/i915/tgl_dmc_ver2_04.bin for module i915W: Possible missing firmware /lib/firmware/i915/skl_guc_33.0.0.bin for module i915W: Possible missing firmware /lib/firmware/i915/bxt_guc_33.0.0.bin for module i915W: Possible missing firmware /lib/firmware/i915/kbl_guc_33.0.0.bin for module i915W: Possible missing firmware /lib/firmware/i915/glk_guc_33.0.0.bin for module i915W: Possible missing firmware /lib/firmware/i915/kbl_guc_33.0.0.bin for module i915W: Possible missing firmware /lib/firmware/i915/icl_guc_33.0.0.bin for module i915
原因
缺少固件文件导致的。
解决方法
1 在网站搜索固件
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtl_nic/
或者
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915/
2 进入本机相对应目录
cd /lib/firmware/rtl_nic/
或者
cd /lib/firmware/i915/
3 在对应目录下载对应插件,例如
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtl_nic/rtl8125a-3.fw
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtl_nic/rtl8168fp-3.fw
4 重新生成当前系统的initramfs文件
sudo update-initramfs -u