!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

617 Members
Gaming things, my hands are typing words.167 Servers

Load older messages


SenderMessageTime
4 Mar 2025
@k900:0upti.meK900
Bisecting: 47022 revisions left to test after this (roughly 16 steps)
21:03:26
@k900:0upti.meK900It would technically be less reboots21:03:38
@eyjhb:eyjhb.dkeyJhbTBR (time-between-reboots) would be a lot higher however :D21:03:58
@eyjhb:eyjhb.dkeyJhbLets say I hated my life21:04:34
@eyjhb:eyjhb.dkeyJhbWhat would be the best way to bisect the kernel? Overrideattrs w/ src?21:04:45
@k900:0upti.meK900Yeah something like that21:05:02
@eyjhb:eyjhb.dkeyJhbHave you done it before?21:05:11
@k900:0upti.meK900Yes21:05:40
@eyjhb:eyjhb.dkeyJhb
  boot.kernelPackages = pkgs.linuxPackages.overrideAttrs (old: {
    src = /state/stash/stash/linux-git;
  });

I guess

21:07:26
@eyjhb:eyjhb.dkeyJhbSurely this won't screw up ZFS21:12:46
@gsaurel:laas.frnim65syou might want to double check your backups first :)21:14:24
@gsaurel:laas.frnim65s changed their display name from Guilhem to nim65s.21:14:38
@eyjhb:eyjhb.dkeyJhbI don't think I'll get very far doing it on this system. 21:24:32
@eyjhb:eyjhb.dkeyJhbI already had my first fun "error" because of something something rust.21:25:01
@eyjhb:eyjhb.dkeyJhbOh, not even that21:25:25
@eyjhb:eyjhb.dkeyJhb
┃ error: builder for '/nix/store/7lsz9v44390jl7rpckda7j923xqydh3g-linux-config-6.8.0.drv' failed with exit code 255;
┃        last 25 log lines:
┃        > QUESTION: Fault-injection framework, NAME: FAULT_INJECTION, ALTS: N/y/?, ANSWER:
┃        > GOT:
┃        > QUESTION: Code coverage for fuzzing, NAME: KCOV, ALTS: N/y/?, ANSWER:
┃        > GOT:
┃        > GOT: *
┃        > GOT: * Runtime Testing
┃        > GOT: *
┃        > QUESTION: Runtime Testing, NAME: RUNTIME_TESTING_MENU, ALTS: N/y/?, ANSWER: n
┃        > GOT: n
┃        > QUESTION: Memtest, NAME: MEMTEST, ALTS: Y/n/?, ANSWER: y
┃        > GOT: y
┃        > QUESTION: Microsoft Hyper-V driver testing, NAME: HYPERV_TESTING, ALTS: N/y/?, ANSWER:
┃        > GOT:
┃        > GOT: *
┃        > GOT: * Rust hacking
┃        > GOT: *
┃        > GOT: #
┃        > GOT: # configuration written to .config
┃        > GOT: #
┃        > GOT: make[1]: Leaving directory '/build/linux-git/build'
┃        > GOT: make: Leaving directory '/build/linux-git'
┃        > error: unused option: NTFS_FS
┃        > warning: unused option: POWER_RESET_GPIO
┃        > warning: unused option: POWER_RESET_GPIO_RESTART
┃        > error: unused option: SLS
┃        For full logs, run 'nix log /nix/store/7lsz9v44390jl7rpckda7j923xqydh3g-linux-config-6.8.0.drv'.
21:25:28
@k900:0upti.meK900You probably need to also override the version21:25:39
@k900:0upti.meK900So it's detected properly21:25:43
@eyjhb:eyjhb.dkeyJhb
  boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_6_12.override { # (#4)
    argsOverride = rec {
      src = /state/stash/stash/linux-git;
      dontStrip = true;
      # (#3) `head Makefile` from the kernel and put the right version numbers here
      version = "6.8.0";
      modDirVersion = "6.8.0";
    };
  });
21:27:00
@eyjhb:eyjhb.dkeyJhbIS the jank way I was doing it21:27:04
@eyjhb:eyjhb.dkeyJhbDirectly from https://mathieu.fenniak.net/bisecting-the-linux-kernel-with-nixos/21:27:09
@eyjhb:eyjhb.dkeyJhbBut I would want to do 6_8 in theory21:27:17
@eyjhb:eyjhb.dkeyJhb But that gives me error: linux 6.8 was removed because it has reached its end of life upstream 21:27:40
@eyjhb:eyjhb.dkeyJhbSo I would need to find the nixpkgs revision, where it was still in nixpkgs, and then do it.21:28:36
@eyjhb:eyjhb.dkeyJhbIguses21:28:38
@k900:0upti.meK900Oof21:29:52
@k900:0upti.meK900Yeah probably21:29:55
@eyjhb:eyjhb.dkeyJhbI don't think this is going to be a fun me thing.21:30:15
@eyjhb:eyjhb.dkeyJhbI would need a WAY more minimal system...21:30:44
@eyjhb:eyjhb.dkeyJhb

Because now I get stuff like

┃        error: undefined variable 'cartesianProduct'
┃        at /nix/store/p63wnjw5bzzf77k0xv06gcyc5dplnynz-home-manager-src/modules/services/dunst.nix:174:42:
┃           173|           "${basePath}/share/icons/${theme.name}/${theme.size}/${category}";
┃           174|       in concatMapStringsSep ":" mkPath (cartesianProduct {
┃              |                                          ^
┃           175|         basePath = basePaths;

21:30:56

Show newer messages


Back to Room ListRoom Version: 10