85

I am getting these warnings every time I update my initramfs image(-s) with update-initramfs on my Dell PowerEdge T20 server running GNU/Linux Debian Buster 10.0. Is there a fix?


W: Possible missing firmware /lib/firmware/i915/bxt_dmc_ver1_07.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_dmc_ver1_27.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_04.bin for module i915
W: Possible missing firmware /lib/firmware/i915/cnl_dmc_ver1_07.bin for module i915
W: Possible missing firmware /lib/firmware/i915/glk_dmc_ver1_04.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_39.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver9_29.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_guc_ver9_33.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_huc_ver02_00_1810.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_07_1398.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_huc_ver01_07_1398.bin for module i915
2
  • 4
    Those messages are generated as update-initramfs looks at the modinfo <module> output to identify the firmware requirements of each module it's including. Normally, the appropriate firmware package like firmware-linuxwill fix them; but if using a backported or custom kernel, you might need a newer version of some firmware than is available in the distribution's firmware packages. If that's the case, go to the linux-firmware Git repository and find the version you need in there.
    – telcoM
    May 10, 2020 at 14:36
  • 6
    The GPU drivers like i915 or nouveau support many versions of the respective GPUs, and so they have no choice but to list in their modinfo data the firmware files for every possible chip version they support that needs firmware. But you actually only need just the firmware versions that correspond to the hardware your system has.
    – telcoM
    May 10, 2020 at 14:47

3 Answers 3

97

For a general solution, apt-file is your way to solve the Possible missing firmware... warning. E.g.:

apt-file search bxt_dmc

firmware-misc-nonfree: /lib/firmware/i915/bxt_dmc_ver1.bin
firmware-misc-nonfree: /lib/firmware/i915/bxt_dmc_ver1_07.bin

Showing that the package firmware-misc-nonfree provides the missing firmware.

Installing the firmware-linux package solves the problem because firmware-linux depends on firmware-linux-nonfree which depends on firmware-misc-nonfree.


Detailed instructions:

Add non-free to your /etc/apt/sources.list :

deb http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free

Install apt-file:

sudo apt update
sudo apt install apt-file
sudo apt-file update

Debian: apt-file

2
  • 21
    Thank you for teaching people to fish rather than giving them fishsticks.
    – dragon788
    Dec 24, 2020 at 0:38
  • You can also use dpkg-search -S i915/bx_dmc to locate them, if you already have that installed.
    – Anders
    Feb 24 at 4:23
25

It appears the answer was the whole time in front of my eyes.

I have finally found the right package: firmware-linux, which installs all the missing firmware. Install it with:

sudo apt-get install firmware-linux

Those warnings might be gone afterward.

8
  • 3
    For me in ubuntu 18.04 this package is already installed
    – Freedo
    Apr 8, 2021 at 10:20
  • 5
    @Freedo For Ubuntu the correct package name is linux-firmware, if you have this one, there is only the manual way of installing those missing, see below answer. Apr 8, 2021 at 18:26
  • Works for Debian
    – jaam
    Oct 19, 2021 at 23:12
  • But I assume this package will install all the firmware-files and not only the one you need, right? That seem to be 35MB, Not a big deal but for some it might.
    – MrCalvin
    Nov 4, 2021 at 20:06
  • 1
    @MrCalvin I never really thought about this. But I think it will just unpack all files once installed. It does not seem plausible that it would determine what you actually need, but I might be mistaken, let me have a look on my Linux Mint, where a similar package exists. Indeed, running du -sh /lib/firmware/ yields to 616M. Cheers. Nov 4, 2021 at 21:39
24

you can download them from here

and copy downloaded files to this path : /lib/firmware/i915/

then update-initramfs -u -k all

(then sudo apt-get update -y)

7
  • This worked for me, solving my MS Surface Book 2 / Linux Mint 20.1, error: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915 This is the best answer, super simple, quick, easy and perfectly effective.
    – user207863
    Jan 19, 2021 at 13:51
  • 15
    Downloading binary files from an untrusted source is never a good idea. Make sure you understand the implications of it.
    – dragon
    Mar 24, 2021 at 13:26
  • 1
    Yes this fixes it, but my external monitor does not work still.
    – WesternGun
    Apr 5, 2021 at 11:26
  • 10
    Use this link instead git.kernel.org/pub/scm/linux/kernel/git/firmware/…
    – Ed Capetti
    Jul 20, 2021 at 11:38
  • 2
    was also able to find a trusted source here: packages.debian.org/sid/firmware-misc-nonfree
    – jmunsch
    Jul 27, 2021 at 23:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.