!kyXJonZuBXCGzVwuSn:nixos.org

Systems Programming

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

Load older messages


SenderMessageTime
15 Sep 2023
@k900:0upti.meK900 ⚡️That should be enough04:58:57
@k900:0upti.meK900 ⚡️Mode 3 should be "active"04:59:05
@woobilicious:matrix.orgwoobiliciousAhh, apparently it's not lol04:59:38
@k900:0upti.meK900 ⚡️https://github.com/torvalds/linux/blob/9fdfb15a3dbf818e06be514f4abbfc071004cbe7/drivers/cpufreq/amd-pstate.c#L145905:00:33
@k900:0upti.meK900 ⚡️This seems to be the line05:00:35
@woobilicious:matrix.orgwoobiliciousthat's an enigma.05:06:44
@k900:0upti.meK900 ⚡️Well it seems pretty safe to assume that your firmware is either reporting itself as a server or not reporting CPPC support correctly at all05:07:32
@woobilicious:matrix.orgwoobiliciousI'll have to have a look through the bios at some point...but I can probably just force it on anyway.05:12:46
@woobilicious:matrix.orgwoobilicious I see power management: ts ttp tm hwpstate eff_freq_ro [13] [14] in proc/cpuinfo, that eff_freq_ro might have something to do with it. 05:13:31
18 Sep 2023
@woobilicious:matrix.orgwoobiliciousIs Madouura here? I'm YellowOnion on github.03:06:21
@qyliss:fairydust.spaceAlyssa Ross joined the room.07:56:29
@thefossguy:matrix.orgPratham Patel joined the room.07:58:21
19 Sep 2023
@asuras:nitro.chatAsuras joined the room.19:31:23
20 Sep 2023
@thefossguy:matrix.orgPratham Patel

Haven't used it yet, but I believe I can set the rust compiler toolchain version with RUSTC_VERSION (as per https://nixos.wiki/wiki/Rust#Installation_via_rustup). That covers me for the toolchain version itself. But I have two questions:

  1. How do I add the component rust-src? I can do a rustup component add rust-src but that requires network access. Doing that for a single flake is not possible and I have to set the sandbox value system wide. I don't want to do that.
  2. How do I install a specific version of bindgen? (Same network access/don't want to change sandbox value system-wide argument here too.)

Both are required to build Linux with Rust suppport enabled :)

16:35:13
@k900:0upti.meK900 ⚡️I've built Linux with Rust support with just nixpkgs Rust16:39:09
@k900:0upti.meK900 ⚡️So whatever you're doing is either wrong or the wrong approach16:39:17
@thefossguy:matrix.orgPratham Patel Well you can 17:23:46
@thefossguy:matrix.orgPratham Patel But the docs say to have a specific version of rust and bindgen :)  17:24:06
@thefossguy:matrix.orgPratham Patel So I’d rather follow that until the support is better  17:24:27
@k900:0upti.meK900 ⚡️Then you'll need to get them from rust-overlay or fenix or something17:47:16
@k900:0upti.meK900 ⚡️And this will never be accepted in nixpkgs17:47:25
21 Sep 2023
@woobilicious:matrix.orgwoobilicious Mic92:
I figured out why bcachefsSimple isn't passing (I think), nixos-generate-config finds a by-uuid entry for bcachefs, but then the system can't boot from that, I'm not sure what the correct way to handle symlinked root fs is, so I'm unsure how / where to fix it.
02:58:01
@woobilicious:matrix.orgwoobiliciousimage.png
Download image.png
03:55:18
@woobilicious:matrix.orgwoobiliciousarg who wrote this mount wrapper crap, it's so broken.05:21:44
@woobilicious:matrix.orgwoobilicious I'm trying to figure out why extraUtilsCommandsTest doesn't seem consistent with what the the script would see in initrd...my test is failing but I suspect it should actually work looking at other code doing something similiar. 06:42:39
@kloenk:kloenk.euFinn Behrens (he/him) joined the room.08:09:54
@kloenk:kloenk.euFinn Behrens (he/him)
In reply to @thefossguy:matrix.org
But the docs say to have a specific version of rust and bindgen :) 
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
08:16:49
@woobilicious:matrix.orgwoobiliciousI'm starting to suspect nixos doesn't support mount wrappers for root.08:18:11
@k900:0upti.meK900 ⚡️The scripted initrd might not08:18:34
@kloenk:kloenk.euFinn Behrens (he/him)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.nix08:18:36

Show newer messages


Back to Room ListRoom Version: 6