24 Jul 2024 |
| Redstone changed their display name from redstone-menace to Redstone. | 10:16:33 |
| @onlinegamer90:matrix.org joined the room. | 22:52:10 |
25 Jul 2024 |
Arian | @sielicki:matrix.org Im having a hard time finding out what branch contains the Amazon Linux patches in their kernel repo
| 14:59:31 |
Arian | Happy to discuss a bit more ways forward | 14:59:42 |
26 Jul 2024 |
woobilicious | Arian: ENA is an external module, you don't need kernel patches. | 00:10:31 |
woobilicious | you want something like:
boot.extraModulePackages = [ config.boot.kernelPackages.ena ];
boot.kernelModules = [ "ena" ];
| 00:14:38 |
woobilicious | There's a reference to the source code in nixpkgs: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/ena/default.nix | 00:16:09 |
Mic92 | there are multiple versions of this. | 05:57:49 |
Mic92 | appearantly there is also an amazon kernel fork where ena is in-tree | 05:58:03 |
| 71rd joined the room. | 11:44:02 |
Arian | Yeh read the above:
There are three flavors:
- in-tree
- external module
- Fork of kernel with the external module in-tree
| 14:00:57 |
Arian | and we’re trying to consolidate this a bit | 14:01:13 |
27 Jul 2024 |
woobilicious | Anyone familiar with how nixos ships CPU microcode patches? | 07:28:07 |
K900 | Just as part of linux-firmware | 07:28:48 |
K900 | Oh wait no | 07:29:12 |
K900 | For Intel it's https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/cpu/intel-microcode.nix | 07:29:14 |
K900 | Huh, for AMD it's doing https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/cpu/amd-microcode.nix | 07:29:41 |
K900 | But it shouldn't need that | 07:29:45 |
K900 | Oh OK | 07:30:14 |
K900 | https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/microcode/amd.nix | 07:30:15 |
K900 | For AMD it's pulling from linux-firmware | 07:30:19 |
K900 | For Intel it's pulling from some Intel repo: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/microcode/intel.nix | 07:30:34 |
woobilicious | I just heard about the raptor lake "fix" and then noticed my Ryzen system seems to be out of date. | 07:30:42 |
K900 | For AMD it should late load basically always | 07:30:50 |
K900 | As in, even if you don't have any of this stuff | 07:31:00 |
K900 | It'll late load anyway | 07:31:03 |
K900 | Because you should have linux-firmware | 07:31:09 |
K900 | And unlike Intel AMD doesn't mind late-loading ucode | 07:31:15 |
K900 | But also AMD is kinda inconsistent about pushing ucode to linux-firmware | 07:32:14 |
K900 | Sometimes the stuff shipping in board firmware updates is like two months ahead | 07:32:39 |