⬢ DragonFlyBSD Kernel Audit
DF-5485 / fix_build.log
← back to finding ↓ download raw
# DF-5485 fix build + install (guest session transcript; /tmp on the guest is
# MFS and was cleared by the reboot before harvest, so the decisive lines are
# reproduced here verbatim as captured during the run)
#
# patch applied to guest /usr/src copy (diff vs backup):
#   569,571c569,574
#   <       if (gas->AccessWidth != 0)
#   <               asz = gas->AccessWidth;
#   <       else
#   ---
#   >       if (gas->AccessWidth != 0) {
#   >               /* ACPI access-size enumeration: 1=byte 2=word 3=dword 4=qword */
#   >               if (gas->AccessWidth > 4)
#   >                       return 0;
#   >               asz = 1 << (gas->AccessWidth - 1);
#   >       } else {
#   572a576
#   >       }
#
# build:  cd /usr/src && make -j6 nativekernel KERNCONF=X86_64_GENERIC
#   (buildkernel refused: "You must buildworld before buildkernel" -> nativekernel)
#   ~2400 cc invocations under KVM, no errors, completed:
# --------------------------------------------------------------
# >>> Kernel build for X86_64_GENERIC completed on Tue Oct  6 08:01:55 UTC 2026
# --------------------------------------------------------------
#   /usr/obj/usr/src/sys/X86_64_GENERIC/kernel.debug
#   /usr/obj/usr/src/sys/X86_64_GENERIC/kernel.stripped
#
# install: cd /usr/src && make installkernel KERNCONF=X86_64_GENERIC
# --------------------------------------------------------------
# >>> Kernel install for X86_64_GENERIC completed on Tue Oct  6 08:13:07 UTC 2026
# --------------------------------------------------------------
#   -r-xr-xr-x  1 root wheel 119340704 Oct  6 08:09 /boot/kernel/kernel
#
# validation boot (same pstate_dword.bin, TCG SandyBridge + estforce):
#   uname -v: DragonFly 6.5-DEVELOPMENT #0: Tue Oct  6 ...   (fixed kernel)
#   see run.fixed.log for the decisive before/after