-
Notifications
You must be signed in to change notification settings - Fork 17
Update Kernel versions #84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@florianl Looks like torvalds/linux@b720903 added a dependency on xxd during selftest builds, would you be able to add it as a dependency in the builder? |
d8b4e39 to
a0e460a
Compare
|
Gave this a rebase after merging #85. |
a0e460a to
3f2e59e
Compare
|
6.18-rc3 selftests are failing to build: I've bumped to -rc4 but don't see any changes that could've fixed this; let's see if this one succeeds. It's usually better to skip rc's for this reason. |
|
I see the issue with the rc. Should we set |
|
Let's see if we can fix upstream, don't think we're in a big rush to get this merged. |
3f2e59e to
8591d80
Compare
Signed-off-by: Timo Beckers <timo@isovalent.com>
8591d80 to
fa2c90b
Compare
|
Trying this again in the new year, see if we can build v6.18 now that its released |
|
iirc I tried again with the 6.18 release but no luck, selftest builds were still broken. Maybe a later release fixed them. |
1 similar comment
|
iirc I tried again with the 6.18 release but no luck, selftest builds were still broken. Maybe a later release fixed them. |
Yea. It aborted 6.19-RC4 as well, I will try this locally to see if its fixed now, then we can skip a version. If not, we may need to patch it or something. I would like a >=6.18 kernel to validate potential fixes for cilium/ebpf#1916 |
|
I believe I have got it now, at least locally these changes do the trick. Turns out that selftests on v6.18 and above require at least pahole 1.30 to avoid the type conflict. I also made some additional changes for v6.19. Edit: not quite. No 5.10 starts to fail with a Edit2: Seems to be related to the pahole update, it breaks even without the config changes. It goes wrong in the BTFIDS step. Now trying to see if using 1.31 instead of 1.30 fixes it. Otherwise we will have to come up with another plan. (what a day) |
6179f89 to
24e2adf
Compare
Since kernel v6.18-rc3, the selftests have been failing to build due to conflicting types between the generated vmlinux.h and bpf_arena_common.h file in the selftests. The fix for this turns out to be upgrading pahole to 1.30. Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
In kernel commit beb3c67297d92f9428484410cf79135d38d0aff3 and 86433db9325693561794ac8072732cda1167a1ac selftests were added that rely on types only compiled in under these additional kernel configuration. Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
24e2adf to
e893649
Compare
|
🥳 This seems to work. So pahole 1.31 is the key + additional config for >=v6.19 |
Update versions accroding to https://kernel.org/ (on 2025-11-01).