-
Notifications
You must be signed in to change notification settings - Fork 54
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
Upgrade Linux Kernel for main from 6.1.66 to 6.6.7 #1444
Conversation
When I run
Unfortunately, the logs are not so helpful, as the log says the same thing. This is the only error message from the actual logfile. |
...el/coreos-sources/files/6.1/z0002-Revert-scripts-pahole-flags.sh-Parse-DWARF-and-gener.patch
Show resolved
Hide resolved
You probably could something like |
Build action triggered: https://github.com/flatcar/scripts/actions/runs/7260296103 |
I have tried this patch ader1990@fe64043, but seems to have the same issue, with the symlink named Thanks. |
0319a3c
to
d1ac96c
Compare
@krnowak I have a succesful build:
I need to iron out the following:
Can you please trigger the actions to see if there are some issues with the functional tests? Thanks. |
d1ac96c
to
45284f5
Compare
There is an upstream issue related to the bcc warnings for Linux kernel 6.6 -> iovisor/bcc#4251. On Linux kernel 6.5, the warnings are not present.
|
The bcc docker image is 2+ years old - quay.io/iovisor/bcc:latest. And it seems there is no upstream docker image maintained, I will look for an alternative / open an issue upstream to ask for an alternative. |
The source symlink has been removed by this commit. torvalds/linux@d8131c2 There are two options here: to revert the commit (at least 3 commits from upstream linux kernel, as there were two more commits on top of the code), or to change the Flatcar kernel build .ebuild/.eclass files. @krnowak is there a preffered way? Currently, I could build the kernel file using a .patch file on top of the kernel sources that reverts those 3 commits. |
How to fix the bcc warnings that break the testing - create a new Docker image starting from the bcc Docker build image:
Content of the Dockerfile:
|
Needs a rebase. I did a local build and tested the image, seems to work :) We can also do a full test run for all platforms to see if any hardware configs require changes. There is also a detailed image change report which we can review for potentially missing kernel modules. |
The mantle kola changes are in, after a rebase the tests should pass. |
160b33e
to
c658667
Compare
Hello, I made the rebase. To dos: update the kernel build process to get rid of the currently required Makefile revert patches and also bump the minor to the latest one. If you can start the tests, that would be great, as the changes still needed are more cosmetic in nature. Thank you. |
I have also retested the code locally and there might be an issue with the kernel headers still being 6.1. Can you please trigger the workflow to see if the issue also occurs with the github actions? Thank you. |
I see that the kernel-headers installed are 6.1 when I do a clean env |
The kernel headers issue could be a problem with emerge dependencies - I would remove all old kernel header packages to avoid running into the downgrade. Started a build and test run for all cloud platforms |
Job summary where all tests pass: https://github.com/flatcar/scripts/actions/runs/7240772253/attempts/2#summary-19744434632 |
6d630f7
to
9584954
Compare
To upgrade, the following changes were required: * added Changelog * switched to Linux kernel 6.6.7 sources * reverted pahole flags - the system halts otherwise with Linux kernel / initrd modules not found * removed the source symlink deletion, as it the symlink is no longer generated * updated or removed Linux kernel configs: * CONFIG_AUTOFS4_FS -> renamed to AUTOFS_FS * CONFIG_IXGB -> renamed to CONFIG_IXGB * CONFIG_EDAC_I5000 -> CONFIG_BROKEN * CONFIG_EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER -> removed * CONFIG_IP_NF_TARGET_CLUSTERIP -> removed * CONFIG_MICROCODE_AMD -> removed * CONFIG_NET_SCH_CBQ -> removed * CONFIG_NET_SCH_DSMARK -> removed * CONFIG_NFT_OBJREF -> removed
9584954
to
f1c8d36
Compare
All cloud tests passed for yesterday's state (6.6.3) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you 👍
To upgrade, the following changes were required:
Linux kernel / initrd modules not found
is no longer generated
Fixes: flatcar/Flatcar#1266