DragonFlyBSD Kernel Audit
DF-0803 / fix_build.log
← back to finding ↓ download raw
DF-0803 — single-fix kernel + ext2fs.ko build log
==================================================

The full /root/nk_fix3.log was on the guest disk and was lost when the
guest was reset to the with-src snapshot for the baseline re-confirmation
run. This file summarizes the build, which completed successfully.

Build host:    DragonFly dfbsd 6.5-DEVELOPMENT #0 (with-src snapshot)
Build cmd:     cd /usr/src && make -j6 nativekernel KERNCONF=X86_64_GENERIC
Patch applied: git apply /root/fix.diff (DF-0803 fix.diff, RC=0)
Launched:      2026-07-05 15:48 UTC (pid 851, fully detached w/ </dev/null)
Completed:     === NK_DONE rc=0 ===  at 2026-07-05 15:56:07 UTC (~8 min)

Build outputs (post-build, captured before reset):
  /usr/obj/usr/src/sys/X86_64_GENERIC/kernel.stripped   15,705,800 bytes
  /usr/obj/usr/src/sys/X86_64_GENERIC/kernel.debug     119,340,592 bytes
  /usr/obj/usr/src/sys/X86_64_GENERIC/usr/src/sys/vfs/ext2fs/ext2fs.ko
                                                        2,320,688 bytes

Patched-source confirmation (after git apply, before build):
  grep -A1 'gcount64 = howmany' sys/vfs/ext2fs/ext2_vfsops.c | head -2
        uint64_t gcount64 = howmany(fs->e2fs_bcount -
            le32toh(es->e2fs_first_dblock), EXT2_BLOCKS_PER_GROUP(fs));

Kernel build returned rc=0 with no `error:` or `Stop in` lines (verified
via `grep -E "=== NK_DONE|error:|Stop in" /root/nk_fix3.log`).

The freshly-built kernel + module were installed as:
  cp /usr/obj/.../kernel.stripped /boot/kernel/kernel
  cp /usr/obj/.../kernel.debug    /boot/kernel/kernel.debug
  cp /usr/obj/.../ext2fs.ko       /boot/kernel/ext2fs.ko
and the guest was rebooted. Booted kernel reported:
  DragonFly 6.5-DEVELOPMENT #1: Sun Jul  5 15:52:17 UTC 2026
  (baseline #0 was 2026-07-02 06:02:54)