Skip to content

[Backport release-24.11] linux_xanmod, linux_xanmod_latest: 2025-01-11#373154

Closed
nixpkgs-ci[bot] wants to merge 2 commits intorelease-24.11from
backport-373041-to-release-24.11
Closed

[Backport release-24.11] linux_xanmod, linux_xanmod_latest: 2025-01-11#373154
nixpkgs-ci[bot] wants to merge 2 commits intorelease-24.11from
backport-373041-to-release-24.11

Conversation

@nixpkgs-ci
Copy link
Contributor

@nixpkgs-ci nixpkgs-ci bot commented Jan 12, 2025

Bot-based backport to release-24.11, triggered by a label in #373041.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-commiter, if you find that it is not acceptable, leave a comment.

@github-actions github-actions bot added 6.topic: kernel The Linux kernel 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. labels Jan 12, 2025
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.

  CC      init/version-timestamp.o
  LD      .tmp_vmlinux.btf
/nix/store/vk4mlknqk9yjbqa68a7rvpfxfdw3rad7-binutils-2.43.1/bin/ld: vmlinux.o: in function `__crash_kexec':
/build/source/build/../kernel/kexec_core.c:1066:(.text+0x1cff8b): undefined reference to `machine_crash_shutdown'
/nix/store/vk4mlknqk9yjbqa68a7rvpfxfdw3rad7-binutils-2.43.1/bin/ld: vmlinux.o: in function `do_kexec_load':
/build/source/build/../kernel/kexec.c:166:(.text+0x1d1bae): undefined reference to `arch_kexec_protect_crashkres'
/nix/store/vk4mlknqk9yjbqa68a7rvpfxfdw3rad7-binutils-2.43.1/bin/ld: /build/source/build/../kernel/kexec.c:105:(.text+0x1d1bf4): undefined reference to `arch_kexec_unprotect_crashkre>
/nix/store/vk4mlknqk9yjbqa68a7rvpfxfdw3rad7-binutils-2.43.1/bin/ld: vmlinux.o: in function `__do_sys_kexec_file_load':
/build/source/build/../kernel/kexec_file.c:415:(.text+0x1d2d74): undefined reference to `arch_kexec_protect_crashkres'
/nix/store/vk4mlknqk9yjbqa68a7rvpfxfdw3rad7-binutils-2.43.1/bin/ld: /build/source/build/../kernel/kexec_file.c:350:(.text+0x1d2dbc): undefined reference to `arch_kexec_unprotect_cra>
  BTF     .btf.vmlinux.bin.o
pahole: .tmp_vmlinux.btf: Invalid argument
  LD      .tmp_vmlinux.kallsyms1
.btf.vmlinux.bin.o: file not recognized: file format not recognized
make[2]: *** [../scripts/Makefile.vmlinux:37: vmlinux] Error 1
make[1]: *** [/build/source/Makefile:1316: vmlinux] Error 2
make: *** [../Makefile:234: __sub-make] Error 2

@Shawn8901
Copy link
Contributor

Shawn8901 commented Jan 12, 2025

That seems to be the issue that was causing 6.6.71.

https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.71

https://lore.kernel.org/all/3DB3A6D3-0D3A-4682-B4FA-407B2D3263B2@cloudflare.com/

there was not yet any update from xanmod side (first i wanted to hold 6.6.70 due to that).
So we might want to wait for 6.6.71 then.

Do you customize your kernel config? (edit: seems not to, strange that then build for me, i just set v3 compilation, aside that i am on stock too)

@Atemu
Copy link
Member

Atemu commented Jan 12, 2025

What's odd though is that it builds fine on unstable?

@Shawn8901
Copy link
Contributor

Shawn8901 commented Jan 12, 2025

yeah i am running it rn.

╰─ uname -a
Linux pointalpha 6.6.70-xanmod1 #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan  1 00:00:00 UTC 1980 x86_64 GNU/Linux

So possibly its triggered by something by the build environment that is on stable aside the mentioned config settings in https://lore.kernel.org/all/3DB3A6D3-0D3A-4682-B4FA-407B2D3263B2@cloudflare.com/ .
But on that i am honestly unsure. So my suggestion is that we wait for 6.6.71 for backporting and ill create a manual backport for x.70 and x.71 once thats released

@Atemu
Copy link
Member

Atemu commented Jan 12, 2025

Yeah that's likely. Let's wait for .71 then.

@wolfgangwalther wolfgangwalther marked this pull request as draft January 16, 2025 20:04
@Shawn8901 Shawn8901 closed this Jan 27, 2025
@wolfgangwalther wolfgangwalther deleted the backport-373041-to-release-24.11 branch January 29, 2025 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: kernel The Linux kernel 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants