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
linux: Backports linux kernel 4.17 to 18.03 #43235
Conversation
(cherry picked from commit f8665f1) One file has been dropped from the commit: ``` Conflicts: pkgs/os-specific/linux/kernel/linux-testing.nix ```
(cherry picked from commit 3944456) all-packages.nix differs in that only 4_17 has been added.
(cherry picked from commit 91cda44)
(cherry picked from commit 3afc706)
(cherry picked from commit 7dc31f5)
(cherry picked from commit ed8e468)
(cherry picked from commit 0c69a75)
cc @vcunat |
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.
Seems OK.
Thanks, I haven't noticed the first commit you picked and gave up too soon, assuming noone would want such a new kernel on 18.03. /cc @NeQuissimus: for backports of future 4.17 bumps. |
There are definitely some who would. Keep in mind, some of the hardware support for Ryzen/Zen CPUs (working around the C-state bug, etc.) was only mainlined in 4.17. |
Ah, right. I even have an occasionally problematic Ryzen on 18.03 :-) but I think I'm mostly hitting those compilation crashes and not the C-state problem.
|
The compilation crashes were due to marginal CPUs that have been recalled... you should talk to AMD, they'll let you swap it for a new one. |
I had heard that, and I'll do that in the end, I guess. (I assume I'll have to go through the seller where it might be difficult to explain.) I had long been hoping for a fix in firmware or similar. |
Motivation for this change
linuxPackages_latest
was (understandably) downgraded from 4.16 to 4.14, since the 4.16 series isn't supported anymore.The commit message was:
Here I have backported with cherry-picked conflict-resolved the relevant commits to make 4.17 build for 18.03, and the relevant updates. Do tell if keeping the whole commit history cherry-picked is too much.
Testing done
I am currently dogfooding the use of 4.17 on 18.03 with this branch on my machine.
I don't know of NixOS tests that test
linuxPackages_latest
. I don't know either if one of tests can be used to test another kernel.I have not tested most packages depending on the kernel, except the default settings + VirtualBox.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after) new package, closure sizes goes from 0 to 66304848.