microsoft/surface: update kernel versions#1696
microsoft/surface: update kernel versions#16968bitbuddhist wants to merge 1 commit intoNixOS:masterfrom
Conversation
90ba48d to
cbc9d7e
Compare
|
It works! :D No weird crashes, no weird behaviors, no problems shutting down or rebooting.
|
|
Just tested this on my machine with zfs-2.4.0-rc5 ( So nice, that we no longer depend on a release in the linux-surface repository! |
|
Tested and working on Surface Pro 7. This was the only microsoft surface kernel that allowed me to upgrade to nixOS 25.11, using the rust patch kernel was failing because of bcacheFS for me 🙏 |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891/4 |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891/5 |
|
Seems to work on my Surface Pro 7+ with the type cover and the pen. |
|
Merged changes from PR #1690 into here and updated the LTS kernel to 6.12.65 |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/linux-surface-kernel-stuck-at-6-12-19/73891/8 |
This comment was marked as resolved.
This comment was marked as resolved.
|
Posting this from a Surface 3 Pro running Linux 6.12.65 using this patch. |
|
Works for me! The kernel built in about 3 hours on my surface pro 4 |
|
posting from a surface pro 8! been using for a few days already with no issues |
|
Been running this on a Surface Laptop Studio 1st gen. No issues either |
|
According to the contributor guide, anyone who is a contributor to nixpkgs can review and approve PRs. So if there are any nixpkgs contributors in this thread, 🆘 😅 https://github.com/NixOS/nixos-hardware/blob/master/CONTRIBUTING.md#for-reviewers |
|
A option to disable redundant kernel modules would be nice. Since linux-surface users run on surface laptops not compiling modules for hardware that well surface does not contain might speed up complies. |
|
Maybe you can |
|
FYI: Building diff --git a/microsoft/surface/common/default.nix b/microsoft/surface/common/default.nix
index d4e4ade..61d659b 100644
--- a/microsoft/surface/common/default.nix
+++ b/microsoft/surface/common/default.nix
@@ -19,7 +19,7 @@ let
if kernelVersion == "longterm" then
"6.12.65"
else if kernelVersion == "stable" then
- "6.18.5"
+ "6.18.7"
else
abort "Invalid kernel version: ${kernelVersion}";
@@ -28,7 +28,7 @@ let
if kernelVersion == "longterm" then
"sha256-VOhSZnrzXA7QbPyBMR5l+n9feYo7/PeKVZ07R4WhOcE="
else if kernelVersion == "stable" then
- "sha256-GJ0fQJzvjQ0jQhDgRZUXLfOS+MspfhS0R+2Vcg4v2UA="
+ "sha256-tyak0Vz5rgYhm1bYeCB3bjTYn7wTflX7VKm5wwFbjx4="
else
abort "Invalid kernel version: ${kernelVersion}"; |
|
I cannot squash merge this, so please clean up the history a bit and squash most things into one or two commits, please. |
ff6f7e9 to
ef7600e
Compare
I haven't fully figured out rebasing yet, so if this ends up being too big a mess, I might create a new branch and cherry-pick onto it. Gonna give it a good try though |
4115e31 to
f0c0b7d
Compare
f0c0b7d to
ac6458d
Compare
|
@SuperSandro2000 Should be good to go after the tests finish 👍🏾 |
|
BTW, isn't 6.18 itself the newest LTS? |
Technically yes, but this is available as a fallback in case folks are using kernel modules that haven't been updated yet, or there's some other reason keeping them from using the newer kernel. |

Description of changes
Includes the following changes:
This previously included a patch for older kernel versions so they can build using Rust 1.91, which fixed #1685. The latest kernel releases include this fix, so this is no longer necessary.
Things done
nixos-hardwareandimporting it via
<nixos-hardware>or Flake input