| 4 Mar 2025 |
K900 | Bisecting: 47022 revisions left to test after this (roughly 16 steps)
| 21:03:26 |
K900 | It would technically be less reboots | 21:03:38 |
eyJhb | TBR (time-between-reboots) would be a lot higher however :D | 21:03:58 |
eyJhb | Lets say I hated my life | 21:04:34 |
eyJhb | What would be the best way to bisect the kernel? Overrideattrs w/ src? | 21:04:45 |
K900 | Yeah something like that | 21:05:02 |
eyJhb | Have you done it before? | 21:05:11 |
K900 | Yes | 21:05:40 |
eyJhb | boot.kernelPackages = pkgs.linuxPackages.overrideAttrs (old: {
src = /state/stash/stash/linux-git;
});
I guess
| 21:07:26 |
eyJhb | Surely this won't screw up ZFS | 21:12:46 |
nim65s | you might want to double check your backups first :) | 21:14:24 |
| nim65s changed their display name from Guilhem to nim65s. | 21:14:38 |
eyJhb | I don't think I'll get very far doing it on this system. | 21:24:32 |
eyJhb | I already had my first fun "error" because of something something rust. | 21:25:01 |
eyJhb | Oh, not even that | 21:25:25 |
eyJhb | ┃ 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 | You probably need to also override the version | 21:25:39 |
K900 | So it's detected properly | 21:25:43 |
eyJhb | 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 | IS the jank way I was doing it | 21:27:04 |
eyJhb | Directly from https://mathieu.fenniak.net/bisecting-the-linux-kernel-with-nixos/ | 21:27:09 |
eyJhb | But I would want to do 6_8 in theory | 21:27:17 |
eyJhb | But that gives me error: linux 6.8 was removed because it has reached its end of life upstream | 21:27:40 |
eyJhb | So I would need to find the nixpkgs revision, where it was still in nixpkgs, and then do it. | 21:28:36 |
eyJhb | Iguses | 21:28:38 |
K900 | Oof | 21:29:52 |
K900 | Yeah probably | 21:29:55 |
eyJhb | I don't think this is going to be a fun me thing. | 21:30:15 |
eyJhb | I would need a WAY more minimal system... | 21:30:44 |
eyJhb | 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 |