Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #86223

Bug#1098706: /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids: not found

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1098706: /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids: not found
Date 2025-03-01 08:10 +0100
Message-ID <Klp8Z-2LAA-5@gated-at.bofh.it> (permalink)
References (2 earlier) <KljGh-2HAU-5@gated-at.bofh.it> <Kj8YF-1gi5-1@gated-at.bofh.it> <KljGh-2HAU-3@gated-at.bofh.it> <Kj8YF-1gi5-1@gated-at.bofh.it> <KljGh-2HAU-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Control: tags -1 + unreproducible moreinfo

Hi Andreas,

On Sat, Mar 01, 2025 at 02:12:16AM +0100, Andreas Beckmann wrote:
> Control: found -1 6.13.5-1~exp1
> 
> with pahole available, the next script is missing:
> /usr/src/linux-headers-@KVERS@/tools/bpf/resolve_btfids/resolve_btfids
> 
> DKMS (dkms-3.1.5) make.log for dkms_test/1.0 for kernel 6.13-amd64 (x86_64)
> Sat Mar  1 01:09:31 UTC 2025
> 
> Building module(s)
> # command: make -j14 KERNELRELEASE=6.13-amd64 -C /lib/modules/6.13-amd64/build M=/var/lib/dkms/dkms_test/1.0/build
> make: Entering directory '/usr/src/linux-headers-6.13-amd64'
> make[1]: Entering directory '/var/lib/dkms/dkms_test/1.0/build'
>   CC [M]  dkms_test.o
>   MODPOST Module.symvers
>   CC [M]  dkms_test.mod.o
>   CC [M]  .module-common.o
>   LD [M]  dkms_test.ko
>   BTF [M] dkms_test.ko
> /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids: not found
> make[3]: *** [/usr/src/linux-headers-6.13-common/scripts/Makefile.modfinal:59: dkms_test.ko] Error 127
> make[3]: *** Deleting file 'dkms_test.ko'
> make[2]: *** [/usr/src/linux-headers-6.13-common/Makefile:1939: modules] Error 2
> make[1]: *** [/usr/src/linux-headers-6.13-common/Makefile:263: __sub-make] Error 2
> make[1]: Leaving directory '/var/lib/dkms/dkms_test/1.0/build'
> make: *** [/usr/src/linux-headers-6.13-common/Makefile:263: __sub-make] Error 2
> make: Leaving directory '/usr/src/linux-headers-6.13-amd64'
> 
> # exit code: 2
> # elapsed time: 00:00:02
> ----------------------------------------------------------------

I cannot reproduce your issue. The resolve_btfids was already included
earlier, and triggered without the pahole dependency the problem.

[...]
Setting up bpftool (7.6.0+6.13.5-1~exp1) ...
Setting up linux-libc-dev (6.13.5-1~exp1) ...
Setting up linux-headers-6.13-common (6.13.5-1~exp1) ...
Setting up linux-image-6.13-amd64 (6.13.5-1~exp1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.12.16-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.12.16-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.13-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.13-amd64
/etc/kernel/postinst.d/dkms:

Sign command: /lib/modules/6.13-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Autoinstall of module dkms_test/1.0 for kernel 6.13-amd64 (x86_64)
Cleaning build area... done.
Building module(s)... done.
Signing module /var/lib/dkms/dkms_test/1.0/build/dkms_test.ko
Cleaning build area... done.
Installing /lib/modules/6.13-amd64/updates/dkms/dkms_test.ko.xz
Running depmod... done.

Autoinstall on 6.13-amd64 succeeded for module(s) dkms_test.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.13-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.13-amd64
Found initrd image: /boot/initrd.img-6.13-amd64
Found linux image: /boot/vmlinuz-6.12.16-amd64
Found initrd image: /boot/initrd.img-6.12.16-amd64
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up linux-perf (6.13.5-1~exp1) ...
Setting up pahole (1.29-2) ...
Setting up dkms-test-dkms (3.1.5-1) ...
Removing old dkms_test/1.0 DKMS files...
Module dkms_test/1.0 for kernel 6.13-amd64 (x86_64):
Before uninstall, this module version was ACTIVE on this kernel.
Deleting /lib/modules/6.13-amd64/updates/dkms/dkms_test.ko.xz
Running depmod... done.

Deleting module dkms_test/1.0 completely from the DKMS tree.
Loading new dkms_test/1.0 DKMS files...
Building for 6.12.16-amd64 and 6.13-amd64

Building initial module dkms_test/1.0 for 6.12.16-amd64
Done.
Installing /lib/modules/6.12.16-amd64/updates/dkms/dkms_test.ko.xz
Running depmod... done.

Building initial module dkms_test/1.0 for 6.13-amd64
Done.
Installing /lib/modules/6.13-amd64/updates/dkms/dkms_test.ko.xz
Running depmod... done.
Setting up linux-image-amd64 (6.13.5-1~exp1) ...
Setting up linux-kbuild-6.13 (6.13.5-1~exp1) ...
Setting up linux-headers-6.13-amd64 (6.13.5-1~exp1) ...
Setting up linux-headers-amd64 (6.13.5-1~exp1) ...
Processing triggers for man-db (2.13.0-1) ...

I would like to see this fixed ASAP for unstable but I have now
postponed my 6.12.17-1 upload. It would be great if you can confirm if
there was just a local problem.

# dpkg -S resolve_btfids/resolve_btfids
linux-kbuild-6.12.16: /usr/lib/linux-kbuild-6.12.16/tools/bpf/resolve_btfids/resolve_btfids
linux-kbuild-6.13: /usr/lib/linux-kbuild-6.13/tools/bpf/resolve_btfids/resolve_btfids

Regards,
Salvatore

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1098706: linux: building out-of-tree modules fails with pahole: not found Andreas Beckmann <anbe@debian.org> - 2025-02-23 02:30 +0100
  Bug#1098706: linux: building out-of-tree modules fails with pahole: not found Salvatore Bonaccorso <carnil@debian.org> - 2025-02-23 16:30 +0100
  Bug#1098706: marked as done (linux: building out-of-tree modules  fails with pahole: not found) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-28 13:00 +0100
  Processed: /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids:  not found "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-03-01 08:10 +0100
  Bug#1098706: /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids: not found Salvatore Bonaccorso <carnil@debian.org> - 2025-03-01 08:10 +0100
    Bug#1098706: /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids: not found Andreas Beckmann <anbe@debian.org> - 2025-03-01 14:10 +0100
  Processed: Re: /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids:  not found "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-03-01 14:10 +0100
  Bug#1098706: marked as done (linux: building out-of-tree modules  fails with pahole: not found) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-03-02 01:10 +0100

csiph-web