Page MenuHomeFreeBSD

jlduran (Jose Luis Duran)
User

Projects

User Details

User Since
May 30 2017, 11:42 AM (483 w, 5 d)

Recent Activity

Fri, Sep 4

jlduran accepted D59377: mkimg: Restore offset support for the SIZE partition form.
Fri, Sep 4, 2:42 PM
jlduran accepted D59377: mkimg: Restore offset support for the SIZE partition form.
Fri, Sep 4, 1:57 PM

Thu, Sep 3

jlduran accepted D59326: examples/jails: Encode ifnames used as derive_mac counters.

Amazing!

Thu, Sep 3, 4:01 AM · Netgraph
jlduran added a comment to D59326: examples/jails: Encode ifnames used as derive_mac counters.

Briefly tested:

# ifconfig vtnet0.20 create vlan 20 vlandev vtnet0
# sh ./jib addm test vtnet0.20
vtnet0.20bridge
e0a_test
e0b_test

I was not able to test it with jng:

# kldload ng_ether
# ifconfig vtnet0.20 create vlan 20 vlandev vtnet0
# jail -c name=test host.hostname=test.home.arpa vnet persist
# sh ./jng bridge test vtnet0.20
ngctl: send msg: Invalid argument
# ngctl list
There are 3 total nodes:
  Name: vtnet0          Type: ether           ID: 00000001   Num hooks: 0
  Name: vtnet0_20       Type: ether           ID: 00000002   Num hooks: 0
  Name: ngctl3288       Type: socket          ID: 00000005   Num hooks: 0
# sh ./jng bridge test vtnet0 # The parent works as expected
ng0_test
Thu, Sep 3, 12:50 AM · Netgraph

Wed, Sep 2

jlduran 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.

One structural difference is that my context's efi partition is first instead of second, not that I know if such makes a behavioral difference. I have no idea why you have a ms-basic-data partition.

Have you published someplace boot log(s) from the context that did not work? What was the evidence related to the failure?

Wed, Sep 2, 11:41 PM
jlduran 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?

I'm just noting that the goal specified was not achieved. The update did not change the status of GPT support for any RPi* . The tested environment ignores the processor-code files that actually holds executable firmware. The file updates may well be reasonable for other purposes --but may end up requiring FreeBSD kernel changes to track possible *.dtb and *.dtbo changes. That is one reason sysutils/rpi-firmware is rarely updated.

The goal of updating the firmware binaries isn't to give old, un-updatable hardware new internal EEPROM capabilities,

but rather to ensure that release(7) has access to the latest upstream binaries and that NanoBSD Reimagined can access them to boot a GPT-partitioned Raspberry Pi board.

Hybrid MBR/GPT? The older RPI* families require MBR to be involved, posibly via a hybrid MBR/GPT meeting certain criteria. No firmware read in from any boot media can change that initial requirement to get the boot process started. bootcode.bin has to be loaded from media that the old RPI*'s have internal MBR code to handle only MBR. Once bootcode.bin is loaded, only following stages can deal with GPT for the older RPI* families. The RPi[45]'s do not use bootcode.bin or processor-code firmware files from any media. They do use some of the *.dtb and *.dtbo files from the media and some of the other non-processor-code files from there.

GPT-partitioned Raspberry Pi images were built using NanoBSD reimagined (a GSoC 2026 project); we currently have two Raspberry Pi 4 GPT-partitioned systems: one using UFS and another one using ZFS. See D59235 for current improvements/suggestions.

The RPI4 does not use the processor-code firmware files that were updated, just appropriate non-code files. Your test did not involve the processor-code firmware on the media at all when you tested using an RPi4. What version of the EEPROM content was in the RPI4 at the time? Part of that is what you tested instead. Testing RPi4's and RPi5 will always be insufficient for coverage of any other RPi* relative to processor-code firmware.

If you have access to an old Raspberry Pi, the test is to use release(7) with this updated port and verify that you can still boot. It will obviously use an MBR partition scheme, as that is what release/arm64/RPI.conf uses (PART_SCHEME="MBR"). It is just to verify that the new binaries do not break something.

I've been booting RPi4's and RPi5's via just USB GPT partitioned media for many years, no sd card media with RPi* processor code files involved. (The RPI5's are via EDK2 UEFI/ACPI drafts, not a FreeBSD port or a U-Boot.)

I'll note that I do boot GPT USB media now on the older RPi* --but in order to do so, I also have a MBR based SD card in each such older RPi*-- and that media has the bootcode.bin file to load, which, in turn, enables the GPT partition handling for later stages of the boot process.

I would suggest posting to the arm news group a request for the testing. My available range of RPi* is rather limited: One RPi2B v1.1 (cortex-A7 armv7), one RPi2B v1.2 (cortex-A53, aarch64), one RPi3B (cortex-A53, aarch64), some RPi4B's (cortex-A72's with 4 GiByte or 8 GiByte, B0T vintage other than one C0T vintage), one RPi5B C 1 vintage (cortext-A76 aarch64) with 8 GiBytes, one RPI5B D0 vintage (cortext-A76 aarch64) with 16 GiBytes. Most of these are rarely used these days.

I've never made a formal style release of FreeBSD as far as I remember, and am not familiar with the process of making official-style releases. I doubt that I would allocate the time and resources involved. I've be more likely to just substitute the files from an updated /usr/local/share/rpi-firmware/ (after installing the package from a poudriere-devel based build) onto the existing boot media. (I have one USB media that can be used in booting every FreeBSD aarch64 system that I have access to, not just RPi* aarch64 systems.)

Wed, Sep 2, 9:44 PM
jlduran committed R11:51babd9eb00a: net/bsdrcmds: Use blocklist (authored by jlduran).
net/bsdrcmds: Use blocklist
Wed, Sep 2, 7:33 PM
jlduran 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.)

All vintages of the RPi5 EEPROM contents support GPT. Old enough vintages of the RPi4 EEPROM content do not.

As far as I know, something like, ssay, the RPi2 v1.1 (Cortex-A7 armv7) requires an MBR sd card with the bootcode.bin on it to provide an updated environment that that can then boot GPT on other media, such as USB media.

Prior to the RPi4's, there was no means to update an older type RPi* to have new internal bootcode to support more functionality without loading it from external media instead.

So . . .

QUOTE
Tested on a Raspberry Pi 4, using GPT boot.
Do not have access to previous boards for regression testing.
END QUOTE

This is a invalid test. It tested the EEPROM contents of the RPI4, not what is being updated here.

QUOTE
Update the Raspberry Pi firmware binaries to the latest upstream release
to provide native support for GPT partition schemes.
END QUOTE

This goal was not achieved, unfortunately.

Wed, Sep 2, 6:39 PM
jlduran closed D54319: nanobsd: remove pandaboard.cfg.

Thank you!
This landed as 533918ced28ccd3b6ce22c93e0b64deac40377a1. The revision was not automatically closed because the commit message is slightly different (uppercase "R" in remove).

Wed, Sep 2, 5:02 PM · ARM
jlduran added inline comments to D59235: nanobsd: Add SBC board configurations and CIDATA partition support.
Wed, Sep 2, 4:51 PM
jlduran added a comment to D59235: nanobsd: Add SBC board configurations and CIDATA partition support.

Let's examine release's functions one by one:

  • arm_create_user is handled by another function in NanoBSD.
  • arm_setup_usb_otg is somewhat handled by another function, but it is missing a few things.
  • arm64_setup_multicons is handled by another function in NanoBSD.
  • arm_setup_fdt_overlays is OK.
  • arm_setup_minimal_loader I think we can ignore this customization?
  • arm_do_quirk is achieved using nanobsd_loader_conf_extra (only used by PINEBOOK).
Wed, Sep 2, 4:44 PM

Tue, Sep 1

jlduran accepted D58902: ng_bridge: do not move hosts from learnMac=0 hooks.
Tue, Sep 1, 4:04 PM

Mon, Aug 31

jlduran added a comment to D59233: nanobsd: Decouple UFS filesystem logic from GPT partition scheme.

This change should ideally be done with D58964.

Mon, Aug 31, 11:57 PM
jlduran accepted D54319: nanobsd: remove pandaboard.cfg.

This is a followup of 62d028dcac1a ("Switch BEAGLEBONE, CUBIEBOARD, and PANDABOARD to use the GENERIC kernel configuration.")
If there are no objections, I will commit this revision over the weekend.

Mon, Aug 31, 8:56 PM · ARM
jlduran abandoned D47634: articles/nanobsd: Cleanup and typo fixes.
Mon, Aug 31, 8:50 PM
jlduran committed rG5ef98cb7a74b: openssh: Fix shosts.equiv path in manual pages (authored by jlduran).
openssh: Fix shosts.equiv path in manual pages
Mon, Aug 31, 5:32 PM
jlduran committed rG65e155b918f9: ministat.1: Match actual output (authored by jlduran).
ministat.1: Match actual output
Mon, Aug 31, 5:32 PM
jlduran committed rG66c45406f5ed: ministat.1: Match actual output (authored by jlduran).
ministat.1: Match actual output
Mon, Aug 31, 5:32 PM
jlduran committed rGcda01e24d28f: openssh: Fix shosts.equiv path in manual pages (authored by jlduran).
openssh: Fix shosts.equiv path in manual pages
Mon, Aug 31, 5:32 PM

Sat, Aug 29

jlduran committed rG3c6ea4597b26: makefs: Fix atime tests on MS-DOS (FAT) file systems (authored by jlduran).
makefs: Fix atime tests on MS-DOS (FAT) file systems
Sat, Aug 29, 8:58 PM
jlduran committed rG019d13dafed6: makefs: zfs: Allow the path vdev property to be set (authored by jlduran).
makefs: zfs: Allow the path vdev property to be set
Sat, Aug 29, 8:58 PM

Fri, Aug 28

jlduran added a comment to D59235: nanobsd: Add SBC board configurations and CIDATA partition support.

I believe we got the acronym wrong, shouldn't the directory name be sbc (Single-Board Computer)?

Fri, Aug 28, 7:12 PM
jlduran added a comment to D59232: nanobsd: Use fixed standard MS-DOS labels for EFI/CIDATA.

create_esp_partition() and create_cidata_partition() share a lot of common code. I wonder if they can be abstracted out?

Fri, Aug 28, 1:05 PM
jlduran added inline comments to D59233: nanobsd: Decouple UFS filesystem logic from GPT partition scheme.
Fri, Aug 28, 12:57 PM
jlduran added a comment to D59234: nanobsd: Normalize partition creation function names to create_*.

Please squash with D58964.

Fri, Aug 28, 12:51 PM
jlduran added a comment to D59236: nanobsd: guard triggers cleanup find against missing dir.

This revision should be squashed with D59041.

Fri, Aug 28, 12:48 PM

Thu, Aug 27

jlduran added a comment to D59166: nanobsd: Source legacy.sh on demand instead of unconditionally.

This revision is just a placeholder for D54187?

yes with just small modification in tools/tools/nanobsd/embedded/common where NANO_PLAN=embedded is defined

Thu, Aug 27, 6:50 PM
jlduran added inline comments to D59172: openssh: Update to 10.5p1.
Thu, Aug 27, 5:23 PM
jlduran added inline comments to D58974: nanobsd: Refactor cust_pkgng.
Thu, Aug 27, 4:42 PM
jlduran added inline comments to D58974: nanobsd: Refactor cust_pkgng.
Thu, Aug 27, 2:22 PM

Wed, Aug 26

jlduran added a comment to D58962: nanobsd: Rename code_slice to code_partition.

I don't think we should touch anything legacy, or at least avoid it as much as possible. In this context embedded can be considered legacy.

I didn't get what is to be done. Can you clarify it a bit further?
Thankyou

I think we can leave tools/tools/nanobsd/embedded/common unchanged (reimagined embedded SoCs will be handled by default.sh as well).
Also, I think _create_code_slice() currently produces a legacy NanoBSD image equivalent to create_code_slice(), I wonder if we can use just one legacy function.

for unifying create_code_slice in legacy which path to keep the mdconfig or mkimg?

Wed, Aug 26, 11:32 PM
jlduran added a comment to D58962: nanobsd: Rename code_slice to code_partition.

I don't think we should touch anything legacy, or at least avoid it as much as possible. In this context embedded can be considered legacy.

I didn't get what is to be done. Can you clarify it a bit further?
Thankyou

Wed, Aug 26, 10:06 PM
jlduran added a comment to D59172: openssh: Update to 10.5p1.

I think you should commit D52203 now, I will rebase this change after.

Done!

Wed, Aug 26, 4:54 PM
jlduran added a comment to D58957: nanobsd: Remove chflags call in install_world().

While I do agree with the change, I do not fully agree with the commit message.
For me, the reason we want to remove this step is because we want to ship a NanoBSD image with the flags set just like a normal FreeBSD installation (/var/empty for instance).

will this work?

nanobsd: Remove chflags call in install_world()
     
NanoBSD images should retain file flags set by the installation process
(such as the schg flag on /var/empty) to match a standard FreeBSD
installation. Unconditionally stripping system flags with chflags -R noschg
after installworld removes these expected security flags.
    
clean_world() already takes care of clearing noschg when wiping
NANO_WORLDDIR and NANO_OBJ during clean builds.
     
Sponsored by:   Google LLC (GSoC 2026)
Differential Revision:  https://reviews.freebsd.org/D58957
Wed, Aug 26, 4:47 PM
jlduran added inline comments to D58974: nanobsd: Refactor cust_pkgng.
Wed, Aug 26, 4:45 PM
jlduran added a comment to D58969: nanobsd: Change sizes to use bytes exclusively.

Since this is a legacy-breaking change (perhaps the most significant one), we should provide an easy migration path. For example, in the commit message, we can explain that users who want to keep using sector sizes could add an s (for sector) suffix to its current values when migrating to the default plan, this is a deliberate change from strsuftoll, which uses b (for block) for that same purpose.

Wed, Aug 26, 4:43 PM
jlduran added inline comments to D58966: nanobsd: Put customizations in a separate file.
Wed, Aug 26, 4:30 PM
jlduran added a comment to D58964: nanobsd: Add gpt support.

Please see: https://github.com/Coderangshu/freebsd-src/pull/60, which contains a WIP of NanoBSD using ZFS (the ZFS part is not really relevant at the moment, it was just an experiment). It illustrates that the file gpt.sh should actually be named ufs.sh and that common functions inherent to a GPT partitioning scheme belong in defaults.sh, leaving filesystem-specific functions inside their respective files (ufs.sh, zfs.sh, cd9660.sh, msdos.sh, i.e., anything that makefs(8) supports).

Wed, Aug 26, 4:00 PM
jlduran added a comment to D58963: nanobsd: Disable dumpdev.

Maybe something closer to:

nanobsd: Disable dumpdev
Wed, Aug 26, 3:48 PM
jlduran added a comment to D58962: nanobsd: Rename code_slice to code_partition.

I don't think we should touch anything legacy, or at least avoid it as much as possible. In this context embedded can be considered legacy.

Wed, Aug 26, 3:42 PM
jlduran added a comment to D58961: nanobsd: Clean up target pkg database and metalog after install.

I think _xxx_pkg_db_dump_or_vacuum should be added sooner. In fact, I think this function should not be a _xxx_ function, as we will always want to verify the integrity of the pkg database before shipping our NanoBSD image, so I suggest "promoting" it to a regular pkg function (pkg_db_vacuum since it no longer dumps.) and including it in D58951.
I think the commit message in this revision also needs updating.

Wed, Aug 26, 3:38 PM
jlduran added a comment to D58957: nanobsd: Remove chflags call in install_world().

While I do agree with the change, I do not fully agree with the commit message.
For me, the reason we want to remove this step is because we want to ship a NanoBSD image with the flags set just like a normal FreeBSD installation (/var/empty for instance).

Wed, Aug 26, 3:31 PM
jlduran added a comment to D58959: nanobsd: Disable pkg repositories on target image.

I think this commit can be squashed with D58951, I see no reason to keep this in a separate commit.

Wed, Aug 26, 3:01 PM
jlduran added inline comments to D58956: nanobsd: Use local repository cache for precompiled package base builds.
Wed, Aug 26, 2:49 PM

Tue, Aug 25

jlduran added a comment to D52203: openssh: Fix shosts.equiv path in manual pages.

How far back do we need to MFC this?

Tue, Aug 25, 10:23 PM
jlduran added a comment to D58963: nanobsd: Disable dumpdev.

will this be fine as commit message?

nanobsd: Disable dumpdev

Ship by default with a disabled crash dump device, since nanobsd
doesn't configure a dump target for dumpon(8) to use.

Differential Revision:  https://reviews.freebsd.org/D58963
Tue, Aug 25, 10:03 PM
jlduran added a comment to D59166: nanobsd: Source legacy.sh on demand instead of unconditionally.

This revision is just a placeholder for D54187?

Tue, Aug 25, 9:18 PM
jlduran added a comment to D58963: nanobsd: Disable dumpdev.

https://docs.freebsd.org/en/articles/committers-guide/#_focus_on_what_and_why_not_how

Tue, Aug 25, 9:07 PM
jlduran added a comment to D58963: nanobsd: Disable dumpdev.

No code changes in this commit. An earlier commit in the stack (D58931) needed a commit-message reword per review feedback, which required a bottom-up arc diff refresh of every commit above it to keep the stack applying cleanly. That refresh is what reset this revision's accepted status, not a content change.

@jlduran, could you re-accept when you get a chance?

I fail to understand the "matching the existing entropy settings for the read only root" part in the commit message though.

As per my reading and understanding, I thought this was in line with the entropy disabling part, that dump device should also be disabled for that reason.
I looked up now again and maybe found the real reason that nanobsd doesn't ship with a dump device so dumpon should be disabled so that it doesn't try configure a dump device.
If this is the actual reason let me know I will update the message and summary and also move this earlier in the stack.

Tue, Aug 25, 6:57 PM
jlduran committed rG336cc041a492: openssh: Fix shosts.equiv path in manual pages (authored by jlduran).
openssh: Fix shosts.equiv path in manual pages
Tue, Aug 25, 5:28 PM
jlduran closed D52203: openssh: Fix shosts.equiv path in manual pages.
Tue, Aug 25, 5:28 PM
jlduran added a comment to D59172: openssh: Update to 10.5p1.

Do you think I can commit D52203 after you commit this update, or maybe incorporate those changes here?
The changes from freebsd-configure.sh (config.h) and freebsd-namespace.sh (ssh_namespace.h) are in a separate commit as usual?
I have this change in libssh's Makefile:

--- a/secure/lib/libssh/Makefile
+++ b/secure/lib/libssh/Makefile
@@ -35,7 +35,7 @@ SRCS= ${LIBOPENSSH_SRCS} \
        libcrux-mlkem-mldsa.c ssh-mldsa-eddsa.c \
        hmac.c ed25519.c ed25519-openssl.c \
        kex.c kex-names.c kexdh.c kexgex.c kexecdh.c kexc25519.c \
-       kexgexc.c kexgexs.c \
+       kexgexc.c kexgexs.c kexmlkem768ecdh.c \
        kexsntrup761x25519.c kexmlkem768x25519.c sntrup761.c kexgen.c \
        sftp-realpath.c platform-pledge.c platform-tracing.c platform-misc.c \
        sshbuf-io.c misc-agent.c ssherr-libcrypto.c
Tue, Aug 25, 4:47 PM
jlduran added a comment to D58963: nanobsd: Disable dumpdev.

No code changes in this commit. An earlier commit in the stack (D58931) needed a commit-message reword per review feedback, which required a bottom-up arc diff refresh of every commit above it to keep the stack applying cleanly. That refresh is what reset this revision's accepted status, not a content change.

@jlduran, could you re-accept when you get a chance?

Tue, Aug 25, 1:31 PM
jlduran added inline comments to D59043: nanobsd: Add _xxx_pkg_metalog.
Tue, Aug 25, 1:07 AM

Mon, Aug 24

jlduran committed rG595e665cb292: ministat.1: Match actual output (authored by jlduran).
ministat.1: Match actual output
Mon, Aug 24, 8:48 PM
jlduran closed D59157: ministat.1: Match actual output.
Mon, Aug 24, 8:48 PM
jlduran updated the diff for D59157: ministat.1: Match actual output.

Fix the output in the README file as well.

Mon, Aug 24, 7:22 PM
jlduran requested review of D59157: ministat.1: Match actual output.
Mon, Aug 24, 6:22 PM
jlduran added a comment to D58931: nanobsd: Normalize style in common functions.

The full stack of commits can be found here coderangshu/freebsd-src

Mon, Aug 24, 2:47 PM
jlduran added inline comments to D58968: nanobsd: Add basic update/rollback scripts.
Mon, Aug 24, 2:33 PM
jlduran added a comment to D58978: nanobsd: Handle the data partition in fstab.

It seems that this should be squashed into D58964.

Mon, Aug 24, 2:33 PM
jlduran added a comment to D58965: nanobsd: Rename NANO_PLAN gpt -> default, bump NANO_RAM_TMPVARSIZE.

Is this commit fixing something already in base?
If the answer is yes, then the commit message should carry the trailer:

Fixes:		<git log -n1 --format:'%h ("%s")' GIT-COMMIT-HASH>

If the answer is no, the it should be squashed with the commit that introduced this change in you revision stack, glancing over it, it looks like it should be D58964.

Mon, Aug 24, 1:27 PM
jlduran added a comment to D58982: nanobsd: Add an optional CIDATA partition.
In D58982#1355684, @imp wrote:

Why FAT?

As per my knowledge, nuageinit(7) manpage accepts either msdosfs (FAT) or cd9660 (ISO9660).
For why FAT was chosen over ISO9660, I need @jlduran's views on this.

Mon, Aug 24, 1:24 PM
jlduran added a comment to D59045: nanobsd: Add _xxx_pkg_add_var_db_files_to_metalog.

Please provide the full URL: https://github.com/freebsd/pkg/issues/2672 in the commit log.

Mon, Aug 24, 12:13 PM
jlduran added a comment to D59046: nanobsd: Add _xxx_pkg_db_vacuum.

I think this should only do a vacuum (integrity check).
So far we have not been able to create deterministic pkgbase images.

As per my understanding, I'd like to keep the dump rather than dropping it, the function just dumps the db as a precondition for someday diffing/reproducing images.

Mon, Aug 24, 12:08 PM

Sun, Aug 23

jlduran added inline comments to D58968: nanobsd: Add basic update/rollback scripts.
Sun, Aug 23, 3:48 PM
jlduran added a comment to D58979: nanobsd: Account for different precompiled kernels.

At this point, I think this can be squashed into D58951.

Sun, Aug 23, 3:40 PM
jlduran abandoned D51920: libkern: qsort: Sync with libc sources.
Sun, Aug 23, 3:26 PM
jlduran abandoned D46677: boot: Check current loader file before overwriting.
Sun, Aug 23, 3:25 PM
jlduran accepted D58902: ng_bridge: do not move hosts from learnMac=0 hooks.

The comment is somewhat strange (I understand: Uplink sets learnMac=0, which prevents both learning new MAC addresses and moving existing hosts).

Sun, Aug 23, 3:07 PM
jlduran added a comment to D58976: nanobsd: Rename the gpt directory to defaults.

Squash into D58964.

Sun, Aug 23, 2:34 PM
jlduran added a comment to D58977: nanobsd: Remove spurious MBR-specific stuff.

Style only revision -> D58931.

Sun, Aug 23, 2:31 PM

Fri, Aug 21

jlduran committed rG2916ae647303: makefs: Fix atime tests on MS-DOS (FAT) file systems (authored by jlduran).
makefs: Fix atime tests on MS-DOS (FAT) file systems
Fri, Aug 21, 7:16 PM
jlduran closed D54584: makefs: Fix atime tests on MS-DOS (FAT) file systems.
Fri, Aug 21, 7:15 PM
jlduran committed rG5fece2484324: makefs: zfs: Allow the path vdev property to be set (authored by jlduran).
makefs: zfs: Allow the path vdev property to be set
Fri, Aug 21, 7:04 PM
jlduran closed D59031: makefs: zfs: Allow the path vdev property to be set.
Fri, Aug 21, 7:04 PM
jlduran added a comment to D59045: nanobsd: Add _xxx_pkg_add_var_db_files_to_metalog.

I'm confused with the commit message: "since pkg generates them dynamically and does not emit them into package manifests."

  1. Dynamic generation is intrinsic to pkg.
  2. Perhaps most importantly is why we are doing this. It is because pkg does not generate a valid mtree (METALOG). All these metalog-related _xxx_ issues should point to https://github.com/freebsd/pkg/issues/2672.
Fri, Aug 21, 2:05 PM
jlduran added a comment to D59046: nanobsd: Add _xxx_pkg_db_vacuum.

I think this should only do a vacuum (integrity check).
So far we have not been able to create deterministic pkgbase images.

Fri, Aug 21, 1:57 PM
jlduran added a comment to D58959: nanobsd: Disable pkg repositories on target image.

Remove git conflict markers.

Fri, Aug 21, 1:53 PM
jlduran added a comment to D58980: nanobsd: Do not ship with a FreeBSD-local directory.

This commit should be squashed with D58959.

Fri, Aug 21, 1:52 PM

Thu, Aug 20

jlduran added inline comments to D58964: nanobsd: Add gpt support.
Thu, Aug 20, 5:25 PM
jlduran added inline comments to D58954: nanobsd: Synchronize target pkg database with image modifications.
Thu, Aug 20, 4:37 PM
jlduran accepted D59036: nanobsd: Add _xxx_libarchive_mtree_bug.
Thu, Aug 20, 4:33 PM
jlduran added inline comments to D58979: nanobsd: Account for different precompiled kernels.
Thu, Aug 20, 4:10 PM
jlduran accepted D58963: nanobsd: Disable dumpdev.

This revision should be moved to very early in the stack, as this is an option we should already have for NanoBSD.
I fail to understand the "matching the existing entropy settings for the read only root" part in the commit message though.

Thu, Aug 20, 4:04 PM
jlduran added inline comments to D58959: nanobsd: Disable pkg repositories on target image.
Thu, Aug 20, 3:57 PM
jlduran added a comment to D58958: nanobsd: Fix pkg audit.

This revision should be squashed with D58951.
In fact, those revisions that start the commit message with: Fix... should be squashed accordingly to its root commit, unless they fix something already in base.

Thu, Aug 20, 3:44 PM
jlduran added a comment to D58934: nanobsd: Add _xxx_includes.subr.

As a side note, remember that the MAINTAINER of NanoBSD is @imp, so he must be tagged as a reviewer. He happens to be auto-subscribed to all revisions, but it is better to explicitly add him as a reviewer, at least for the crucial ones.
Thank you!

Thu, Aug 20, 3:31 PM
jlduran accepted D58934: nanobsd: Add _xxx_includes.subr.
Thu, Aug 20, 3:28 PM
jlduran accepted D59035: nanobsd: Add _xxx_remove_extra_dist_files.
Thu, Aug 20, 3:26 PM
jlduran accepted D58933: nanobsd: Add an err() convenience function.
Thu, Aug 20, 3:23 PM
jlduran accepted D59032: New version of jng (9.2).
Thu, Aug 20, 3:18 PM · Netgraph
jlduran added a comment to D59031: makefs: zfs: Allow the path vdev property to be set.

I prefer that when I issue a zpool status command, I see a GPT label. Please let me know if this is not the best practice anymore.

Thu, Aug 20, 4:39 AM
jlduran added reviewers for D59031: makefs: zfs: Allow the path vdev property to be set: markj, ZFS.
Thu, Aug 20, 4:35 AM
jlduran requested review of D59031: makefs: zfs: Allow the path vdev property to be set.
Thu, Aug 20, 4:34 AM

Wed, Aug 19

jlduran added a comment to D52203: openssh: Fix shosts.equiv path in manual pages.

Hi @emaste!
Can I land this patch? I saw you vendor-imported 10.5p1?

Wed, Aug 19, 6:34 PM
jlduran added a comment to D58957: nanobsd: Remove chflags call in install_world().

I would recommend squashing the majority of this commit with D58931, as the changes are mostly NFC (the leftovers).

Wed, Aug 19, 5:34 PM
jlduran added a comment to D58934: nanobsd: Add _xxx_includes.subr.

_xxx_-prefixed functions are supposed to be removed at some point:
As explained in the last call, I would prefer if each _xxx_-prefixed function is introduced in a separate commit, with its associated pull request/bug report. In that way, we can simply revert that commit once the fix is implemented.
For example, the function _xxx_libarchive_mtree_bug() is no longer necessary in -CURRENT, but we still want it to land so we can MFC it into stable/15, after which we can just revert the commit that introduced it.
I would even add some witty comment at the beginning of the file along the lines of: # "Nothing is more permanent than a temporary solution" as encouragement, in lieu of # Functions in this file should be removed before submitting our changes upstream, as that ship has already sailed.

Wed, Aug 19, 5:13 PM
jlduran added inline comments to D58964: nanobsd: Add gpt support.
Wed, Aug 19, 4:39 PM
jlduran added a comment to D58975: nanobsd: Remove all traces of a recovery ESP.

This patch is a fix/cleanup, and should be squashed with the introduction of its original functions.

Wed, Aug 19, 4:37 PM