User Details
- User Since
- Nov 19 2016, 6:23 AM (468 w, 6 d)
Yesterday
"efi" vs. "eficom"? The limited contexts where comconsole should be used there days (does it presume x86/i368?)?
Tue, Nov 11
Yea. Another paragraph from that part of that man pages says:
man 8 loader_simp reports:
Sat, Nov 1
See also:
Tue, Oct 21
Looking at the history: armeb support ended with 11.4 and was removed after that.
Oct 7 2025
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.
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 .)
Sep 20 2025
Sep 13 2025
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 11 2025
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 7 2025
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.
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:
this change will not be MFC'd to stable/14.
Jul 27 2025
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).
May 6 2025
Mar 29 2025
Not finding a documentation for the likes of ilog2_long, I gather that (trying to reference mostly mathematics, not programming language implementation details):
Feb 21 2025
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 20 2025
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
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?
Here is from amd64 Parallels on amd64 macOS:
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.
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.
I was under the impression Apple's VM in this case was parallel's, and UTM just provided a fancy / different GUI for it.
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.)
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.
Jan 16 2025
Jan 9 2025
Dec 25 2024
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 3 2024
Basic 14.2-RELEASE testing and main testing [so: 15 as stands] and 13.4-RELEASE testing might be appropriate?
The release referenced was fairly quickly replaced. Sometimes this indicates problematical prior releases. Most recent to oldest:
Nov 2 2024
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 1 2024
Wondering somewhat beyond the specific changes here to the original commit . . . (I noticed by considering how I'd test the updated script.)
Oct 6 2024
Oct 5 2024
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.
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.
So far as I know, any notable difference is just from different rpi_*_defconfig selections:
The official FreeBSD builds for aarch64 RPi* (including the for the RPi4Bs) use: /usr/ports/sysutils/u-boot-rpi-arm64/
instead of using /usr/ports/sysutils/u-boot-rpi4/ . As stands that includes the likes of:
Sep 16 2024
It might be appropriate for sbin/bectl/bectl.8 to now explicitly mention the default implicit promotion in its activate description. As I remember, the historical text was not explicit at all about what to expect related to what promotion controls. But, with the change, both alternatives become possibilities.
Sep 11 2024
This was a continuation/completion of https://reviews.freebsd.org/D40903 which reported:
Aug 20 2024
Any reason to not use "gpart show -p nda1" for the style of command? It avoids needing to know the naming correspondence.
Aug 15 2024
Aug 13 2024
The native armv7, 2 GiByte, Cortex-A7, OrangePi+ 2ed test with BE_NATIVE but without BE_AMDGPU and without BE_WASM build of devel/llvm19 finally finished successfully, over 46 hrs after it started, so somewhat under 4 times as long as on the RPi4B. The OPi+2ed has somewhat more "avail memory" than resulted from the RPi4B total_mem assignment that I'd used.
With BE_FREEBSD and BE_WASM but not BE_AMDCPU built just fine but took somewhat longer on the RPi4B (no surprise): 13:11:04 vs. NE_NATIVE with BE_WASM's 12:09:45. Its AVAIL_RAM+SWAP use [3070 MiBytes (A+W+L+SU+InAct)] was between the BE_NATIVE+BE_WASM without BE_AMDGPU [1958 MiBytes] and with BE_AMDGPU [5062 Mi Byte+, stopped early due to size vs. configuration]:
Aug 12 2024
With BE_WASM (so: WebAssembly) built just fine, taking 12:09:45 instead of the 12:01:54 on the RPi4B that was used without both BE_AMDGPU and BE_WASM. Slightly less RAM+SWAP usage showing (so: within the range of variation).
There does not seem to be a resource-usage-based reason to avoid BE_WASM as a default:
With BE_AMDGPU and BE_WASM enabled I already see that it has gone through a stage (AMDGPU building) that nearly used up the swap space I've set up:
Aug 11 2024
For reference (just examples):
It built on the RPi4B just fine:
I got the the 2 GiByte RAM Cortex-A7 OrangePi+ 2ed restored to a status where only devel/llvm19 needs to build. So likely days instead of most or all of a week, presuming it can complete.
As a cross check on the intent: The build log with no manual OPTION settings shows the defaults that resulted are:
As it turned out that I could not use Win11Pro Hyper-V to form my intended test contexts for armv7 builds on the Windows Dev Kit 2023, I'm using a RPi4B instead. config.txt can use total_mem=2048 to limit the amount of RAM used. Initial experiments are based on that and: I'm using 3584 MiBytes of swap space and there are only 4 cores. I'm using USE_TMPFS=no , ALLOW_MAKE_JOBS= , no imposed MAKE_JOBS_NUMBER_LIMIT or the like. I'm using -gline-tables-only just to see if that fits. devel/llvm19 having no other builders active in parallel with its own build. The aarch64 environment (like on builders) allows larger armv7 processes than my native armv7 context does. I'm using the updated Makefile (without any changes by me).
Aug 8 2024
FYI: I'm working on getting updated to a context with llvm19 19.1.0.r2 based on the new debug information size tradeoffs, leading me to avoid a default of -g for my optimized but with debug-information build activities. llvm19's package in my historical aarch64-as-aarch64 -g usage context ended up with a 27.9 GiByte flat size and took a little under 2 hr for pre-package build stages and slightly over 4 hr 40 min to package on that Windows DevKit 2023, so slightly over 6 hr 40min total.
Jul 31 2024
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270509 is getting reports that the hardware associated with x11-drivers/xf86-video-mga is common across various servers and its removal has messed up having support for the video on such servers.
Jul 25 2024
Mark, I took the list of __eabi_ functions from the list of symbols emitted by libc (minus the floating point symbols).
FYI from doing a llvm/lib/Target/ARM/ARMISelLowering.cpp extraction for RTLIB:: with __aebi_ for isTargetAEABI and isAAPCS_ABI both holding:
(avoiding listing name duplicates for 16 and 8)
May 24 2024
. . .
We did a ports exp-run and fixed the fallout that was found. The main type of issue was blindly enabling a compatibility implementation of execvpe leading to declaration clashes. Did the poster find an issue or just wonder?
On Discord a question has been asked related to if the modern execvpe no longer has the kind of issues that lead to: https://cgit.freebsd.org/src/commit/?id=c605eea952146348e5e1ad5cab6c127d7a1bd164 :
Feb 27 2024
FYI: sys/dev/clk/clk.c reports:
Feb 20 2024
Feb 10 2024
. . .
Thanks Mark. I am not the first one making changes though, I think at least @dgr_semihalf.com and @val_packett.cool did significant changes as well.
Feb 9 2024
If I understand right, the usual Copyright procedure for changes to a file that still has substantial original material but also substantial new material is to add copyright lines (for the new author's material, with years if in dated form), leaving the original Copyright line in place as well.
Feb 6 2024
Feb 5 2024
The templates shown at https://www.freebsd.org/internal/software-license/ have a (nearly) blank line after the Copyright . . . line:
* Copyright (c) [year] [your name] * * Redistribution and use in source and binary forms, with or without
In general it is a good place to look at for comparisons.
Avoid use of "All rights reserved." in copyright notices? https://www.freebsd.org/internal/software-license/ reports:
With the ratification of the Berne Convention in 2000, it became obsolete. As such, the FreeBSD project recommends that new code omit the phrase and encourages existing copyright holders to remove it. In 2018, the project updated its templates to remove it.
Jan 18 2024
Jan 17 2024
Oct 20 2023
If "[i]ts mostly a clone of the linux driver" means copying of GPL licensed source code, FreeBSD avoids adding GPL licensed source code, so that the resultant source code in FreeBSD is not GPL licensed. Relicensing GPL source code to enable its addition into FreeBSD needs to be explicit with the original owners of the original source code license(s)/copyrights.
Sep 14 2023
This leads the port net/py-libdnet to be broken:
Sep 12 2023
Freescale i.MX51, i.MX53, . . .
Aug 8 2023
armv6 for main [so: 14] is now in:
Jul 25 2023
The summary's "new arm64 headers are" list is out of date and should not be blindly copied into commit notes.
Jun 19 2023
May 31 2023
As a matter of curiosity, did something specific prompt having this form of PCI Configuration Space Access added? FreeBSD has been able to boot the RPi4B's for a long time, even via EDK2. So the test case does not seem to be a driving use case. Are there other known examples of this form of PCI Configuration Space Access needing-to-be/being-able-to-be used?
May 29 2023
May 27 2023
Apr 30 2023
Port is still mismatched for armv7 as of:
Mar 30 2023
A list of the FreeBSD servers is maintained at: https://github.com/bdrewery/pkg-status.freebsd.org/blob/master/servers.txt
Going to https://reviews.freebsd.org/D37419 and clicking on the link shows the log just fine for me. (I just tried it again.) ampere2.nyi.freebsd.org is a well known FreeBSD builder machine.
Mar 28 2023
Mar 24 2023
Looks to me like https://developer.arm.com/documentation/100336/0002/aba1429015078674 has the description of the GICD Distributor registers by offset from the Physical Base Address:
Mar 3 2023
I did the 3 tests via booting an installed FreeBSD-14.0-CURRENT-arm-armv7-GENERICSD-20230302-005cca8361a4-261233.img.xz (from today) and they all worked fine.
I did the 3 tests via booting an installed FreeBSD-14.0-CURRENT-arm-armv7-GENERICSD-20230302-005cca8361a4-261233.img.xz (from today) and they all worked fine.