Posts
4092
Following
277
Followers
424
Software Engineer at Opinsys Oy (starting 03/2025)
Entrepreneur at Siltakatu Solutions Oy

OpenPGP: 3AB05486C7752FE1
@Aissen ok. Thanks for mentining 🙂
1
0
0
@orva finally, I trust in Fedora Project making the right picks as I’m a desktop conservative 🙂
0
0
0
@orva Meaning that I can agree on objective arguments but Drew has no authority per se other than that in my world.
2
0
0
@orva I will read this with the mindset that I forget that it is from Drew. I.e. don’t let the person distract my objectivity. Still disagree with his campaign banning Jack Dorsey from FOSDEM.
1
0
0
@Conan_Kudo The only change to default install is that I prefer a Terminal emulator called foot over GNOME Terminal/Console. I liked urxvt and it feels like Wayland urxvt (sort of).

https://codeberg.org/dnkl/foot
0
0
0
@Conan_Kudo I don't know much about Hyprland. Actually, I just heard about it :-)

I'm a conservative desktop user and stick to the default install. If it ain't broken, don't fix it kind of attitude :-)
1
0
0

Jarkko Sakkinen

So...

Is Fedora going to move on to Hyprland any day?

#fedora #wayland #hyprland
2
0
0
Fun historical fact.

NixOS wiki uses my deprecated in-progress SGX driver as an example. Kudos to NixOS community for that :-) Just spotted this yesterday.

https://nixos.wiki/wiki/Linux_kernel
0
0
1
@Conan_Kudo

Also: I feel that my "golden rule" number four covers a lot of malicious use. If you strip and expose yourself always, then such hybrid weaponry is rendered out :-)
0
0
0
This does not compete really in my world with Fedora on my desktop nor BuildRoot for my basic kernel QA.

Where I would seriously consider NixOS would be situations where the other option would be Yocto, i.e. very productized embedded software. Yocto is quite complex and has a steep learning curve too...
1
0
0
That said for video-loop.ko I rely on BuildRoot as my QA for that driver is wired already :-) I'll refine this example to compile Rust-enabled Linux kernel later on. I just needed a random payload.
1
0
0

Jarkko Sakkinen

Edited 2 days ago

This is how you build a test kernel with NixOS shenanigans:

podman pull nixos/nix   
podman run -it --rm -v "$(pwd):/kekkonen:Z" nixos/nix bash
cd kekkonen
nix-build '<nixpkgs/nixos>' -A config.system.build.qcow2 -I nixos-config=./configuration.nix

I’m planning to use this for Rust Linux instead of tweaking my BuildRoot environment at least at first.

Here’s an example on how to enable a custom kernel, albeit not yet with anything Rust. I just tested it with my in progress driver:

   boot.kernelPackages = let
    linux_tpmdd_pkg = { fetchgit, buildLinux, ... } @ args:

    buildLinux (args // rec {
      extraConfig = ''
        64BIT y
        ACPI y
        CRYPTO y
        IKHEADERS y
        LOCKDEP y
        MEMORY_FAILURE y
        MODULES n
        PROVE_LOCKING y
        RETPOLINE y
        TCG_TPM y
        TCG_TIS y
        TCG_CRB y
      '';
      ignoreConfigErrors = true;
      kernelPatches = [];
      src = pkgs.fetchgit {
        url = "https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git";
        rev = "master";
        sha256 = lib.fakeSha256;
      };
      version = "5.10";
    } // (args.argsOverride or {}));
    linux_tpmdd = pkgs.callPackage linux_tpmdd_pkg{};
  in
    pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor linux_tpmdd); 

EDIT: That did not play out so well but I then I looked at my old gists and recalled how this should be actually done: https://gist.github.com/jarkkojs/86bda141204e792122ef0c94b8b083b1. Has been three years since I bootstrapped a kernel tree in NixOS.

#linux #kernel #nix #nixos

1
2
6
@Conan_Kudo There's even term I've coined for what you're describing: "toxic positivity" :-) Totally get where you are coming from with that one trust me.
1
0
0
@Conan_Kudo take that with a grain of salt, you can also check my responses :-) agree on that tho... Just plain asking the basics.

https://lore.kernel.org/rust-for-linux/CANiq72m-R0tOakf=j7BZ78jDHdy=9-fvZbAT8j91Je2Bxy0sFg@mail.gmail.com/
1
0
0
@Conan_Kudo Yeah, being polite is the most irritating counter-measure ;-)
1
0
0
When responding to LKML:

1. Be honest.
2. Address your concerns.
3. Ask for help where you need it.
4. Admit your possible misconceptions (getting things wrong is not a mistake).
1
0
1

Jarkko Sakkinen

Edited 3 days ago
Great I posted some messages to rust-for-linux, asked the questions I had how test, got some great answers and nobody nuked me!

I even said that by the process I would personally NAK this based on being unable to test the patches and and discussion did not heat up :-)

All I can say that I had a positive experience.

#linux #kernel #dma #rust #rustlang
1
6
5
Show older