DragonFlyBSD Kernel Audit
DF-2694 / fix_build.log
← back to finding ↓ download raw
== DF-2694/DF-2695 fix kernel builds (in-guest /usr/src) ==

Cycle 1 (fix v1 - M_SOLOCKED scan; superseded):
  $ cd /usr/src && git apply /tmp/fix.diff && make -j6 nativekernel
  ... 4299 kernel .c compiles ...
  RC=0
  $ make installkernel
  -> kernel #1 (first build); mode 0 (TCP) survived, mode 1 (AF_UNIX)
     still panicked -> fix v1 incomplete (generic soreceive never sets
     M_SOLOCKED); superseded by v2 below.

Cycle 2 (fix v2 - SSB_LOCK wait; the shipped fix.diff):
  $ cd /usr/src && git apply /tmp/fix.diff
  (patch hunk applied at sys/kern/uipc_socket.c:1992:
   "while ((ssb->ssb_flags & SSB_LOCK) && loops++ < 1000) {")
  $ make -j6 nativekernel && make installkernel
  ... 4299 kernel .c compiles ...
  >>> Kernel install for X86_64_GENERIC completed on Mon Aug 31 00:00:53 UTC 2026
  RC=0
  $ shutdown -r now
  -> DragonFly dfbsd 6.5-DEVELOPMENT #1: Sun Aug 30 23:56:25 UTC 2026
     root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64

NOTE: the full multi-thousand-line untrimmed make logs lived in the
guest's /tmp, which this guest clears on every reboot; the decisive
tail lines are recorded above verbatim.