Skip to content
    • About
    • Contact

/root

  • packets per interrupt as sysctl tunable for Realtek drivers in FreeBSD

    March 28th, 2026

    https://cgit.freebsd.org/src/commit/?id=930a790c2abb3680a3449a1f9ce2eff2be7acc36

  • Containers in FreeBSD

    March 24th, 2026
  • March 23rd, 2026
  • py-fsrs ported to FreeBSD

    March 22nd, 2026

    https://cgit.freebsd.org/ports/commit/?id=10affd73b35ea9a2fbb2f71a9afe77412dabc47b

  • TrueNAS build system drama

    March 22nd, 2026
  • OpenZFS vendor import (commit 80aae8a3) featuring my zarcsummary, zilstat, resolver.5, zpool-iostat, and src.conf.5 fixes

    March 20th, 2026

    https://cgit.freebsd.org/src/commit/?id=80aae8a3f8aa70712930664572be9e6885dc0be7

  • Immich v2.6.0

    March 19th, 2026

    Highlights

    • Map side panel (web)
    • Pick album cover (mobile)
    • Shared link slugs (mobile)
    • Shared link presets (web)
    • Native HTTP clients (mobile)
    • Video player and asset viewer improvements (mobile)
    • Improved search results (mobile)
    • schema-check: a new immich-admin command
    • Read profile claims from ID token (OAuth)
    • Notable fix: cast videos now automatically loop
    • Notable fix: correctly extract make and model from Sony XAVC video files
    • Notable fix: escape key handling on web
    • Notable fix: healthcheck endpoint in maintenance mode
    • Notable fix: timeline rendering for RTL languages like Arabic and Hebrew
    • Notable fix: prevent server crash when extracting invalid metadata

    Map side panel (web)

    Pick album cover (mobile)

    Shared link slugs (mobile)

    The asset viewer now uses a gradient for actions, and video controls have been restyled

    https://github.com/immich-app/immich/discussions/27047

  • Tailscale v1.96.2

    March 19th, 2026

    Note: 1.96.0 and 1.96.1 were release candidates intended for testing only.

    All Platforms
    • tailscale dns query|status command supports --json flag to return JSON output.
    • tailscale wait [flags] command waits for Tailscale resources to become available for binding.
    • tailscale ip command supports --assert=<specific-ip-address> flag to assert that one or more of the node’s IP addresses matches the specified IP address.
    • tailscale version --track and tailscale update --track support release-candidate flag to check for and update to release candidate builds.
    • Tailscale Peer Relays advertise addresses discovered via Amazon EC2 Instance Metadata Service.
    • tailscaled_peer_relay_endpoints gauge user metrics are available for Tailscale Peer Relays.
    • The AuthKey system policy applies only when a user is not in a logged in state.
    • UPnP routes as expected during long lived port mapping sessions scenarios, including hard NAT.
    Linux
    • Launch the systray application on startup using autostart file with the tailscale configure systray --enable-startup=freedesktop command.
    • Scaling of Tailscale Peer Relays UDP sockets is gated by container-aware GOMAXPROCS defaults.
    • Firewall rules created on Linux platforms correctly mark their traffic, avoiding reverse path filtering dropping connections and producing health warnings and risk prompts.
    • OpenWrt versions 25.12.0 or later using apk as a package manager supports Tailscale updates.
    macOS
    • Windowed UI mode for macOS is generally available.
    • Double click an account in the Accounts section to switch to that account.
    • A progress dialog indicates Tailscale is waiting on the browser to complete reauthentication.
    • The open source variant of Tailscale on macOS sets the node:osVersion attribute.
    • The Taildrop Send File action and shortcut do not transmit empty files on macOS Tahoe (version 26) or later.
    • Tailscale data directories for the macOS standalone version are excluded from Time Machine backups.
    • An issue that required a machine reboot after installing a Tailscale update is resolved.
    iOS
    • iOS bug report ID displays in its entirety instead of being truncated.
    • The Taildrop Send File action and shortcut do not transmit empty files on iOS version 26 or later.

    https://tailscale.com/changelog

  • freebsdcontribs package landed on CRAN

    March 16th, 2026

    “Over 30 years of ‘FreeBSD’ commit activity and contributor growth. Includes daily commit counts and new committer data extracted from the cloned git repository (1993-2026), plus ‘Phabricator’ signup statistics (2013-2026). Contains no personal data – only aggregated counts. Useful for time series analysis, growth modeling, and studying open source community dynamics.”

    https://cran.r-project.org/web/packages/freebsdcontribs/index.html

  • Freebsd QEMU comconsole

    March 15th, 2026

    If you run a FreeBSD VM under QEMU with -nographic and the terminal goes silent right after the kernel modules load — no login prompt, no panic, just nothing — the VM hasn’t frozen. It booted successfully. The issue is that kernel output is going somewhere you can’t see.

    This post explains why that happens and how to fix it properly.


    The Root Cause

    FreeBSD supports two console backends: vidconsole (virtual VGA framebuffer) and comconsole (serial port, ttyu0). Official VM disk images from download.freebsd.org default to vidconsole — a reasonable choice for hypervisors that expose a graphical display.

    QEMU’s -nographic mode suppresses the display window and maps your terminal to the VM’s serial port instead. The problem is the FreeBSD kernel is unaware of this. It continues writing to vidconsole, which effectively goes nowhere in a -nographic session.

    The bootloader, however, outputs to both VGA and serial simultaneously. That’s why you see the FreeBSD logo, the boot menu, and the kernel module lines — all of that is bootloader output. The moment the kernel takes control, it drops to vidconsole only, and your terminal goes quiet.

    The handoff point is visible in the output:

    /boot/kernel/zfs.ko size 0x788828 at 0x2795000
    /etc/hostid size=0x25
    /boot/entropy size=0x1000

    Everything after that last line is the kernel running — login prompt included — just on a VGA console you can’t access from a -nographic session.


    Temporary Fix: Redirect at the Bootloader Prompt

    To get through without modifying the image, interrupt autoboot when you see the countdown. Press Space to pause it, then at the loader prompt:

    set console="comconsole"
    boot

    This tells the kernel to route console I/O through the serial port for this boot only. You’ll see full kernel output and get a working login prompt.


    Permanent Fix: /boot/loader.conf

    Once inside the VM, make the change persistent:

    echo 'console="comconsole"' >> /boot/loader.conf

    From the next boot onward, the kernel will direct all console output to ttyu0 automatically. No more intercepting the bootloader, no more silent boots. This is the right fix if you’re using this image regularly for development or testing.


    Alternative: Skip the Console Entirely, Use SSH

    If you don’t need to observe the boot sequence at all, daemonize the VM and access it over SSH:

    qemu-system-x86_64 \
        -enable-kvm \
        -m 4G \
        -smp 4 \
        -hda ~/vms/FreeBSD-16.0-CURRENT-amd64-zfs.qcow2 \
        -display none \
        -daemonize \
        -nic user,hostfwd=tcp::2222-:22

    Give it roughly 30 seconds to reach multi-user mode, then:

    ssh -p 2222 root@localhost

    When you’re done:

    kill $(pgrep qemu-system)

    This approach sidesteps the console issue entirely and works well for quick test sessions where sshd is already enabled in the image.


    Why It’s Easy to Misdiagnose

    The bootloader’s dual-output behavior is what makes this particularly deceptive. Because you do get output right up to the kernel handoff, it’s natural to assume something went wrong during kernel initialization — a ZFS import failure, a module panic, something with entropy. In practice, none of that. The system is fully operational, just talking to a VGA display you have no visibility into.

    Kernels built with BOOT_COMCONSOLE in their config, or images specifically targeting headless/serial environments, won’t exhibit this. The stock VM images are built for general-purpose use, so VGA is the sensible default — it just doesn’t play well with -nographic out of the box.


    Summary

    GoalSolution
    Fix for one bootPress Space → set console="comconsole" → boot
    Fix permanentlyecho 'console="comconsole"' >> /boot/loader.conf
    Skip console, SSH only-display none -daemonize + SSH after ~30s

    Adding console="comconsole" to /boot/loader.conf is the one-time fix that makes FreeBSD under QEMU behave predictably for all subsequent work. After that, -nographic sessions give you full console output from boot to login with no intervention required.

  • FreeBSD’s Graphical Installer: Coming in 15.1

    March 15th, 2026

    The push for a modern graphical installer in FreeBSD has been ongoing for a while. With FreeBSD 15.0 released in December 2025, many expected it to ship with a graphical installation option — but it didn’t make the cut. The good news: it’s coming in FreeBSD 15.1.

    What Happened with 15.0

    FreeBSD 15.0 shipped with the traditional bsdinstall text-based installer. While functional, it’s showing its age — the text-based dialogs work fine for experienced admins, but they’re a barrier for adoption compared to what Linux distros offer.

    What’s Coming in 15.1

    According to the FreeBSD Q4 2025 status report and the Foundation’s laptop project updates, FreeBSD 15.1 will include:

    • KDE Plasma desktop as an installable option during installation
    • Testing with Intel, AMD, and NVIDIA GPUs (including a NVIDIA GPU selection menu)
    • Generic VESA driver support as a fallback
    • Refactored installer code to support the graphical workflow

    The Bigger Picture

    This is part of the FreeBSD Foundation’s broader laptop usability initiative, which has received over $750,000 in funding throughout 2025 and continues into 2026. The project covers Wi-Fi, graphics drivers, audio, power management, and installation experience.

    FreeBSD has always been technically excellent but lagged behind Linux in user-friendliness. A graphical installer with KDE won’t change the OS itself, but it removes one of the biggest friction points for new users. Combined with improvements like PkgBase, s2idle sleep support, and the new SPMC power management driver, FreeBSD is becoming more approachable without sacrificing what makes it great.

    For those of us who’ve been installing FreeBSD since the sysinstall days, it’s exciting to see the project evolve while keeping its identity. The FreeBSD 15.1 release schedule is worth keeping an eye on.

  • Adding missing Realtek devices from the rge(4) manual page

    March 14th, 2026

    https://cgit.freebsd.org/src/commit/?id=e6f4e4ab8a51f5bec178f5d937e541e227efb561

  • Contributing to OpenZFS: Documenting zilstat and Cleaning Up zpool clear

    March 14th, 2026

    A couple of weeks ago I opened two more pull requests to the OpenZFS project — PR #18303 and PR #18300. One adds a man page for a long-undocumented tool; the other removes stale flags from a core command that should never have been there in the first place.

    Background

    My earlier OpenZFS contributions were on the C side: error handling improvements for zpool create (PRs #18184, #18213, and #18268 — ENXIO handling, device-specific error reporting, and an EDOM error handler). These new PRs continue in the same spirit of cleaning up rough edges, though from different angles.

    PR #18303 — Documenting zilstat

    zilstat has existed in OpenZFS for some time, but it was effectively undocumented — no man page, nothing in the official documentation. The tool gives you per-pool ZIL (ZFS Intent Log) statistics: commit counts, write sizes broken down by type, and itx classifications across indirect, copied, and needcopy writes.

    If you are trying to understand whether a SLOG device is actually doing useful work, or why synchronous write latency is higher than expected, zilstat is exactly the right tool. The lack of a man page meant most users did not know it existed, and those who found it had to reverse-engineer its output from the source.

    PR #18303 adds a proper man page covering the synopsis, description, output fields, and usage examples — so the tool is now actually discoverable and usable by anyone consulting the documentation.

    PR #18300 — Removing stale rewind flags from zpool clear

    This one is a code change, and a satisfying one. zpool clear had been quietly accepting three flags — -F, -n, and -X — that it had no business accepting. These are rewind flags inherited from OpenSolaris, where they make sense in the context of zpool import: when importing a pool that is not yet loaded, you can select a specific transaction group to rewind to.

    But zpool clear is a completely different situation. It operates on an already-imported pool whose in-memory state is ahead of what is on disk. Rewinding transactions there would require force-exporting the pool first — it simply cannot work. The flags were vestigial, undocumented, and misleading to anyone who stumbled across them in the usage string.

    PR #18300 removes -F, -n, and -X from zpool clear entirely. The rewind policy passed to zpool_clear() is now always ZPOOL_NO_REWIND. The usage string is cleaned up to match. This closes issue #13825, which had been open since 2022. The commit was reviewed by Alexander Motin (TrueNAS) and Brian Behlendorf (LLNL), and tested on FreeBSD 16.0-CURRENT.

    On cleaning things up

    Both of these PRs are about the same underlying problem: a gap between what the codebase does and what users can reliably know or rely on. An undocumented tool and a command silently accepting flags that do nothing are both forms of technical debt that erode trust in the tooling over time. Removing the wrong thing is just as valuable as adding the right thing.

    I will keep working through the OpenZFS codebase where I find similar rough edges. If you have spotted something undocumented or suspect a flag that does not do what it claims, opening an issue — or better yet, a PR — is the way to move it forward.

  • How I almost lost all of my data!

    March 13th, 2026

    This is a cautionary tale about how I nearly lost everything on my external SSD because of a moment of carelessness.

    What Happened

    I wanted to create a bootable USB with Ventoy to run a Linux or FreeBSD ISO. Simple enough — I’ve done it a hundred times. The problem was that I also had my external SSD connected at the same time.

    I somehow selected the wrong disk. Instead of formatting the USB stick, I formatted my external SSD. Just like that — all my data was gone.

    That sinking feeling when you realize what you’ve done is something I wouldn’t wish on anyone.

    Recovery with PhotoRec

    Thankfully, I was able to recover most of my data using PhotoRec, a free and open-source data recovery tool (currently at version 7.2, with 7.3 in beta as of January 2026). PhotoRec ignores the filesystem and goes after the underlying data, so it works even after formatting. It can recover over 480 file formats.

    Install it (it comes with TestDisk):

    # Arch Linux
    sudo pacman -S testdisk
    
    # FreeBSD
    pkg install testdisk

    Run it:

    sudo photorec /dev/sdX

    PhotoRec will scan the disk and recover files into a directory of your choice. It recovered most of my files, though filenames and directory structure were lost — everything gets sorted by file type.

    Lessons Learned

    1. Always double-check the target disk. Run lsblk before any destructive operation. Verify the disk size and partitions match what you expect. Ventoy (currently at v1.1.10) shows disk names and sizes — take the extra second to verify.
    2. Disconnect drives you don’t need. If you’re formatting a USB, unplug your external drives first. It takes 5 seconds and can save you hours of recovery.
    3. Follow the 3-2-1 backup rule: 3 copies, 2 different media, 1 offsite. If I had a proper backup, the accidental format would have been a minor inconvenience instead of a disaster.
    4. ZFS snapshots are your friend. On my TrueNAS server, I now run automatic snapshots. Even if something goes wrong, I can roll back instantly.
    5. Keep PhotoRec/TestDisk installed. You never know when you’ll need it. Better to have it ready than to scramble in a panic.

    Don’t be like me. Disconnect your drives, check twice, and back up your data. Your future self will thank you.

  • TrueNAS in VirtualBox

    March 11th, 2026

    Running TrueNAS in VirtualBox is a great way to test configurations, experiment with ZFS pools, or learn the TrueNAS UI before deploying on real hardware. As of February 2026, the latest stable version is TrueNAS 25.10.2.1 (Goldeye), with TrueNAS 26 beta planned for April 2026.

    VM Settings

    • Type: BSD, FreeBSD (64-bit)
    • RAM: 8 GB minimum (ZFS needs memory)
    • CPU: 2+ cores
    • Disk 1: 16 GB (boot drive)
    • Disk 2-4: Create additional virtual disks for your ZFS pool (e.g., 3x 20 GB for a RAIDZ1)
    • Network: Bridged adapter (so TrueNAS gets its own IP on your LAN)

    Important VirtualBox Settings

    Under System > Processor, make sure to enable PAE/NX. Under System > Acceleration, enable VT-x/AMD-V and Nested Paging.

    For the disk controller, use AHCI (not IDE) for better performance and compatibility.

    Note: If you’re on an AMD system and get a VERR_SVM_IN_USE error, you may need to unload the KVM modules first — see my post on VirtualBox AMD-V fix.

    Installation

    1. Download the TrueNAS 25.10 ISO from truenas.com
    2. Mount the ISO in VirtualBox’s optical drive
    3. Boot the VM and follow the installer
    4. Install to the 16 GB boot disk
    5. Remove the ISO and reboot

    After Installation

    Once TrueNAS boots, it will display the web UI address on the console. Open it in your browser and create your ZFS pool using the additional virtual disks.

    This setup is perfect for testing pool configurations, snapshots, replication, and apps before committing to production hardware.

←Previous Page
1 2 3 4 … 139
Next Page→

Blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
 

Loading Comments...
 

    • Subscribe Subscribed
      • /root
      • Already have a WordPress.com account? Log in now.
      • /root
      • Subscribe Subscribed
      • Sign up
      • Log in
      • Report this content
      • View site in Reader
      • Manage subscriptions
      • Collapse this bar