Page MenuHomeFreeBSD

markmi_dsl-only.net (Mark Millard)
User

Projects

User does not belong to any projects.

User Details

User Since
Nov 19 2016, 6:23 AM (516 w, 2 d)

Recent Activity

Thu, Oct 1

markmi_dsl-only.net added a comment to D58212: bsd.cpu.mk: Add a workaround for erratum 843419.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299004 looks to be a report of this change leading to passing the clang-specific command line option to gcc/binutils's ld ( /usr/local/bin/ld ), breaking more official port/package builds.

Thu, Oct 1, 3:37 AM

Sat, Sep 19

markmi_dsl-only.net added a comment to D59828: nvme: support per-request timeouts.

I tested this (with D59827) in a personal kernel build to format a DC P4800 Optane ("INTEL SSDPE21K015TA E2010650") to be 4096 based (no meta data) with "sysctl dev.nvme.0.format_timeout_period=1800" (so: 30 min) and it finished fine in a little under 23 minutes, waiting as it should.

Sat, Sep 19, 5:42 PM · drivers
markmi_dsl-only.net added a comment to D59830: loader.efi: Be cautious about using GOPs.

Seems odd to me that this loader.efi / GOP related change is in the middle of a stack of nmve related updates: it looks completely independent. Did the wrong change show up in the stack?

Sat, Sep 19, 2:24 PM

Sep 12 2026

markmi_dsl-only.net added a comment to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.

I'm going to note one possibly unintended consequence of earlier test activities. It happened on the amd64 system used in testing.

Sep 12 2026, 3:09 AM

Sep 5 2026

markmi_dsl-only.net added a comment to D58197: sysutils/rpi-firmware: Update to 1.20260521.

1.20260521 did not actually fix the aarch64 RPi4B "green LED 7 short flashes (Kernel image not found)" issue that happens when GPT is involved on microsd cards used in the built-in slot, GPT used as in the test image that I was given for use in my testing.

Sep 5 2026, 8:29 PM

Sep 2 2026

markmi_dsl-only.net added a comment to D58197: sysutils/rpi-firmware: Update to 1.20260521.

. . .

To put is simple:

# gpart show
=>      40  31116208  sdda0  GPT  (15G)
        40      8152         - free -  (4.0M)
      8192   1024000      1  ms-basic-data  (500M)
   1032192    532480      2  efi  (260M)
   1564672  29551576      3  freebsd-zfs  (14G)

# sysctl hw.fdt
hw.fdt.serial-number: 100000009df81ae6
hw.fdt.compatible: raspberrypi,4-model-b brcm,bcm2711
hw.fdt.model: Raspberry Pi 4 Model B Rev 1.4

Without the update in this revision, this was not possible.

Much older RPI* files (and, likely, u-boot and such) used with an official pkgbase distribution of main from a while back:

# sysctl hw.fdt
hw.fdt.serial-number: 10000000c740af3c
hw.fdt.compatible: raspberrypi,4-model-b brcm,bcm2711
hw.fdt.model: Raspberry Pi 4 Model B Rev 1.5
# uname -apKU
FreeBSD aarch64-main-PkgBase 16.0-CURRENT FreeBSD 16.0-CURRENT main-n287813-a77257d60058 GENERIC-NODEBUG arm64 aarch64 1600019 1600019
aarch64-main-PkgBase aarch64  1600019 1600019 # ls -lodTt /boot/efi/*
drwxr-xr-x  1 root wheel -        8192 Oct 24 12:48:26 2025 /boot/efi/dtb
-rwxr-xr-x  1 root wheel uarch       0 Feb 20 02:29:58 2024 /boot/efi/timeout
-rwxr-xr-x  1 root wheel uarch  623400 Jan 24 09:59:48 2024 /boot/efi/u-boot.bin
drwxr-xr-x  1 root wheel -        8192 Jan 11 09:39:34 2024 /boot/efi/overlays
drwxr-xr-x  1 root wheel -        8192 Jan 11 09:39:22 2024 /boot/efi/EFI
-rwxr-xr-x  1 root wheel uarch    5888 Jan 11 05:43:38 2024 /boot/efi/armstub8-gic.bin
-rwxr-xr-x  1 root wheel uarch    5888 Jan 11 05:43:38 2024 /boot/efi/armstub8.bin
-rwxr-xr-x  1 root wheel uarch     240 Jan 11 05:34:58 2024 /boot/efi/README
-rwxr-xr-x  1 root wheel uarch    1480 Jan  4 11:50:04 2024 /boot/efi/config.txt
-rwxr-xr-x  1 root wheel uarch    1594 Apr  5 11:32:16 2023 /boot/efi/LICENCE.broadcom
-rwxr-xr-x  1 root wheel uarch   30390 Apr  5 11:32:16 2023 /boot/efi/bcm2710-rpi-2-b.dtb
-rwxr-xr-x  1 root wheel uarch   32753 Apr  5 11:32:16 2023 /boot/efi/bcm2710-rpi-3-b-plus.dtb
-rwxr-xr-x  1 root wheel uarch   32142 Apr  5 11:32:16 2023 /boot/efi/bcm2710-rpi-3-b.dtb
-rwxr-xr-x  1 root wheel uarch   30285 Apr  5 11:32:16 2023 /boot/efi/bcm2710-rpi-cm3.dtb
-rwxr-xr-x  1 root wheel uarch   52593 Apr  5 11:32:16 2023 /boot/efi/bcm2711-rpi-4-b.dtb
-rwxr-xr-x  1 root wheel uarch   52476 Apr  5 11:32:16 2023 /boot/efi/bootcode.bin
-rwxr-xr-x  1 root wheel uarch    7266 Apr  5 11:32:16 2023 /boot/efi/fixup.dat
-rwxr-xr-x  1 root wheel uarch    5399 Apr  5 11:32:16 2023 /boot/efi/fixup4.dat
-rwxr-xr-x  1 root wheel uarch    3173 Apr  5 11:32:16 2023 /boot/efi/fixup4cd.dat
-rwxr-xr-x  1 root wheel uarch    8381 Apr  5 11:32:16 2023 /boot/efi/fixup4db.dat
-rwxr-xr-x  1 root wheel uarch    8387 Apr  5 11:32:16 2023 /boot/efi/fixup4x.dat
-rwxr-xr-x  1 root wheel uarch    3173 Apr  5 11:32:16 2023 /boot/efi/fixup_cd.dat
-rwxr-xr-x  1 root wheel uarch   10230 Apr  5 11:32:16 2023 /boot/efi/fixup_db.dat
-rwxr-xr-x  1 root wheel uarch   10228 Apr  5 11:32:16 2023 /boot/efi/fixup_x.dat
-rwxr-xr-x  1 root wheel uarch 2975680 Apr  5 11:32:16 2023 /boot/efi/start.elf
-rwxr-xr-x  1 root wheel uarch 2251392 Apr  5 11:32:16 2023 /boot/efi/start4.elf
-rwxr-xr-x  1 root wheel uarch  805756 Apr  5 11:32:16 2023 /boot/efi/start4cd.elf
-rwxr-xr-x  1 root wheel uarch 3747688 Apr  5 11:32:16 2023 /boot/efi/start4db.elf
-rwxr-xr-x  1 root wheel uarch 2998888 Apr  5 11:32:16 2023 /boot/efi/start4x.elf
-rwxr-xr-x  1 root wheel uarch  805756 Apr  5 11:32:16 2023 /boot/efi/start_cd.elf
-rwxr-xr-x  1 root wheel uarch 4819624 Apr  5 11:32:16 2023 /boot/efi/start_db.elf
-rwxr-xr-x  1 root wheel uarch 3722504 Apr  5 11:32:16 2023 /boot/efi/start_x.elf
-rwxr-xr-x  1 root wheel uarch      88 Dec 31 23:00:00 1979 /boot/efi/ubootefi.var
# gpart show 
=>        34  1875384941  da0  GPT  (894G)
          34       32734       - free -  (16M)
       32768      501760    1  efi  (245M)
      534528    20971520    2  freebsd-swap  (10G)
    21506048    29360128    3  freebsd-swap  (14G)
    50866176    33554432    4  freebsd-swap  (16G)
    84420608    67108864    5  freebsd-swap  (32G)
   151529472    96468992    6  freebsd-swap  (46G)
   247998464   268435456    7  freebsd-swap  (128G)
   516433920     7340032    8  freebsd-swap  (3.5G)
   523773952    13631488   10  freebsd-swap  (6.5G)
   537405440  1337979528    9  freebsd-ufs  (638G)
  1875384968           7       - free -  (3.5K)
# gpart show -p
=>        34  1875384941     da0  GPT  (894G)
          34       32734          - free -  (16M)
       32768      501760   da0p1  efi  (245M)
      534528    20971520   da0p2  freebsd-swap  (10G)
    21506048    29360128   da0p3  freebsd-swap  (14G)
    50866176    33554432   da0p4  freebsd-swap  (16G)
    84420608    67108864   da0p5  freebsd-swap  (32G)
   151529472    96468992   da0p6  freebsd-swap  (46G)
   247998464   268435456   da0p7  freebsd-swap  (128G)
   516433920     7340032   da0p8  freebsd-swap  (3.5G)
   523773952    13631488  da0p10  freebsd-swap  (6.5G)
   537405440  1337979528   da0p9  freebsd-ufs  (638G)
  1875384968           7          - free -  (3.5K)
# gpart show -pl
=>        34  1875384941     da0  GPT  (894G)
          34       32734          - free -  (16M)
       32768      501760   da0p1  PkgBaseEFI  (245M)
      534528    20971520   da0p2  PkgBaseSwp10  (10G)
    21506048    29360128   da0p3  PkgBaseSwp14  (14G)
    50866176    33554432   da0p4  PkgBaseSwp16  (16G)
    84420608    67108864   da0p5  PkgBaseSwp32  (32G)
   151529472    96468992   da0p6  PkgBaseSwp46  (46G)
   247998464   268435456   da0p7  PkgBaseSwp128  (128G)
   516433920     7340032   da0p8  PkgBaseSwp3p5  (3.5G)
   523773952    13631488  da0p10  PkgBaseSwp6p5  (6.5G)
   537405440  1337979528   da0p9  PkgBaseUFS  (638G)
  1875384968           7          - free -  (3.5K)

Note: There are lots of files not used/needed by the RPi4 because this same media boots other systems: not minimal. (I did not show subdirectory contents above: shorter.) My config.txt is customized. My use of timeout is because I have some media that need the extra time and all the RPI* capable boot media have the file.

Sep 2 2026, 11:04 PM
markmi_dsl-only.net added a comment to D58197: sysutils/rpi-firmware: Update to 1.20260521.

. . .

Thanks for taking a closer look at this. To clarify, are you suggesting a revert, or is this primarily a request to make the commit message more explicitly descriptive of what was tested?

Sep 2 2026, 8:49 PM
markmi_dsl-only.net added a comment to D58197: sysutils/rpi-firmware: Update to 1.20260521.

The RPi4 variants and RPi5 variants have the firmware in the EEPROM, not on external media. (*.dtb are still on external media.)

Sep 2 2026, 6:00 PM

Aug 29 2026

markmi_dsl-only.net added inline comments to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.
Aug 29 2026, 12:07 AM

Aug 24 2026

markmi_dsl-only.net added a comment to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.

I'll note that efi_bootloader_update.sh could be considered to be of direct use for folks using pkgbase: pkgbase does not deal with updating the FreeBSD loaders in the ESP.

Aug 24 2026, 7:05 PM
markmi_dsl-only.net added inline comments to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.
Aug 24 2026, 1:51 AM

Aug 21 2026

markmi_dsl-only.net added inline comments to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.
Aug 21 2026, 7:26 PM
markmi_dsl-only.net added inline comments to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.
Aug 21 2026, 3:42 PM
markmi_dsl-only.net added a comment to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.

Something on a related github page: "MBR (non-GPT) disks Not supported (BIOS-only, legacy)"

Aug 21 2026, 2:08 AM

Aug 20 2026

markmi_dsl-only.net added inline comments to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.
Aug 20 2026, 1:25 AM

Aug 19 2026

markmi_dsl-only.net added a comment to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.

Note: my examples show things that are possible for installations based on examples I have (or had). They may be all "no plan/reason to support for freebsd-update for EFI updating". If true, I'm fine with that. At least such likely would end up being explicitly indicated now.

Aug 19 2026, 11:38 PM
markmi_dsl-only.net added inline comments to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.
Aug 19 2026, 11:08 PM
markmi_dsl-only.net added inline comments to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.
Aug 19 2026, 9:30 PM
markmi_dsl-only.net added inline comments to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.
Aug 19 2026, 9:08 PM
markmi_dsl-only.net added inline comments to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.
Aug 19 2026, 8:47 PM
markmi_dsl-only.net added a comment to D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install.

Is it deliberate that there is coverage of armv7 and its bootarm.efi ?

Aug 19 2026, 8:42 PM

Aug 18 2026

markmi_dsl-only.net added a comment to D58212: bsd.cpu.mk: Add a workaround for erratum 843419.

As I understand it, 14.5-RELEASE is based on llvm21 and, so, will likely have the aarch64 erratum 843419 problem as stands.

Aug 18 2026, 11:39 PM

Aug 16 2026

markmi_dsl-only.net added a comment to D58782: linux: implement pkey_alloc, pkey_free and pkey_mprotect.

Jenkins shows aarch64 build failures since: https://ci.freebsd.org/job/FreeBSD-main-aarch64-build/35832/ :

sys/compat/linux/linux_emul.h:58:49: error: declaration of
 'struct image_args' will not be visible outside of this function [-Werror,-Wvisibility]
   58 | int     linux_common_execve(struct thread *, struct image_args*);
      |                                                     ^
1 error generated.
Aug 16 2026, 8:36 PM · linuxkpi

Aug 4 2026

markmi_dsl-only.net added inline comments to D58495: mandoc: Const correctness for C23.
Aug 4 2026, 4:19 AM

Aug 3 2026

markmi_dsl-only.net added a comment to D58495: mandoc: Const correctness for C23.
In D58495#1345218, @ivy wrote:

A note on some terminology in the summary (and for the related commits):

are you going to follow me around everywhere on the Internet to post this comment?

i'm well aware of the technical difference between "const pointer to mutable T" and "mutable pointer to const T", but in colloquial language, everyone understands what "const pointer" means in this context and there is no need to "clarify" it with pointless nitpicking.

Aug 3 2026, 4:43 PM
markmi_dsl-only.net added inline comments to D58495: mandoc: Const correctness for C23.
Aug 3 2026, 4:04 PM
markmi_dsl-only.net added a comment to D58495: mandoc: Const correctness for C23.

A note on some terminology in the summary (and for the related commits):

Aug 3 2026, 3:53 PM
markmi_dsl-only.net added inline comments to D58495: mandoc: Const correctness for C23.
Aug 3 2026, 3:44 PM

Aug 2 2026

markmi_dsl-only.net added a comment to D58212: bsd.cpu.mk: Add a workaround for erratum 843419.

This is apparently making some port-package build fail with:

Aug 2 2026, 10:11 PM
markmi_dsl-only.net added a comment to D58592: stat.2: enhance the description of st_blocks.

Does:
. . .
STANDARDS

The stat() and fstat() system calls are expected to conform to IEEE Std
1003.1-1990 (“POSIX.1”).  The fstatat() system call follows The Open
Group Extended API Set 2 specification.

. . .

Aug 2 2026, 4:55 PM
markmi_dsl-only.net added inline comments to D58592: stat.2: enhance the description of st_blocks.
Aug 2 2026, 4:44 PM

Jul 10 2026

markmi_dsl-only.net added a comment to D57721: zfs: drop duplicate vfs.zfs.metaslab.condense_pct sysctl.
In D57721#1333711, @chris.longros_gmail.com wrote:

So will this commit land to main ? :)

Jul 10 2026, 4:56 PM

Jun 29 2026

markmi_dsl-only.net added a comment to D34791: Alternative to D25219: ACPI: add support for (inherited) _DMA limits.

Because I recently discovered that the FreeBSD kernel's rman usage again allows the RPi4's to be booted via the EDK2, I again have this kind of patched code for building my personal kernel builds. So I'm again able to have contexts without the 3 GiByte limitation, such as on a C0 stepping 8 GiByte RPi4 actually having the 8 GiBytes for use for an EDK2 based boot.

Jun 29 2026, 12:06 AM

Jun 28 2026

markmi_dsl-only.net added a comment to D48766: physmem: Move the ram0 device earlier in the boot.

I will note that this "fixed" the ability to boot RPi4 via its EDK2. Instead of the prior panic, in this order the overlap testing ends up doing (I explain the result being okay afterwards):

rman_reserve_resource: <I/O memory addresses> request: [0x7e20c000, 0x7e20c027], length 0x28, flags 0, device (null)
rman_reserve_resource: trying 0x3fffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x3fffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x2ebfffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x3017dfff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x37fbffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x37feffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x380dffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x3813ffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x3851ffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x3875ffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x3877ffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x387bffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x38960fff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x38963fff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x3897ffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x38980fff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x38eaafff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x38eabfff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x39bdffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x39fbffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x3b3fffff <0x7e20c000,0x27>
rman_reserve_resource: tried 0x4024afff <0x7e20c000,0x27>
considering [0x4024b000, 0xbfffffff]
region is allocated
considering [0xc0000000, 0xfd57ffff]
s->r_start (0xc0000000) + count - 1> end (0x7e20c027)
no unshared regions found

The RPi4's have DMA engines (or other such) that do not use the aarch64 address space and [0x7e20c000, 0x7e20c027] with length 0x28 (which is for PWM0) is one of them and is used only with those DMA engines (or whatever). The overlap with [0x4024b000, 0xbfffffff] for ram0 is actually irrelevant. But in the old ordering it was treated as relevant and reported the overlap via a panic. As stands with the new order, the overlap is the indication of the address space not being the aarch64 address space and allowing the (fake) overlap is the right thing to do.

Jun 28 2026, 4:00 PM

Jun 21 2026

markmi_dsl-only.net added a comment to D57721: zfs: drop duplicate vfs.zfs.metaslab.condense_pct sysctl.

In the kind of context that I originally reported based on:

Jun 21 2026, 9:25 PM
markmi_dsl-only.net added a comment to D57657: Make libzfs not autoload the ZFS module.

It was determined that zpool status and zfs list are not the commands used in the original context. Instead:

Jun 21 2026, 4:55 PM

May 30 2026

markmi_dsl-only.net added a comment to D57357: sysutils/edk2: Use clang to build.

[I'm removing the note about the EDK2 _CRS issue after discovering that the FreeBSD kernel no longer classifies a conflict because it has enough context to identify ram0 vs. (null) vs. gic0 (as in its debug messages) as distinct, none conflicting contexts. It no longer panics for a conflict detection for RPi4 booting via EDK2.]

May 30 2026, 3:53 PM

May 22 2026

markmi_dsl-only.net added inline comments to D56404: pkgconf: import into the base system.
May 22 2026, 8:41 PM

May 21 2026

markmi_dsl-only.net added a comment to D56404: pkgconf: import into the base system.

What is the relationship of this type of change to use of ${PREFIX} when ports install themselves and it is not the /usr/local default value? (There is also a linux compatibility related standard default for PREFIX and folks can specify things like /opt .) There was a later change to use /usr/local/ when LOCALBASE was undefined.

May 21 2026, 7:58 PM

Apr 18 2026

markmi_dsl-only.net added a comment to D56338: iflib: accurately account for TSO packets & transmitted.

https://lists.freebsd.org/archives/freebsd-current/2026-April/010130.html ("Re: panic: assertion failed in iflib_txq_drain()") points to the commit for this as reverting it being sufficient to avoid the new panics.

Apr 18 2026, 4:44 PM

Apr 1 2026

markmi_dsl-only.net added inline comments to D56217: build.7: Explain packaging a custom kernel.
Apr 1 2026, 6:12 PM

Mar 30 2026

markmi_dsl-only.net added a comment to D56139: msun: provide external linkage for all fenv.h functions.
In D56139#1284436, @kib wrote:

. . .

I have no idea why it grown this way, and what was the rationale of the arch maintainers when it did.
I am only interested in re-checking that my patch does not change the current state there. If somebody do it, I would appreciate.

Mar 30 2026, 4:01 PM

Mar 29 2026

markmi_dsl-only.net added a comment to D56139: msun: provide external linkage for all fenv.h functions.

The status of fegetexcept, feenableexcept, and fedisableexcept and their relationship to __BSD_VISIBLE seems to be rather variable. Some of that variability may be incorrect and other parts expected. I just note the variability itself. A quick look seemed to show:

Mar 29 2026, 2:44 PM

Mar 26 2026

markmi_dsl-only.net added a comment to D49967: Convert libllvm, libclang and liblldb into private shared libraries.

It turns out that this change looks to have notable port-package build time consequences for at least aarch64 on ampere[123] and on, for example, the Microsoft Dev Kit 2023 that I have access to.
. . .

Mar 26 2026, 4:31 PM
markmi_dsl-only.net added a comment to D49967: Convert libllvm, libclang and liblldb into private shared libraries.
Mar 26 2026, 4:28 PM

Mar 15 2026

Herald added a reviewer for D29923: arm: add a release conf for distribution files: andrew.

That said, it is not necessarily a 'release.conf' issue, but the issue that 'src/release/Makefile' does not have an 'ftp' equivalent target for creating the .txz distribution sets for armv6,armv7. And after poking around at release/Makefile*, I

Ah, I just realized that the 'ftp' distribution sets are created as a part of the '{bootonly,disc1,dvd1}.iso' targets. So, that particular mystery is solved.

Mar 15 2026, 5:22 PM

Feb 12 2026

markmi_dsl-only.net added a comment to D55255: libsys/arm: include ARM EABI unwind bits into libsys.

Sorry for my poorly formulated question.
The hidden but not weak aeabi_unwind_cpp_pr* symbols means that we don't expect or want to process exceptions generated in libsys because the unwinder always ends in an abort/trap. So why don't we simply compile libsys with -fno-exceptions?
. . .

Feb 12 2026, 5:04 PM

Jan 29 2026

markmi_dsl-only.net added a comment to D54619: Uses/cargo: remove deprecated '-C ar=' from RUSTFLAGS.

Well, folks that do not use poudriere(-devel) have been locally putting back ar=${AR} in some places so that their make/Makefile or portmaster style of working can find the right ar. An example is:

Jan 29 2026, 3:39 AM

Jan 2 2026

markmi_dsl-only.net added a comment to D54452: libgeom: Fix segfault in 32-on-64 case.

Looking at the history, a fix in this area was tried 13 years ago and reverted for breaking devstat use. 12 years ago the below type of fix was committed instead and then reverted, sighting lessons learned from the prior attempt.

Jan 2 2026, 7:48 PM

Dec 29 2025

markmi_dsl-only.net added a comment to D53950: Add libxo support to `gpart show` and document libxo flags in geom and gpart man pages.

I am getting signal 11 core dumps on armv7 for "gpart show". i386 and 32-bit powerpc would likely also have problems.

Dec 29 2025, 12:50 AM

Dec 14 2025

markmi_dsl-only.net added inline comments to D53891: Fixes for dreaded assert in jemalloc page allocator AKA mmap(MAP_ANON) providing non-zeroed pages.
Dec 14 2025, 5:34 PM

Dec 10 2025

markmi_dsl-only.net added a comment to D49967: Convert libllvm, libclang and liblldb into private shared libraries.

It turns out that this change looks to have notable port-package build time consequences for at least aarch64 on ampere[123] and on, for example, the Microsoft Dev Kit 2023 that I have access to.

Dec 10 2025, 5:21 AM

Nov 24 2025

markmi_dsl-only.net added a comment to D53891: Fixes for dreaded assert in jemalloc page allocator AKA mmap(MAP_ANON) providing non-zeroed pages.

. . .

@mmel you have been testing on ARMv7, correct?

Nov 24 2025, 7:19 PM
markmi_dsl-only.net added a comment to D53891: Fixes for dreaded assert in jemalloc page allocator AKA mmap(MAP_ANON) providing non-zeroed pages.

. . . testing on ARMv7, correct? Also, you have the option enabled in jemalloc to write junk in the freed pages, correct? And, jemalloc is complaining upon recycling the memory that it didn't find the expected junk values in the memory?

Nov 24 2025, 6:08 PM

Nov 23 2025

markmi_dsl-only.net added inline comments to D53891: Fixes for dreaded assert in jemalloc page allocator AKA mmap(MAP_ANON) providing non-zeroed pages.
Nov 23 2025, 12:43 PM

Nov 14 2025

markmi_dsl-only.net added a comment to D53695: loader_simp.8: Clarify boot_serial.

"efi" vs. "eficom"? The limited contexts where comconsole should be used there days (does it presume x86/i368?)?

Nov 14 2025, 8:50 PM

Nov 11 2025

markmi_dsl-only.net added a comment to D53688: swap_pager: Improve swzone warning.

Yea. Another paragraph from that part of that man pages says:

Nov 11 2025, 5:38 PM
markmi_dsl-only.net added a comment to D53688: swap_pager: Improve swzone warning.

man 8 loader_simp reports:

Nov 11 2025, 5:23 PM

Nov 1 2025

markmi_dsl-only.net added inline comments to D53372: vchiq: fix another logging format string for 32/64 bit.
Nov 1 2025, 3:57 PM
markmi_dsl-only.net added a comment to D53372: vchiq: fix another logging format string for 32/64 bit.

See also:

Nov 1 2025, 3:54 PM
markmi_dsl-only.net added inline comments to D53372: vchiq: fix another logging format string for 32/64 bit.
Nov 1 2025, 3:51 PM

Oct 21 2025

markmi_dsl-only.net added a comment to D53250: sys/arm64: fix COMPAT_FREEBSD32 __syscall().

Looking at the history: armeb support ended with 11.4 and was removed after that.

Oct 21 2025, 11:22 PM
markmi_dsl-only.net added inline comments to D53250: sys/arm64: fix COMPAT_FREEBSD32 __syscall().
Oct 21 2025, 11:02 PM

Oct 7 2025

markmi_dsl-only.net added a comment to D52958: BSD.root.dist: Add package tag for all directories.

In an experiment on aarch64 based on changing poudriere-devel to use FreeBSD-set-minimal-jail FreeBSD-set-devel FreeBSD-set-lib32 (still leaving FreeBSD-src-sys separate), I got a:

[00:00:01] Setting schg on jail base paths
chflags: /usr/local/poudriere/data/.m/main-min-devel-lib32-aarch64-default/ref/boot/modules: No such file or directory
chflags: /usr/local/poudriere/data/.m/main-min-devel-lib32-aarch64-default/ref/boot/firmware: No such file or directory
Error: (84516) /usr/local/share/poudriere/bulk.sh:jail_start:255: set -e error: status = 1

Mostly that is of interest for noting boot/firmware can also be missing.

Oct 7 2025, 11:15 PM
markmi_dsl-only.net added a comment to D52958: BSD.root.dist: Add package tag for all directories.

I wondered if "bsdinstall --jail" for base-jail would establish materials in the jail that would be associated with: "/set tags=package=bootloader". So I tried it with the old BSD-root.dist in place and looking after the creation:

# ls -loaT jail-pkgbase-base-jail/boot/
total 8
drwxr-xr-x   2 root wheel - 512 Oct  7 10:38:43 2025 .
drwxr-xr-x  17 root wheel - 512 Oct  7 10:38:43 2025 ..

(So boot/ showed up but nothing inside it did for use of the old BSD.root.dist . That does not seem to be from interpreting/applying BSD.root.dist .)

Oct 7 2025, 5:55 PM

Sep 20 2025

markmi_dsl-only.net added a comment to D52621: packages: Remove set-devel from set-base.

. . . It appears we'll reach nearly 30 packages if we continue to split
things up. . . .

Sep 20 2025, 11:12 PM

Sep 13 2025

markmi_dsl-only.net added a comment to D52412: packages: Add meta-package sets.

Note: This lead to a sizable increase in what pkgbase'd poudriere-devel jail creations include, including a full copy of /usr/src/ ( not just sys/ ) and more.

Sep 13 2025, 10:22 PM

Sep 11 2025

markmi_dsl-only.net added a comment to D52474: libc: Remove readdir_r(3).

This broke building rust 1.88 via poudriere-devel :

  = note: ld: error: undefined symbol: readdir_r
          >>> referenced by std.d8968a002452916e-cgu.07
          >>>               std-de94806a57729acc.std.d8968a002452916e-cgu.07.rcgu.o:(std::sys::fs::unix::remove_dir_impl::remove_dir_all_recursive::hbe1160129d2c5f7c) in archive /wrkdirs/usr/ports/lan
g/rust/work/bootstrap/lib/rustlib/x86_64-unknown-freebsd/lib/libstd-de94806a57729acc.rlib
          >>> did you mean: readdir_r@FBSD_1.5
          >>> defined in: /lib/libc.so.7
          cc: error: linker command failed with exit code 1 (use -v to see invocation)
Sep 11 2025, 6:26 AM

Sep 7 2025

markmi_dsl-only.net added a comment to D52412: packages: Add meta-package sets.
In D52412#1197023, @ivy wrote:

add devmatch to minimal

Sep 7 2025, 10:06 PM
markmi_dsl-only.net added a comment to D52412: packages: Add meta-package sets.
Sep 7 2025, 8:00 PM
markmi_dsl-only.net added a comment to D52412: packages: Add meta-package sets.

the -dtb package should be in minimal when building on aarch64, see the change to release/packages/ucl/dtb-all.ucl in this diff. you can test this by building a package set with this diff applied, then looking at the "set" annotation in pkg info FreeBSD-dtb.

Sep 7 2025, 6:51 PM
markmi_dsl-only.net added a comment to D52412: packages: Add meta-package sets.

Just for reference, from looking at my live aarch64 and amd64 environments, "+" lines for unique to amd64 and "-" lines for unique to aarch64, but not based on more recent adjustments:

Sep 7 2025, 6:40 PM
markmi_dsl-only.net added a comment to D52412: packages: Add meta-package sets.

this change will not be MFC'd to stable/14.

Sep 7 2025, 6:33 PM
markmi_dsl-only.net added a comment to D52412: packages: Add meta-package sets.
In D52412#1196934, @ivy wrote:

for reference, here's a list of every package and the set it's included in: https://people.freebsd.org/~ivy/tmp/pkgsets.txt -- but note that sets might pull in more packages than listed here due to explicit or library dependencies.

Sep 7 2025, 6:08 PM

Jul 27 2025

markmi_dsl-only.net added a comment to D50388: src.opts.mk: Default LLVM_ASSERTIONS off.

I'd argue a little harder for MALLOC_PRODUCTION staying as-is since that's more broadly applicable. Though, we have src.conf knobs for both of these exactly so that folks can just flip them easily for their own use-cases without having to constantly argue defaults, and the current defaults reflect generally what we do with debug features in the kernel (as you noted).

Jul 27 2025, 8:26 PM

May 6 2025

markmi_dsl-only.net added inline comments to D50086: misc/compat14x: Add port by extracting out of compat13x.
May 6 2025, 7:23 AM
markmi_dsl-only.net added inline comments to D50086: misc/compat14x: Add port by extracting out of compat13x.
May 6 2025, 3:16 AM

Mar 29 2025

markmi_dsl-only.net added a comment to D49542: arm64: Fix off-by-one in its_init_cpu_lpi.

Not finding a documentation for the likes of ilog2_long, I gather that (trying to reference mostly mathematics, not programming language implementation details):

Mar 29 2025, 2:46 AM

Feb 21 2025

markmi_dsl-only.net added a comment to D49084: VM detection: Add QEMU; Add prefix match; Change prioritization.

In any case, beyond the hz topic, there's also that people will inevitably ask about kern.vm_guest not set whereas running in a virtual machine, and we have already set a precedent with VM_GUEST_BHYVE, VM_GUEST_PARALLELS and VM_GUEST_NVMM (which are only cosmetic but for hz). So I'd rather for now make sure that kern.vm_guest is not none under QEMU, even if in the end this is essentially cosmetic. Having a special value seems slightly better, but VM_GUEST_VM (generic) could also work.

Feb 21 2025, 2:25 PM

Feb 20 2025

markmi_dsl-only.net added a comment to D49084: VM detection: Add QEMU; Add prefix match; Change prioritization.

virtualbox guest tools, I think, may exit doing nothing if not running under virtual box. HyperV has special code activated. I think xen does too. I don't think those two have useland tools depending on it

Feb 20 2025, 10:11 PM
markmi_dsl-only.net added a comment to D49084: VM detection: Add QEMU; Add prefix match; Change prioritization.

Ignoring kern.hz : Is there any other reason that it is important for FreeBSD to have the explicit indication that it is running under a VM?

Feb 20 2025, 8:58 PM
markmi_dsl-only.net added a comment to D49084: VM detection: Add QEMU; Add prefix match; Change prioritization.

Here is from amd64 Parallels on amd64 macOS:

Feb 20 2025, 8:48 PM
markmi_dsl-only.net added a comment to D49084: VM detection: Add QEMU; Add prefix match; Change prioritization.

For reference, taken from my list report for aarch64 Parallels on macOS. I'll likely separately submit one from amd64 Parallels on macOS as well.

Feb 20 2025, 8:35 PM
markmi_dsl-only.net added a comment to D49084: VM detection: Add QEMU; Add prefix match; Change prioritization.

It used to matter a lot so we'd get hz right, but that doesn't matter anymore (though we bogusly still do it sometimes). Hz hasn't mattered since mav@ made the kernel tickless.

Feb 20 2025, 8:21 PM
markmi_dsl-only.net added a comment to D49084: VM detection: Add QEMU; Add prefix match; Change prioritization.

I was under the impression Apple's VM in this case was parallel's, and UTM just provided a fancy / different GUI for it.

Feb 20 2025, 7:58 PM
markmi_dsl-only.net added a comment to D49084: VM detection: Add QEMU; Add prefix match; Change prioritization.
In D49084#1119093, @imp wrote:

So there are multiple ways to run under qemu: system emulation, kvm, nvmm, and hvf. These overlap with others in the list (parallels uses hvf also).

Feb 20 2025, 6:56 PM
markmi_dsl-only.net added a comment to D49084: VM detection: Add QEMU; Add prefix match; Change prioritization.

UTM on macOS can use either QEMU or Apple's VM as I understand. But I do not know of FreeBSD is actually operable with Apple's VM in use. If operable, Apple's VM likely leads to another new name to test for? (This might be another example of: Treat FreeBSD as-if it was a Linux variant, like I did for Parallels to get it basically working there. I then disabled virtio_gpu via /boot/device.hints so that efifb would be used, which worked fine for my purposes.)

Feb 20 2025, 6:48 PM
markmi_dsl-only.net added a comment to D49084: VM detection: Add QEMU; Add prefix match; Change prioritization.

Probably does not match Parallels running on amd64 either, as the string seem more similar to what is contained in 'smbios.planar.product' ("Virtual Platform", and not "Virtual Machine), which we don't use.

Feb 20 2025, 6:37 PM

Jan 16 2025

markmi_dsl-only.net added inline comments to D48442: libc/aarch64: fix strlen() when flush-to-zero is set.
Jan 16 2025, 2:32 AM

Jan 9 2025

markmi_dsl-only.net added inline comments to D46992: libusb: implement `libusb_get_parent`.
Jan 9 2025, 7:29 PM

Dec 25 2024

markmi_dsl-only.net added a comment to D40531: oce(4): deprecate.

Activity on discord by "Vince (darkain)" for FreeBSD kernel is reporting the following still use hardware this driver supports: PowerEdge servers.
'its literally the mezzanine NIC common in Dell PowerEdge servers'

Dec 25 2024, 9:52 PM

Dec 3 2024

markmi_dsl-only.net added a comment to D46956: sysutils/rpi-firmware: Update to 1.20241001.

Basic 14.2-RELEASE testing and main testing [so: 15 as stands] and 13.4-RELEASE testing might be appropriate?

Dec 3 2024, 2:11 AM
markmi_dsl-only.net added a comment to D46956: sysutils/rpi-firmware: Update to 1.20241001.

The release referenced was fairly quickly replaced. Sometimes this indicates problematical prior releases. Most recent to oldest:

Dec 3 2024, 1:56 AM

Nov 2 2024

markmi_dsl-only.net added a comment to D47378: freebsd-update: improve pkgbase test.

Is pkg-static use appropriate because of things like when llibmd.so.6 -> libmd.so.7 happened? Both dependencies ended up involved, one indirectly via /usr/lib/liblzma.so.5 , stopping pkg from being able to run.

Nov 2 2024, 5:15 PM

Nov 1 2024

markmi_dsl-only.net added a comment to D47378: freebsd-update: improve pkgbase test.

Wondering somewhat beyond the specific changes here to the original commit . . . (I noticed by considering how I'd test the updated script.)

Nov 1 2024, 3:11 AM

Oct 6 2024

markmi_dsl-only.net added inline comments to D46956: sysutils/rpi-firmware: Update to 1.20241001.
Oct 6 2024, 5:44 AM
markmi_dsl-only.net added a comment to D46956: sysutils/rpi-firmware: Update to 1.20241001.
Oct 6 2024, 5:31 AM

Oct 5 2024

markmi_dsl-only.net added a comment to D46956: sysutils/rpi-firmware: Update to 1.20241001.

I'll note that upstream 1.20230405 had bcm2711-rpi-cm4s.dtb but the port did not. But if that was deliberate vs. not I cannot tell.

Oct 5 2024, 6:56 PM
markmi_dsl-only.net added a comment to D46956: sysutils/rpi-firmware: Update to 1.20241001.

I also commented on the addition of lots of unsupported RPi5 / bcm2712 related files. As I understand, historically any unsupported RPi*'s normally have their files omitted in this port.

Oct 5 2024, 4:27 PM
markmi_dsl-only.net added a comment to D46956: sysutils/rpi-firmware: Update to 1.20241001.

So far as I know, any notable difference is just from different rpi_*_defconfig selections:

Oct 5 2024, 4:20 PM