Closed geofft closed 4 years ago
That's because 4.19 is missing torvalds/linux@8bd66d147c88bd441178c7b4c774ae5a185f19b8 (fixed inv4.20). Anything other than 4.19.x should be fine.
It's a small fix, maybe we should just inline it?
Bleh, the kernel build system generates a .mod.c file that's also impacted and patching that is less obvious.
@geofft is asking a debian friend to backport this to their kernel a crazy idea?
Maybe it should really be in upstream 4.19 stable? @nickdesaulniers / @ojeda, is it reasonable to get torvalds/linux@8bd66d147c88bd441178c7b4c774ae5a185f19b8 in -stable?
It is already there since v4.19.48, see https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fd45cd4530ebc7c846f83b26fef526f4c960d1ee
Ah, yes, it worked after updating my VM. Debian 4.19.0-5 is 4.19.37 and 4.19.0-10 is 4.19.132. Thanks 🤦
You're welcome!
By the way, if this is for Plumbers, then do not worry much about older kernels, showing it under e.g. v5.8 is more than good enough.
Nah, Plumbers is just motivation to try to keep this repo in good shape, and the changes I landed earlier this week ended up breaking this test VM. Mostly I want 4.19 working because it's the default for Debian stable and I want things to work for people who come by and check out this repo and are using their distro kernel, and a bit I want this working because we use 4.19 at work :)
I do want to set up CI for Linux HEAD though ... I've been looking at how clangbuiltlinux/continuous-integration does things. (I don't suppose it saves its built kernels anywhere, does it?)
I think @nickdesaulniers and @nathanchance are the ones with most experience on the CI over there.
I don't think you need to save the built kernels. After all, it is kernel-HEAD which gets outdated within hours. Simply having a log to keep track whether things build or not would be the most valuable thing, I think.
Sorry for taking a bit to get back to this.
I do want to set up CI for Linux HEAD though ... I've been looking at how clangbuiltlinux/continuous-integration does things. (I don't suppose it saves its built kernels anywhere, does it?)
We do not save any kernels since we do not use CI to distribute anything. Not sure if that would be the goal of your own CI but we just want to run some simple build tests to make sure that upstream LLVM and Linux do not break anything (and of course, everything is broken right now so we are red all over the place...).
I am not sure how you would go about hooking in an upload step but I am sure it cannot be too difficult since we do that for our Docker image.
Mostly I want to run CI on top of kernels from HEAD and want to avoid compiling them if I can :) but I can just fork your travis.yml and have it build kernels and then build our modules on top, that would certainly work too.
On Debian 10's kernel 4.19, with any of clang 7 (Debian stable), 9 (apt.llvm.org prerelease, 20190716095603) or 12 (apt.llvm.org prerelease, 20200812102626):