Skip to content

[20.09] Switch latest kernel to 5.10#108609

Merged
lheckemann merged 16 commits intoNixOS:staging-20.09from
NeQuissimus:2009_kernel510
Jan 12, 2021
Merged

[20.09] Switch latest kernel to 5.10#108609
lheckemann merged 16 commits intoNixOS:staging-20.09from
NeQuissimus:2009_kernel510

Conversation

@NeQuissimus
Copy link
Member

Motivation for this change

The 5.8 and 5.9 kernels have been EOL'd.
5.10 has been on master for a while now (I have been using it daily since 5.10.1)

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@NeQuissimus NeQuissimus added the 6.topic: kernel The Linux kernel label Jan 6, 2021
@NeQuissimus NeQuissimus marked this pull request as ready for review January 6, 2021 19:50
@ofborg ofborg bot added 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. and removed 6.topic: kernel The Linux kernel labels Jan 6, 2021
@NeQuissimus NeQuissimus changed the title 2009 kernel510 [20.09] Switch latest kernel to 5.10 Jan 7, 2021
@worldofpeace worldofpeace requested a review from jonringer January 7, 2021 19:38
@ofborg ofborg bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. and removed 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels Jan 7, 2021
@NeQuissimus
Copy link
Member Author

@ofborg test kernel-latest kernel-lts latestKernel.login latestKernel.hardened

@NeQuissimus
Copy link
Member Author

I cannot figure out why ofborg fails building 5.10.5.a for the test on x64... I am posting this from 5.10.5.a on an x64 :)

@lheckemann
Copy link
Member

chmod: missing operand after 'u-w'
Try 'chmod --help' for more information.

Maybe you didn't backport the fix from 3088dcb correctly?

@jonringer
Copy link
Contributor

IIRC there was a lot of kernel modules which aren't support in 5.10.

However, people should be using an LTS kernel if they want LTS behavior

@NeQuissimus
Copy link
Member Author

@lheckemann Ah, that might be it

@NeQuissimus
Copy link
Member Author

@ofborg test kernel-latest kernel-lts latestKernel.login latestKernel.hardened

@ofborg ofborg bot requested review from Atemu, layus, teto and thoughtpolice January 9, 2021 21:03
@ofborg ofborg bot added 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. and removed 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. labels Jan 9, 2021
Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diff and intention LGTM

but this should target staging-20.09, as it does 1000+ rebuilds (I'm assuming most of these are kernel modules), but then we can stabilize failing modules as well.

Copy link
Member

@Atemu Atemu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

20.09's ZFSs are not compatible with 5.10.

We should at least backport #108646 to zfsUnstable before we bump _latest.

Validated via
```
 nix-build ./nixos/release.nix -A tests.kernel-latest.x86_64-linux -A tests.latestKernel.login.x86_64-linux
```

(cherry picked from commit c1ef6d2)
(cherry picked from commit a83bf32)
@NeQuissimus NeQuissimus changed the base branch from release-20.09 to staging-20.09 January 10, 2021 19:23
@NeQuissimus
Copy link
Member Author

Rebased onto staging-20.09

@ofborg ofborg bot added 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. and removed 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Jan 10, 2021
@lheckemann lheckemann merged commit f2ce6f0 into NixOS:staging-20.09 Jan 12, 2021
@lheckemann
Copy link
Member

lheckemann commented Jan 12, 2021

Backported 2.0.1 bump as well: c021683 (thanks @cole-h and @Atemu )

@NeQuissimus NeQuissimus deleted the 2009_kernel510 branch January 12, 2021 14:06
NeQuissimus referenced this pull request Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants