Skip to content

rebuild issues, grub #145249

Closed
Closed

Description

@davidak

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:

  1. nixos-rebuild
  2. desktop session crash, so i ran rebuild again in tty1 to avoid the shell session dissapear
  3. 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:

Activity

  1. added
    0.kind: bug
    on Nov 9, 2021
  2. Artturin commented on Nov 9, 2021

    @Artturin
    Member

    iirc this can happen because of mismatched kernel and kernel header versions
    failed to validate module [nf_tables] BTF: -22

    they aren't grub errors btw

  3. added
    6.topic: nixos
    on Nov 10, 2021
  4. nixos-discourse commented on Nov 19, 2021

    @nixos-discourse
  5. Mic92 commented on Nov 19, 2021

    @Mic92
    Member

    This seems to be independent from both pantheon and grub. I also get this with sway and systemd-boot.

  6. davidak commented on Nov 19, 2021

    @davidak
    MemberAuthor

    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

  7. Artturin commented on Dec 7, 2021

    @Artturin
    Member

    #149244 may fix this because i saw similar errors in journalctl when i got #146383

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug6.topic: kernel6.topic: nixos

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions