!kyXJonZuBXCGzVwuSn:nixos.org

Systems Programming

303 Members
Kernel, stdenv, low-level hacking, patchelf, … 76 Servers

Load older messages


SenderMessageTime
21 Sep 2023
@woobilicious:matrix.orgwoobilicious K900 ⚡️: https://gist.github.com/YellowOnion/844e0cc89c6449eab6cb751c2de0458b 08:22:43
@woobilicious:matrix.orgwoobilicious bcachefs technically needs an utils-linux master, but this should work if it just called out to the mount wrapper. 08:25:38
@woobilicious:matrix.orgwoobiliciouswait don't tell me this is a case sensitivity issue.08:30:57
@woobilicious:matrix.orgwoobiliciousnope, it's something else.08:35:32
@woobilicious:matrix.orgwoobilicious K900 ⚡️: looking at that log more, looks like it's the one in initrd 08:45:17
@woobilicious:matrix.orgwoobilicious I guess systemd needs lsblk support to work correctly facepalm 08:57:18
@woobilicious:matrix.orgwoobilicious 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:matrix.orgwoobiliciousI guess if I change util-linux I'm going to have to recompile the entire nixos stack.09:24:12
@kloenk:kloenk.euFinn Behrens (he/them) Found this comment in one of kents projects systemd segfaults if you don't have swap support... 09:25:02
@woobilicious:matrix.orgwoobiliciouslmao09:25:38
@woobilicious:matrix.orgwoobiliciousall of this is based on a "hunch" too...I can't confirm what is breaking systemd-remount-fs09:27:37
@kloenk:kloenk.euFinn Behrens (he/them)you also have to assume its not already broken to find something that is breaking it xP09:28:55
@woobilicious:matrix.orgwoobiliciousoh it's definitely broken lol09:29:11
@woobilicious:matrix.orgwoobiliciousI just found out that config.system.fsPackages is provided to stage1 so providing the bcachefs binary to systemd initrd is redundant.09:38:30
@kloenk:kloenk.euFinn 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 macos09:59:19
@woobilicious:matrix.orgwoobiliciousstill have no clue how we get uuids during format, but not boot lol10:07:26
@woobilicious:matrix.orgwoobilicioussomething "knows" about bcachefs uuid's, but it's not enough to boot from the device.10:08:37
@thefossguy:matrix.orgPratham Patel
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
@thefossguy:matrix.orgPratham Patel
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
@kloenk:kloenk.euFinn 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
@kloenk:kloenk.euFinn 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:matrix.orgwoobiliciousjust my luck, util-linux doesn't want to compile on nix.11:47:55
@woobilicious:matrix.orgwoobiliciousone last attempt till I give up fixing this bcachefs nightmare for today.11:56:10
@kloenk:kloenk.euFinn Behrens (he/them)oh no, sounds complicated11:57:23
@thefossguy:matrix.orgPratham Patel
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
@kloenk:kloenk.euFinn 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
@thefossguy:matrix.orgPratham Patel
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
@thefossguy:matrix.orgPratham PatelAlso, if you switch from nixos-23.05 to nixos-unstable, clang just gets angry11:58:55
@woobilicious:matrix.orgwoobilicious Finn Behrens (he/him): NixOS always makes a simple package upgrade a nightmare, almost everything on nixos depends on util-linux, so was avoiding upgrading it for like 6 hours trying to find a work around, now I'm just trying to inject it specifically it to initrd/systemd-remount-fs 12:00:07
@kloenk:kloenk.euFinn Behrens (he/them)I recently had fun updating iwd, which required ell12:00:45

Show newer messages


Back to Room ListRoom Version: 6