!kyXJonZuBXCGzVwuSn:nixos.org

Systems Programming

175 Members
Kernel, stdenv, low-level hacking, patchelf, … 62 Servers

Load older messages


SenderMessageTime
24 Jul 2024
@redstone-menace:matrix.orgRedstone changed their display name from redstone-menace to Redstone.10:16:33
@onlinegamer90:matrix.org@onlinegamer90:matrix.org joined the room.22:52:10
25 Jul 2024
@arianvp:matrix.orgArian

@sielicki:matrix.org Im having a hard time finding out what branch contains the Amazon Linux patches in their kernel repo

14:59:31
@arianvp:matrix.orgArianHappy to discuss a bit more ways forward 14:59:42
26 Jul 2024
@woobilicious:matrix.orgwoobilicious Arian: ENA is an external module, you don't need kernel patches. 00:10:31
@woobilicious:matrix.orgwoobilicious

you want something like:

  boot.extraModulePackages = [ config.boot.kernelPackages.ena ];
  boot.kernelModules = [ "ena" ];
00:14:38
@woobilicious:matrix.orgwoobiliciousThere's a reference to the source code in nixpkgs: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/ena/default.nix00:16:09
@joerg:thalheim.ioMic92there are multiple versions of this.05:57:49
@joerg:thalheim.ioMic92appearantly there is also an amazon kernel fork where ena is in-tree05:58:03
@71rd:catgirl.cloud71rd joined the room.11:44:02
@arianvp:matrix.orgArian

Yeh read the above:

There are three flavors:

  1. in-tree
  2. external module
  3. Fork of kernel with the external module in-tree
14:00:57
@arianvp:matrix.orgArianand we’re trying to consolidate this a bit14:01:13
27 Jul 2024
@woobilicious:matrix.orgwoobiliciousAnyone familiar with how nixos ships CPU microcode patches? 07:28:07
@k900:0upti.meK900Just as part of linux-firmware07:28:48
@k900:0upti.meK900Oh wait no07:29:12
@k900:0upti.meK900For Intel it's https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/cpu/intel-microcode.nix07:29:14
@k900:0upti.meK900Huh, for AMD it's doing https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/cpu/amd-microcode.nix07:29:41
@k900:0upti.meK900But it shouldn't need that07:29:45
@k900:0upti.meK900Oh OK07:30:14
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/microcode/amd.nix07:30:15
@k900:0upti.meK900For AMD it's pulling from linux-firmware07:30:19
@k900:0upti.meK900For Intel it's pulling from some Intel repo: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/microcode/intel.nix07:30:34
@woobilicious:matrix.orgwoobiliciousI just heard about the raptor lake "fix" and then noticed my Ryzen system seems to be out of date.07:30:42
@k900:0upti.meK900For AMD it should late load basically always07:30:50
@k900:0upti.meK900As in, even if you don't have any of this stuff07:31:00
@k900:0upti.meK900It'll late load anyway07:31:03
@k900:0upti.meK900Because you should have linux-firmware07:31:09
@k900:0upti.meK900And unlike Intel AMD doesn't mind late-loading ucode07:31:15
@k900:0upti.meK900But also AMD is kinda inconsistent about pushing ucode to linux-firmware07:32:14
@k900:0upti.meK900Sometimes the stuff shipping in board firmware updates is like two months ahead07:32:39

Show newer messages


Back to Room ListRoom Version: 6