LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-11-2022, 07:24 AM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
How to fix these missing firmwares


While doing Debian Stable upgrade today, I encountered following missing firmware warnings:

Code:
Setting up linux-image-5.10.0-12-amd64 (5.10.103-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.10.0-11-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-5.10.0-11-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-5.10.0-12-amd64
I: /initrd.img is now a symlink to boot/initrd.img-5.10.0-12-amd64
/etc/kernel/postinst.d/dkms:
dkms: WARNING: Linux headers are missing, which may explain the above failures.
      please install the linux-headers-5.10.0-12-amd64 package to fix this.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-12-amd64
W: Possible missing firmware /lib/firmware/i915/skl_huc_2.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_guc_33.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_2.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_33.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_huc_4.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_33.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/glk_huc_4.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/glk_guc_33.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_huc_4.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_33.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/cml_huc_4.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/cml_guc_33.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/icl_huc_9.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/icl_guc_33.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_huc_9.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_33.0.4.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_35.2.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_35.2.0.bin for module i915
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/glk_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/icl_dmc_ver1_09.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_dmc_ver2_08.bin for module i915
W: Possible missing firmware /lib/firmware/i915/rkl_dmc_ver2_02.bin for module i915
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Where is the problem and how can it be solved?
 
Old 03-11-2022, 07:37 AM   #2
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
I think it's just a warning and not an error. I get that same type of warning for my wifi chip every time my kernel is updated. I don't worry about it, and my laptop works just fine.
 
Old 03-11-2022, 07:38 AM   #3
suramya
Member
 
Registered: Jan 2022
Location: Earth
Distribution: Debian
Posts: 249

Rep: Reputation: 102Reputation: 102
The issue is that the firmware for the hardware is not installed, as it is a 'non-free' (non-opensource) package. In most cases it can be resolved by installing the firmware-linux & firmware-misc-nonfree packages by issuing the following command as root:

Quote:
apt-get install firmware-linux firmware-misc-nonfree
You might have to edit your /etc/apt/sources.list file and add 'non-free' (without the quotes) to the deb line. On my system this is what it looks like:

[quote]deb http://mirrors.kernel.org/debian/ unstable main non-free contrib [/code]

once you add it, run
Quote:
apt-get update
and then the command above to install.
 
Old 03-11-2022, 07:41 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
These are actually warnings, not errors, so they might not apply to you. Here is the Debian wiki on firmware installation:
https://wiki.debian.org/Firmware

You also need to install the linux headers package if your system uses dkms to build extra modules.
 
Old 03-11-2022, 09:11 AM   #5
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by suramya View Post
The issue is that the firmware for the hardware is not installed, as it is a 'non-free' (non-opensource) package. In most cases it can be resolved by installing the firmware-linux & firmware-misc-nonfree packages
...
You might have to edit your /etc/apt/sources.list file and add 'non-free' (without the quotes) to the deb line.
I already have non-free mentioned in my sources.list:
Code:
deb http://deb.debian.org/debian/ bullseye main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye main
deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main
deb http://deb.debian.org/debian/ bullseye-updates main
deb-src http://deb.debian.org/debian/ bullseye-updates main

Last edited by rng; 03-11-2022 at 09:13 AM.
 
Old 03-11-2022, 09:27 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
what kind of video card do you have?
 
Old 03-11-2022, 09:34 AM   #7
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by pan64 View Post
what kind of video card do you have?
The information from command "inxi --full":
Code:
CPU:       Info: Dual Core model: Intel Core i3-3220 bits: 64 type: MT MCP L2 cache: 3 MiB 
           Speed: 2773 MHz min/max: 1600/3300 MHz Core speeds (MHz): 1: 2773 2: 2132 3: 2511 4: 2611 
Graphics:  Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics driver: i915 v: kernel 
           Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting unloaded: fbdev,vesa resolution: 1600x900~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 2500 (IVB GT1) v: 4.2 Mesa 20.3.5
 
Old 03-11-2022, 09:53 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Looks like the missing firmware relates to that card. But I suspect you only need some of those files.
 
Old 03-11-2022, 09:53 AM   #9
suramya
Member
 
Registered: Jan 2022
Location: Earth
Distribution: Debian
Posts: 249

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by rng View Post
I already have non-free mentioned in my sources.list:
Then you can go ahead and install the firmware-linux & firmware-misc-nonfree packages by running the following as root:

Code:
 apt-get install firmware-linux firmware-misc-nonfree
 
Old 03-11-2022, 10:07 AM   #10
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by suramya View Post
Then you can go ahead and install the firmware-linux & firmware-misc-nonfree packages by running the following as root:
Code:
 apt-get install firmware-linux firmware-misc-nonfree
Done.
Are these firmware packages also needed for desktops with Nvidia cards?

Last edited by rng; 03-11-2022 at 10:18 AM.
 
Old 03-11-2022, 11:46 AM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
https://unix.stackexchange.com/quest...or-module-i915
https://01.org/linuxgraphics/downloads/firmware
for nvidia card you will need different firmware
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot fix broken package using "sudo apt --fix-broken install" to fix XFCE packages for Zorin OS 16 Core AltFantasy Zorin OS 8 09-25-2021 06:51 AM
why so many wifi firmwares removed (hey i needed that!) Okie Slackware 5 10-01-2012 08:12 PM
updating firmwares on PowerEdge using a boot CD? dlee20 Linux - Server 1 07-28-2009 11:23 AM
Should I format this drive or try to fix all these errors I am getting? M$ISBS General 10 07-02-2006 07:53 PM
Please help, what do these errors mean and how to fix them? lexington Linux - Newbie 3 05-08-2004 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration