Fix "Possible missing firmware for module i915"

From WikiMLT
Revision as of 07:07, 26 September 2022 by Spas (talk | contribs) (Text replacement - "margin-top-gray" to "border-top-gray-next")

The Is­sue

When I'm us­ing apt on Kali Lin­ux 2022 at Leno­vo ThinkPad X230T the fol­low­ing warn­ing mes­sages ap­pear.

sudo apt install --reinstall firmware-misc-nonfree
...update-initramfs: Generating /boot/initrd.img-5.18.0-kali7-amd64
W: Possible missing firmware /lib/firmware/i915/skl_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/glk_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/cml_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/icl_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/dg1_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/adlp_guc_69.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/adlp_dmc_ver2_14.bin for module i915

The So­lu­tion

The so­lu­tion is to man­u­al­ly down­load and in­stall the miss­ing Ker­nel mod­ules from the git​.kernel​.org tree.

mkdir ~/Downloads/i915-missing && cd ~/Downloads/i915-missing
PACKAGES=(
  "skl_guc_69.0.3.bin" "bxt_guc_69.0.3.bin" "kbl_guc_69.0.3.bin" "glk_guc_69.0.3.bin"
  "kbl_guc_69.0.3.bin" "kbl_guc_69.0.3.bin" "cml_guc_69.0.3.bin" "icl_guc_69.0.3.bin"
  "ehl_guc_69.0.3.bin" "ehl_guc_69.0.3.bin" "tgl_guc_69.0.3.bin" "tgl_guc_69.0.3.bin"
  "dg1_guc_69.0.3.bin" "tgl_guc_69.0.3.bin" "adlp_guc_69.0.3.bin" "adlp_dmc_ver2_14.bin"
)
for PKG in "${PACKAGES[@]}"; do \
  wget "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915/${PKG}"; \
done
sudo cp *.bin /lib/firmware/i915/
sudo update-initramfs -u -k all

Now you can test again whether the warn­ing mes­sage ap­pears.

sudo apt install --reinstall firmware-misc-nonfree

Ref­er­ences