ubuntu_bpf always fails to build with kernels >= 5.15 (ERROR: Kernel configuration is invalid.)
Bug #1948831 reported by
Andrea Righi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin |
Bug Description
I'm getting the following error if I try to run the ubuntu_bpf kernel test with the latest linux-unstable 5.15:
ERROR: Kernel configuration is invalid.
Run 'make oldconfig && make prepare' on kernel src to fix it.
Makefile:669: include/
The kernel doesn't even try to build, because we're missing a valid .config (and probably we're also missing a `make modules_prepare` in the kernel source directory).
tags: | added: azure jammy |
tags: | added: ubuntu-bpf |
tags: | added: oracle |
summary: |
- ubuntu_bpf always fails to build with kernels >= 5.15 + ubuntu_bpf always fails to build with kernels >= 5.15 (ERROR: Kernel + configuration is invalid.) |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
To post a comment you must log in.
Partial test log on jammy-oracle 5.15.0-1001.3
TEST-OBJ [test_progs] xdp_noinline.test.o
TEST-OBJ [test_progs] xdp_perf.test.o
TEST-HDR [test_progs] tests.h
EXT-OBJ [test_progs] test_progs.o
EXT-OBJ [test_progs] cgroup_helpers.o
EXT-OBJ [test_progs] trace_helpers.o
EXT-OBJ [test_progs] network_helpers.o
EXT-OBJ [test_progs] testing_helpers.o
EXT-OBJ [test_progs] btf_helpers.o
BINARY urandom_read
MOD bpf_testmod.ko
ERROR: Kernel configuration is invalid.
include/ generated/ autoconf. h or include/ config/ auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
Makefile:669: include/ config/ auto.conf: No such file or directory config/ auto.conf] Error 1 ubuntu/ autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ testing/ selftests/ bpf' autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ testing/ selftests/ bpf/bpf_ testmod. ko] Error 2 ubuntu/ autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ testing/ selftests'
make[3]: *** [Makefile:748: include/
make[2]: *** [Makefile:16: all] Error 2
make[1]: Leaving directory '/home/
make[1]: *** [Makefile:175: /home/ubuntu/
make: Leaving directory '/home/
make: *** [Makefile:162: all] Error 2
Please find attachment for the full test log.