Repository navigation
Closed
Labels
0.kind: bugSomething is broken6.topic: kernelThe Linux kernel6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Description
Describe the bug
When i rebuild my system, the desktop session (pantheon) crashes and there are some grub errors.
https://youtu.be/OT5M4J9bEak
Nov 09 19:14:30 gaming kernel: failed to validate module [nf_tables] BTF: -22
Nov 09 19:14:30 gaming kernel: BPF:[79706] ENUM
Nov 09 19:14:30 gaming kernel: BPF:size=4 vlen=22
Nov 09 19:14:30 gaming kernel: BPF:
Nov 09 19:14:30 gaming kernel: BPF:Invalid name
Nov 09 19:14:30 gaming kernel: BPF:
Steps To Reproduce
Steps to reproduce the behavior:
- nixos-rebuild
- desktop session crash, so i ran rebuild again in tty1 to avoid the shell session dissapear
- see a lot of grub (i guess) errors (reproducible)
Expected behavior
no crash, no errors
Additional context
Add any other context about the problem here.
Notify maintainers
pantheon maintainer @bobby285271: do you experience this as well?
Metadata
- system:
"x86_64-linux" - host os:
Linux 5.15.0, NixOS, 21.11 (Porcupine) - multi-user?:
no - sandbox:
yes - version:
nix-env (Nix) 2.3.16 - channels(root):
"home-manager-21.05, nixos-21.11pre328987.c935f5e0add, nixos-hardware, nixos-unstable-21.11pre328987.c935f5e0add" - nixpkgs:
/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is broken6.topic: kernelThe Linux kernel6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Activity
Artturin commentedon Nov 9, 2021
iirc this can happen because of mismatched kernel and kernel header versions
failed to validate module [nf_tables] BTF: -22they aren't grub errors btw
nixos-discourse commentedon Nov 19, 2021
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nixos-rebuild-switch-crashes-wm-de/16127/5
Mic92 commentedon Nov 19, 2021
This seems to be independent from both pantheon and grub. I also get this with sway and systemd-boot.
davidak commentedon Nov 19, 2021
FYI: at the time of writing the issue, it was reproducible every time i re-run the rebluild, but after i rebooted, i did not have the issue again. it's annoying and i had it in the past
Artturin commentedon Dec 7, 2021
#149244 may fix this because i saw similar errors in journalctl when i got #146383