I tried to install kernel 5.x from backports in a frsh installed debian 10 and I failed because I have a 10G NIC:
echo deb http://deb.debian.org/debian buster-backports main contrib non-free > /etc/apt/sources.list.d/buster-backports.list
apt-get update
apt-get -t buster-backports upgrade
apt-get install -t buster-backports firmware-linux firmware-linux-nonfree linux-headers-5.4.0-0.bpo.2-amd64 linux-image-5.4.0-0.bpo.2-amd64
update-initramfs: Generating /boot/initrd.img-5.4.0-0.bpo.2-amd64
W: Possible missing firmware /lib/firmware/bnx2x/bnx2x-e2-7.13.11.0.fw for module bnx2x
W: Possible missing firmware /lib/firmware/bnx2x/bnx2x-e1h-7.13.11.0.fw for module bnx2x
W: Possible missing firmware /lib/firmware/bnx2x/bnx2x-e1-7.13.11.0.fw for module bnx2x
It doesn't find the firmware files. And the machine is not booting.
kernel log says:
Jan 29 11:06:00 Debian-102-buster-64-minimal kernel: [ 3.609341] ipmi_si IPI0001:00: IPMI message handler: Found new BMC (man_id: 0x003c0a, prod_id: 0x1001, dev_id: 0x20)
Jan 29 11:06:00 Debian-102-buster-64-minimal kernel: [ 3.672134] ipmi_si IPI0001:00: IPMI kcs interface initialized
Jan 29 11:06:00 Debian-102-buster-64-minimal kernel: [ 3.677407] ipmi_ssif: IPMI SSIF Interface driver
Jan 29 11:06:01 Debian-102-buster-64-minimal kernel: [ 5.476563] bnx2x 0000:61:00.1: firmware: failed to load bnx2x/bnx2x-e2-7.13.11.0.fw (-2)
Jan 29 11:06:01 Debian-102-buster-64-minimal kernel: [ 5.476763] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
Jan 29 11:06:01 Debian-102-buster-64-minimal kernel: [ 5.476967] bnx2x 0000:61:00.1: Direct firmware load for bnx2x/bnx2x-e2-7.13.11.0.fw failed with error -2
Jan 29 11:06:01 Debian-102-buster-64-minimal kernel: [ 5.477174] bnx2x: [bnx2x_func_hw_init:6002(eth1)]Error loading firmware
Jan 29 11:06:01 Debian-102-buster-64-minimal kernel: [ 5.477331] bnx2x: [bnx2x_nic_load:2730(eth1)]HW init failed, aborting
Jan 29 11:06:02 Debian-102-buster-64-minimal kernel: [ 5.672256] bnx2x 0000:61:00.0: firmware: failed to load bnx2x/bnx2x-e2-7.13.11.0.fw (-2)
Jan 29 11:06:02 Debian-102-buster-64-minimal kernel: [ 5.672495] bnx2x 0000:61:00.0: Direct firmware load for bnx2x/bnx2x-e2-7.13.11.0.fw failed with error -2
Jan 29 11:06:02 Debian-102-buster-64-minimal kernel: [ 5.672736] bnx2x: [bnx2x_func_hw_init:6002(eth0)]Error loading firmware
Jan 29 11:06:02 Debian-102-buster-64-minimal kernel: [ 5.672895] bnx2x: [bnx2x_nic_load:2730(eth0)]HW init failed, aborting
With the Debian stock kernel everything runs fine.
How can I install a kernel 5.x in debian10 from backports or another ppa (without compiling my own kernel)?
It's a bug in the package. The bug was already reported. The files were just missing, a patch is available in the bug report.
It works like this:
reboot and you are running kernel 5.x