How to Pass Through a SATA Controller in XCP-ng/Xen

Do you want your Virtual Machine to have direct, raw access to your SATA hard drives? Sometimes, letting the hypervisor handle disk I/O adds unnecessary overhead. By using PCI passthrough, you can give a VM direct control over the onboard SATA controller. This can improve performance and allow the guest OS to manage the hardware directly. Here is a step-by-step guide on how to do it using XCP-ng. As a little piece of addtional information, the machine used here is a Intel Core Ultra 7 265k with a AsRock Z890M Riptide motherboard. This pass through the onboard SATA controller for direct guest VM control. ...

23/10/2026 · 3 min · El Darv

Use OpenVINO Model Server with docker

If you’ve been trying to get OpenVINO to play nice with llama.cpp, you know the struggle. It can feel like a constant battle against instability and model incompatibility. One day it works; the next, it’s throwing errors that make no sense. But there’s a better way. Instead of trying to bridge two different worlds, why not use the tool designed for the job? Intel’s OpenVINO Model Server (OVMS) is the official, robust way to serve these models. In my testing, OVMS is consistently faster than using SYCL with llama.cpp, and it just… works. ...

19/10/2026 · 4 min · El Darv

The llama.cpp OpenVINO Gentoo Nightmare

I used to think AMD’s ROCm was a nightmare to get working. I was wrong. I managed to get ROCm running in less than a day with minimal effort just by poking around on Google. Like NVIDIA, it is distribution-agnostic, even if it lacks maturity. Then I met Intel’s AI stack. My definition of “nightmare” has been officially updated. It took almost a week to get llama.cpp’s OpenVINO working on Gentoo. The software suffers from a severe case of “Ubuntunitis”—the delusional belief that Ubuntu is the only distribution in existence. This is the hallmark of companies with zero real Linux strategy. They treat Linux like Windows, showing a complete lack of willingness to learn how professional software development for the Linux actually works. ...

18/10/2026 · 6 min · El Darv

A Simple Guide to distcc with IPv6 on Gentoo

After my attempts to make a binhost resulted in a overcomplex mess that myself could not maintain, time for a more simplified approach: just let the hosts use emerge as usual, but delegate the heavy lifting to a more powerful machine. Enter distcc. It might be a bit slower than a perfectly tuned binhost, but it is much easier to set up. In this guide, we will walk through setting up a Gentoo client and server using OpenRC and IPv6. Please, for the love of all saints and martys, learn IPv6, let IPv4 die in peace. ...

17/10/2026 · 3 min · El Darv

Configuring Your Client Servers to Consume Binhost Packages

In the previous guide, we built a dedicated binhost to compile your stuff. Time to setup your servers to consume these packages. In this follow-up guide, we will configure your servers. By pointing their Portage installations to your binhost, these machines will be able to install and update packages in minutes rather than a whole day. Prerequisites & Assumptions Shared Storage: We assume each server has access to a remote folder (via NFS, SMB, or a mounted cloud drive) at a specific mount point we will refer to as <path>. Another layer of complexity by setting in maintaining a side channel for distribution, like rsync thru ssh, is a hassle. Folder Structure: On that path, the binhost has populated <path>/<host>/binpkgs with compiled packages from the last guide and <path>/gentoo with the Portage repository tree. No Local Syncs: Because the repository is shared, these client machines are no longer supposed to run emerge --sync. They will always read the repository state managed by the binhost. The Public Key: Ensure the binhost-public.asc file (generated in Part 1) has been copied to your client server’s current working directory. All that needs to be done only once. ...

07/08/2026 · 4 min · El Darv

Build an Gentoo Binhost or How-to Keep a Fleet of Underpowered Servers Made out of Scraps Running Gentoo

Maintaining a fleet of Gentoo systems, or struggling to compile packages on an underpowered server, can be an incredibly tedious process. Waiting hours for a single package to compile can quickly add up, and eventually you may try to burn down your home lab. Unless you rich, your home servers are likely stuff of 10 years ago made of mismatch stuff lying around. A partial solution is simple do not touching the portage flags at all and use the Gentoo provided binhost. But this presents two issues: not everything available on portage exist as binary package at their binhost mirrors, and the second is that you give away customization of the packages that you do use. ...

06/08/2026 · 8 min · El Darv

Making the Galaxy Tab S11 Linux Terminal Useful

One of the most hidden features, and perhaps the most useful one for turning your tablet into a proper tool for serious work — at least if you work in IT — is the Linux Terminal in Android 16. Still in beta, this terminal invokes a Debian virtual machine making use of the Android Virtualization Framework. The great advantage compared to Termux is that we are talking about a full Linux distribution, aarch64, running inside a virtual machine. Termux, on the other hand, is a Unix environment similar enough to Linux to run applications on top of Android with Bionic libc, not unlike what Cygwin does on Windows. Therefore, Termux will always have many compatibility issues, and far fewer packages than a real Linux distribution running on top of GNU libc and a standard Linux kernel. ...

26/03/2026 · 7 min · El Darv

Configuring blocklistd for ssh on NetBSD 10.0

If you arrived here, it’s because you are tired of script kiddies attempting to brute force your server with sshd and polluting its logs. The good news is that NetBSD has preinstalled a solution to deal with such situations that is more convenient than the famous fail2ban: the blocklistd. The blocklistd is a deamon that has only one life purpose: monitor the number of failed connection attempt with some system service. After a defined threshold of failures, it will block the connection for a predefined time, for example, 6 hours. ...

28/06/2024 · 3 min · El Darv

Creating a Let's Encrypt certificate on NetBSD

Supposing you want to host a static pages site or your blog generated with Hugo on bozotic, but need a certificate for HTTPS, given that HTTP is almost dead and buried, here a tutorial on how to do it on NetBSD. First, install acmesh with pkgin: pkgin install acmesh After that, the command acme.sh will be available. Do all of the following as root (su root). Subscribe to Let’s Encrypt using the client, only a email is necessary: ...

28/06/2024 · 3 min · El Darv

Uncompress cpio.zst initramfs

Who deals with embedded Linux already had the situation where there’s the need to inspect the contents of a system that executes from RAM. Usually, it exists only compressed as a single file at a boot folder, or is thrown around at an EFI partition or /boot formatted using FAS16/32, like on a RaspberryPi. The command for that is simple, with the initramfs on this example being called rootfs.cpio.zst: zstdcat rootfs.cpio.zst | cpio -idmv That’s it. Since it isn’t really a file system, there’s no need to mount it. It will expand all their root tree contents inside the folder that you called the command, ready to be inspected.

19/10/2022 · 1 min · El Darv