[SOLVED] Kernel 5.13.19-1-pve complie error

recoco

Member
Dec 4, 2021
12
2
8
46
I try compiling kernel 5.13.19.-1-pve on my proxmox vm which is a vm just for building kernels.

Anywork looks fine until this error was thrown.
make[2]: Entering directory '/usr/src/pve-kernel/build' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. debian/scripts/find-firmware.pl debian/pve-kernel-5.15.19-1-pve/lib/modules/5.15.19-1-pve >fwlist.tmp mv fwlist.tmp fwlist-5.15.19-1-pve checking fwlist for changes since last built firmware package.. if this check fails, add fwlist-5.15.19-1-pve to the pve-firmware repository and upload a new firmware package together with the 5.15.19-1-pve kernel sort fwlist-previous | uniq > fwlist-previous.sorted sort fwlist-5.15.19-1-pve | uniq > fwlist-5.15.19-1-pve.sorted diff -up -N fwlist-previous.sorted fwlist-5.15.19-1-pve.sorted > fwlist.diff make[2]: *** [debian/rules:277: fwcheck] Error 1 make[2]: Leaving directory '/usr/src/pve-kernel/build' make[1]: *** [debian/rules:108: binary] Error 2 make[1]: Leaving directory '/usr/src/pve-kernel/build' dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 make: *** [Makefile:60: pve-kernel-5.15.19-1-pve_5.15.19-1_amd64.deb] Error 2

It's obvious that the error is about fwlist-5.15.19-1-pve. Now how can I add fwlist-5.15.19-1-pve to the pve-firmware repository? I have done some googling. But can not find any useful informations.

Please help, thanks in advance!
 
Last edited:
Hi,

this is a compile time check to ensure we do not forget to make our pve-firmware repo ship all firmware files that supported kernels can use.

I'd check out build/fwlist.diff to see what actually changed, if it's relevant for what you do you'd need to clone the pve-firmware repo, copy the fwlist-5.15.19-1-pve over there and add it in the makefile so that the assembling script picks it up and build a new package.

After that or if the diff in firmware is not relevant at all for you to begin with you can update the fwlist file in the kernel repo and the build directory and then continue the build.

Bash:
cp build/fwlist-5.15.19-1-pve.sorted build/fwlist-previous
cp build/fwlist-5.15.19-1-pve.sorted fwlist-previous
make
 
Thank you very much! I'll try tonight.

This is the diff:
root@pvedev:/usr/src/pve-kernel# more build/fwlist.diff --- fwlist-previous.sorted 2022-02-10 10:03:33.644601373 +0800 +++ fwlist-5.15.19-1-pve.sorted 2022-02-10 10:03:33.648601391 +0800 @@ -609,9 +609,9 @@ bnx2/bnx2-mips-09-6.2.1b.fw kernel/drive bnx2/bnx2-rv2p-06-6.0.15.fw kernel/drivers/net/ethernet/broadcom/bnx2.ko bnx2/bnx2-rv2p-09-6.0.17.fw kernel/drivers/net/ethernet/broadcom/bnx2.ko bnx2/bnx2-rv2p-09ax-6.0.17.fw kernel/drivers/net/ethernet/broadcom/bnx2.ko -bnx2x/bnx2x-e1-7.13.15.0.fw kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko -bnx2x/bnx2x-e1h-7.13.15.0.fw kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko -bnx2x/bnx2x-e2-7.13.15.0.fw kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko +bnx2x/bnx2x-e1-7.13.21.0.fw kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko +bnx2x/bnx2x-e1h-7.13.21.0.fw kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko +bnx2x/bnx2x-e2-7.13.21.0.fw kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko brcm/bcm43xx-0.fw kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcmsmac.ko brcm/bcm43xx_hdr-0.fw kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcmsmac.ko brcm/brcmfmac43012-sdio.bin kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!