| 21 Sep 2023 |
K900 ⚡️ | But are you using the systemd initrd or the scripted one | 08:19:49 |
woobilicious | I fixed bcachefsSimple failing to mount, but now it's not remounting correctly. | 08:19:58 |
woobilicious | K900 ⚡️: https://gist.github.com/YellowOnion/844e0cc89c6449eab6cb751c2de0458b | 08:22:43 |
woobilicious | bcachefs technically needs an utils-linux master, but this should work if it just called out to the mount wrapper. | 08:25:38 |
woobilicious | wait don't tell me this is a case sensitivity issue. | 08:30:57 |
woobilicious | nope, it's something else. | 08:35:32 |
woobilicious | K900 ⚡️: looking at that log more, looks like it's the one in initrd | 08:45:17 |
woobilicious | I guess systemd needs lsblk support to work correctly facepalm | 08:57:18 |
woobilicious | there's splatterings of pkgs.util-linux and cfg.package.util-linux as well, so overriding it just for bcachefs might be too much. | 09:13:39 |
woobilicious | I guess if I change util-linux I'm going to have to recompile the entire nixos stack. | 09:24:12 |
Finn Behrens (he/them) | Found this comment in one of kents projects systemd segfaults if you don't have swap support... | 09:25:02 |
woobilicious | lmao | 09:25:38 |
woobilicious | all of this is based on a "hunch" too...I can't confirm what is breaking systemd-remount-fs | 09:27:37 |
Finn Behrens (he/them) | you also have to assume its not already broken to find something that is breaking it xP | 09:28:55 |
woobilicious | oh it's definitely broken lol | 09:29:11 |
woobilicious | I just found out that config.system.fsPackages is provided to stage1 so providing the bcachefs binary to systemd initrd is redundant. | 09:38:30 |
Finn Behrens (he/them) | one day I also gonna have to fix, that I can at least evaluate linux on macos. because at latest with a patch, linux builds on macos | 09:59:19 |
woobilicious | still have no clue how we get uuids during format, but not boot lol | 10:07:26 |
woobilicious | something "knows" about bcachefs uuid's, but it's not enough to boot from the device. | 10:08:37 |
Pratham Patel (you can mention me) | In reply to @kloenk:kloenk.eu this is what I currenlty am trying to use, but did not yet apply the aarch64 rfl patch to test it https://github.com/Kloenk/nixfiles/blob/main/dev/kernel.nix which patch are you talkinga bout? | 10:53:23 |
Pratham Patel (you can mention me) | In reply to @kloenk:kloenk.eu the bindgen version is rather irrelevant for my testing. rustc version is somewhat important, as we sadly had to vendor liballoc, which is in upstream rust tied to a specific rustc version Also, what do you mean by this? I don't think I understand... | 10:53:51 |
Finn Behrens (he/them) | In reply to @thefossguy:matrix.org which patch are you talkinga bout? mainline has currently no support for rust in the kernel on aarch64 | 11:35:44 |
Finn Behrens (he/them) | In reply to @thefossguy:matrix.org Also, what do you mean by this? I don't think I understand... don't care to much about the correct bindgen version, aslong as it's at least what the kernel wants. but rust should match | 11:36:08 |
woobilicious | just my luck, util-linux doesn't want to compile on nix. | 11:47:55 |
woobilicious | one last attempt till I give up fixing this bcachefs nightmare for today. | 11:56:10 |
Finn Behrens (he/them) | oh no, sounds complicated | 11:57:23 |
Pratham Patel (you can mention me) | In reply to @kloenk:kloenk.eu mainline has currently no support for rust in the kernel on aarch64 This one? https://lore.kernel.org/rust-for-linux/20230606145606.1153715-1-Jamie.Cunliffe@arm.com/ | 11:57:25 |
Finn Behrens (he/them) | In reply to @thefossguy:matrix.org This one? https://lore.kernel.org/rust-for-linux/20230606145606.1153715-1-Jamie.Cunliffe@arm.com/ yes, looks correct (not checked if the latest version) | 11:58:15 |
Pratham Patel (you can mention me) | In reply to @kloenk:kloenk.eu don't care to much about the correct bindgen version, aslong as it's at least what the kernel wants. but rust should match 6.5.4's min requirements match with rustc-1.69 from nixos-23.05; problem comes with 6.6.-rc2 XD | 11:58:17 |
Pratham Patel (you can mention me) | Also, if you switch from nixos-23.05 to nixos-unstable, clang just gets angry | 11:58:55 |