[SOLVED] Possible missing firmware - why?

Kernels & Hardware, configuring network, installing services

[SOLVED] Possible missing firmware - why?

Postby ticketman » 2020-05-28 12:17

On a bullseye update I got these warnings:
Code: Select all
Setting up linux-image-5.6.0-1-amd64 (5.6.7-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.4.0-4-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-5.4.0-4-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-5.6.0-1-amd64
I: /initrd.img is now a symlink to boot/initrd.img-5.6.0-1-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.6.0-1-amd64
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125a-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168fp-3.fw for module r8169
W: Possible missing firmware /lib/firmware/nvidia/tu117/acr/ucode_ahesasc.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu117/acr/bl.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu116/acr/ucode_ahesasc.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/tu116/acr/bl.bin for module nouveau
etc.


I managed to find that the missing binaries could be obtained from :
https://kernel.googlesource.com/pub/scm ... /+/master/

which isurprised me as I thought the package firmware-linux should have this.
What if the wesite got hacked I inserted a virus into my kernal.

Could anyone explain why firmware-linux does not have the required binaries?
ticketman
 
Posts: 93
Joined: 2012-06-30 11:06

Re: [SOLVED] Possible missing firmware - why?

Postby Bloom » 2020-05-28 13:15

That firmware should and thus will be included in the proper package in the near future.
Instead of obtaining firmware from Google, use the proper source:
Code: Select all
cd /lib/firmware/rtl_nic
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8125a-3.fw
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168fp-3.fw

To be executed as root.
The Nvidia firmware you can find here: https://git.kernel.org/pub/scm/linux/ke ... ree/nvidia
and needs to be installed simularly.
User avatar
Bloom
 
Posts: 267
Joined: 2017-11-11 12:23

Re: [SOLVED] Possible missing firmware - why?

Postby ticketman » 2020-05-28 13:29

Thankyou Bloom.
Presumably this sort of thing is the price to pay for running Debian testing.
ticketman
 
Posts: 93
Joined: 2012-06-30 11:06

Re: [SOLVED] Possible missing firmware - why?

Postby Bloom » 2020-05-28 13:36

No. That firmware isn't available yet in Stable either.
User avatar
Bloom
 
Posts: 267
Joined: 2017-11-11 12:23

Re: [SOLVED] Possible missing firmware - why?

Postby p.H » 2020-05-28 14:09

ticketman wrote:Could anyone explain why firmware-linux does not have the required binaries?

firmware-linux is a meta-packages which does not contain any firmware file. It only depends on other firmware packages.
However it does not depend on firmware-realtek which contains firmwares for some Realtek chips.

ticketman wrote:Presumably this sort of thing is the price to pay for running Debian testing.

Yes. Bloom is wrong : the actual point is not whether the firmwares are available or not but whether the kernel needs them. The firmware packages in testing are not up to date with the kernel packages. You would not get the warnings with stable because the stable kernel does not need these firmwares.
p.H
 
Posts: 1365
Joined: 2017-09-17 07:12

Re: [SOLVED] Possible missing firmware - why?

Postby RU55EL » 2020-05-28 14:51

p.H wrote: You would not get the warnings with stable because the stable kernel does not need these firmwares.


What about rtl8168fp-3.fw?

Wouldn't that still be needed with when Bullseye becomes stable? Of course, it is available in non-free, with non-free not enabled by default.
User avatar
RU55EL
 
Posts: 444
Joined: 2014-04-07 03:42
Location: /home/russel

Re: [SOLVED] Possible missing firmware - why?

Postby p.H » 2020-05-28 16:14

I hope that firmware packages are updated in sync with kernel packages before bullseye is released as stable.
p.H
 
Posts: 1365
Joined: 2017-09-17 07:12

Re: [SOLVED] Possible missing firmware - why?

Postby RU55EL » 2020-05-28 16:39

I would think that the firmware packages would be updated. But, if you perform a clean install, the non-free firmware won't be available until you add non-free to sources.list. Something that will still need to be done when Bulleye becomes stable.

A minor thing, and I may be missing the OP's point...
User avatar
RU55EL
 
Posts: 444
Joined: 2014-04-07 03:42
Location: /home/russel

Re: [SOLVED] Possible missing firmware - why?

Postby Bloom » 2020-05-29 06:22

You can download an iso with non-free or closed-source firmware: http://cdimage.debian.org/mirror/cdimag ... rent-live/
User avatar
Bloom
 
Posts: 267
Joined: 2017-11-11 12:23


Return to System configuration

Who is online

Users browsing this forum: morse_the_horse and 10 guests

fashionable