| 15 Sep 2023 |
K900 ⚡️ | That should be enough | 04:58:57 |
K900 ⚡️ | Mode 3 should be "active" | 04:59:05 |
woobilicious | Ahh, apparently it's not lol | 04:59:38 |
K900 ⚡️ | https://github.com/torvalds/linux/blob/9fdfb15a3dbf818e06be514f4abbfc071004cbe7/drivers/cpufreq/amd-pstate.c#L1459 | 05:00:33 |
K900 ⚡️ | This seems to be the line | 05:00:35 |
woobilicious | that's an enigma. | 05:06:44 |
K900 ⚡️ | Well it seems pretty safe to assume that your firmware is either reporting itself as a server or not reporting CPPC support correctly at all | 05:07:32 |
woobilicious | I'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 | 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 | Is Madouura here? I'm YellowOnion on github. | 03:06:21 |
| Alyssa Ross joined the room. | 07:56:29 |
| Pratham Patel joined the room. | 07:58:21 |
| 19 Sep 2023 |
| Asuras joined the room. | 19:31:23 |
| 20 Sep 2023 |
Pratham 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:
- 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.
- 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 ⚡️ | I've built Linux with Rust support with just nixpkgs Rust | 16:39:09 |
K900 ⚡️ | So whatever you're doing is either wrong or the wrong approach | 16:39:17 |
Pratham Patel | Well you can | 17:23:46 |
Pratham Patel | But the docs say to have a specific version of rust and bindgen :) | 17:24:06 |
Pratham Patel | So I’d rather follow that until the support is better | 17:24:27 |
K900 ⚡️ | Then you'll need to get them from rust-overlay or fenix or something | 17:47:16 |
K900 ⚡️ | And this will never be accepted in nixpkgs | 17:47:25 |
| 21 Sep 2023 |
woobilicious | 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 |  Download image.png | 03:55:18 |
woobilicious | arg who wrote this mount wrapper crap, it's so broken. | 05:21:44 |
woobilicious | 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 |
| Finn Behrens (he/him) joined the room. | 08:09:54 |
Finn 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 | I'm starting to suspect nixos doesn't support mount wrappers for root. | 08:18:11 |
K900 ⚡️ | The scripted initrd might not | 08:18:34 |
Finn 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.nix | 08:18:36 |