Closed Madouura closed 11 months ago
For context we do not carry around weird patches in NixOS kernels: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/patches.nix (it's mostly to patch paths to userspace programs if they are in /usr/bin or similar by default). The crash seems to often happen before it starts the initrd, also I don't know yet how verify that.
I don't see anything pertaining to bcachefs in the log - if it is in fact bcachefs that's somehow at fault here, you're going to have to do some digging before I have anything to go on
The problem was that bcachefs needs special UUID handling now: https://github.com/NixOS/nixpkgs/pull/256638 and a trunk version of util-linux (latest release won't work).
Is there a place where this could be documented for other packagers?
bcachefs
kernel errors when only single root. Does not occur when multi-device root. Related: https://github.com/NixOS/nixpkgs/pull/252348Version bca2ade8e1aa696330df88146f5a4d7ccfbb92cb
Generic info https://github.com/NixOS/nixpkgs/blob/f58e6874f3f06d4e5cdea58bec5da33f8b2f8ad3/nixos/tests/installer.nix#L880-L970
Kernel bugs Compile the kernel with these flags: (Done using variation of build script in nixpkgs)
Test VM log: test-vm.txt