Recent reports of needing to avoid META_MODE for head kernel builds for updates: a preliminary investigation

From: Mark Millard <markmi_at_dsl-only.net>
Date: Mon, 26 Jun 2017 20:11:23 -0700
For an example of the recent reports:

David Wolfskill david at catwhisker.org wrote on
Mon Jun 26 12:44:20 UTC 2017 :

> On Mon, Jun 26, 2017 at 03:29:59PM +0300, Konstantin Belousov wrote:
> > ...
> >
> > Hmmm.....
> >
> > As if computer tries to say you, do not use meta mode.
> 
> 
> For building the kernel, on head as of some commit after r320307 (but
> by r320324).

While there are other kernel issues going on I decided to try to
investigate the difference in meta mode incremental build results
vs. full rebuild.

I started with head -r320192. This sequence avoids updating
the live kernel (since other problems are being looked into).
Local DESTDIR's are used for installkernel.

# more ~/src.configs/src.conf.amd64-clang.amd64-host 
TO_TYPE=amd64
#
KERNCONF=GENERIC-NODBG
TARGET=${TO_TYPE}
.if ${.MAKE.LEVEL} == 0
TARGET_ARCH=${TO_TYPE}
.export TARGET_ARCH
.endif
#
#WITH_CROSS_COMPILER=
WITH_SYSTEM_COMPILER=
#
WITH_LIBCPLUSPLUS=
WITH_BINUTILS_BOOTSTRAP=
WITH_ELFTOOLCHAIN_BOOTSTRAP=
#WITH_CLANG_BOOTSTRAP=
WITH_CLANG=
WITH_CLANG_IS_CC=
WITH_CLANG_FULL=
WITH_CLANG_EXTRAS=
WITH_LLD=
WITHOUT_LLD_IS_LD=
WITH_LLVM_LIBUNWIND=
WITH_LLDB=
#PORTS_MODULES=emulators/virtualbox-ose-additions
#
WITH_BOOT=
WITH_LIB32=
#
WITHOUT_GCC_BOOTSTRAP=
WITHOUT_GCC=
WITHOUT_GCC_IS_CC=
WITHOUT_GNUCXX=
#
NO_WERROR=
#WERROR=
MALLOC_PRODUCTION=
#
WITH_REPRODUCIBLE_BUILD=
WITH_DEBUG_FILES=

Note the "WITH_REPRODUCIBLE_BUILD=".

From a -r320192 context I did:

svnlite update -r320387 /usr/src

I then used my usual script to do buildworld buildkernel. It updated things
in the pre-existing /usr/obj/amd64_clang/amd64.amd64/ . (I cause the
explicit amd64.amd64 deliberately. This is not a cross build.)

I'll note that I've been using /usr/obj/amd64_clang/amd64.amd64/ for
incremental builds for a long time. (This will show up later.)

I then used the script to:

installkernel DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387

I then moved /usr/obj/amd64_clang/ to be /usr/obj/amd64_clang_192_387/ for
later potential detailed comparisons. I then redid the buildworld buildkernel 
which produced another /usr/obj/amd64_clang/ but from scratch this time.

I then used the script to:

installkernel DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387

I then did (the D %C avoids date/time text being different):

# ls -lD %C /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/ > ~/ls_192_387_kernel.txt
# ls -lD %C /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/ > ~/ls_noth_387_kernel.txt

allowing me to compare sizes and permissions:

# diff -u ~/ls_192_387_kernel.txt ~/ls_noth_387_kernel.txt | more
--- /root/ls_192_387_kernel.txt 2017-06-26 16:13:25.734588000 -0700
+++ /root/ls_noth_387_kernel.txt        2017-06-26 18:22:34.001866000 -0700
_at__at_ -1,4 +1,4 _at__at_
-total 69163
+total 68995
 -r-xr-xr-x  1 root  wheel    107664 20 aac.ko
 -r-xr-xr-x  1 root  wheel    105232 20 aacraid.ko
 -r-xr-xr-x  1 root  wheel      6296 20 accf_data.ko
_at__at_ -270,7 +270,7 _at__at_
 -r-xr-xr-x  1 root  wheel     41968 20 if_gre.ko
 -r-xr-xr-x  1 root  wheel     41664 20 if_hme.ko
 -r-xr-xr-x  1 root  wheel     18192 20 if_ic.ko
-lrwxr-xr-x  1 root  wheel        80 20 if_igb.ko -> /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/if_em.ko
+lrwxr-xr-x  1 root  wheel        80 20 if_igb.ko -> /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/if_em.ko
 -r-xr-xr-x  1 root  wheel     24000 20 if_ipheth.ko
 -r-xr-xr-x  1 root  wheel     78344 20 if_ipw.ko
 -r-xr-xr-x  1 root  wheel    113544 20 if_iwi.ko
_at__at_ -419,7 +419,7 _at__at_
 -r-xr-xr-x  1 root  wheel     12160 20 joy.ko
 -r-xr-xr-x  1 root  wheel     46984 20 kbdmux.ko
 -r-xr-xr-x  1 root  wheel     14168 20 kern_testfrwk.ko
--r-xr-xr-x  1 root  wheel  27479832 20 kernel
+-r-xr-xr-x  1 root  wheel  27307184 20 kernel
 -r-xr-xr-x  1 root  wheel    105216 20 kgssapi.ko
 -r-xr-xr-x  1 root  wheel     53840 20 kgssapi_krb5.ko
 -r-xr-xr-x  1 root  wheel    163976 20 krpc.ko

[Note: there is still a problem of if_igb.ko being handled as
a full-pathj symbolic link such that copying kernels around 
need not end up with a working if_igb.ko . I doubt that this
is the problem that the reports are about.]

The kernel from the incremental build is larger
(includes more?).

Of this the kernel being a different size would
seem to be a problem. But going in a different
direction that is more detailed (content comparison
spanning all of boot, not just boot/kernel/ ):

# diff -r /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/ /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/ | more
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/aesni.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/aesni.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/ath_hal_ar5416.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/ath_hal_ar5416.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/cam.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/cam.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/dtrace.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/dtrace.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/fasttrap.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/fasttrap.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/geom_raid.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/geom_raid.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/geom_raid3.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/geom_raid3.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/if_de.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/if_de.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/if_jme.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/if_jme.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/if_mxge.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/if_mxge.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/if_oce.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/if_oce.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/if_qlnxe.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/if_qlnxe.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/if_qlxge.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/if_qlxge.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/if_vr.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/if_vr.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/if_vtnet.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/if_vtnet.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/ipfw.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/ipfw.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/ipl.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/ipl.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/kernel and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/kernel differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/krpc.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/krpc.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/linker.hints and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/linker.hints differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/linux.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/linux.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/linux64.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/linux64.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/nfscommon.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/nfscommon.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/nfsd.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/nfsd.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/ng_ksocket.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/ng_ksocket.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/pf.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/pf.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/snd_emu10kx.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/snd_emu10kx.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/sysvmsg.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/sysvmsg.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/t4_tom.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/t4_tom.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/wlan.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/wlan.ko differ
Binary files /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/zfs.ko and /usr/obj/DESTDIRs/clang-amd64-installkernel-nothing_r320387/boot/kernel/zfs.ko differ

So a fair number of .ko files also end up being different
by content for a from-scratch build, not just kernel .

Going through looking at .o files for size and permissions. . .

--- /root/ls_192_387_sys_o.txt  2017-06-26 16:54:32.669034000 -0700
+++ /root/ls_noth_387_sys_o.txt 2017-06-26 18:24:19.604302000 -0700

(So "+" is the from-scratch build again.)

Some are different in size (just a couple of examples are
shown of the many):

--rw-r--r--  1 root  wheel  310240 20 ./GENERIC-NODBG/aacraid.o
+-rw-r--r--  1 root  wheel  310264 20 ./GENERIC-NODBG/aacraid.o

--rw-r--r--  1 root  wheel  128960 20 ./GENERIC-NODBG/ar9280_olc.o
+-rw-r--r--  1 root  wheel  128976 20 ./GENERIC-NODBG/ar9280_olc.o

Looking also at dates for the above (and any other name matches):


aacraid.o . . .
/root/ls_192_387_sys_o_with_date.txt:-rw-r--r--  1 root  wheel  310240 Jun 19 22:38:55 2017 ./GENERIC-NODBG/aacraid.o
/root/ls_192_387_sys_o_with_date.txt:-rw-r--r--  1 root  wheel  283504 Jun 26 15:56:22 2017 ./GENERIC-NODBG/modules/usr/src/sys/modules/aacraid/aacraid.o

/root/ls_noth_387_sys_o_with_date.txt:-rw-r--r--  1 root  wheel  310264 Jun 26 18:20:07 2017 ./GENERIC-NODBG/aacraid.o
/root/ls_noth_387_sys_o_with_date.txt:-rw-r--r--  1 root  wheel  283504 Jun 26 18:16:44 2017 ./GENERIC-NODBG/modules/usr/src/sys/modules/aacraid/aacraid.o

So for the incremental upgrade the module's aacraid.o was
rebuilt but the non-module one was not updated.

ar9280_olc.o . . .
/root/ls_192_387_sys_o_with_date.txt:-rw-r--r--  1 root  wheel  128960 Jun 19 22:39:42 2017 ./GENERIC-NODBG/ar9280_olc.o
/root/ls_192_387_sys_o_with_date.txt:-rw-r--r--  1 root  wheel  128984 May  3 02:38:30 2017 ./GENERIC-NODBG/modules/usr/src/sys/modules/ath/ar9280_olc.o
/root/ls_192_387_sys_o_with_date.txt:-rw-r--r--  1 root  wheel  129000 Jun 26 15:56:36 2017 ./GENERIC-NODBG/modules/usr/src/sys/modules/ath_hal_ar5416/ar9280_olc.o

/root/ls_noth_387_sys_o_with_date.txt:-rw-r--r--  1 root  wheel  128976 Jun 26 18:20:16 2017 ./GENERIC-NODBG/ar9280_olc.o
/root/ls_noth_387_sys_o_with_date.txt:-rw-r--r--  1 root  wheel  129024 Jun 26 18:16:57 2017 ./GENERIC-NODBG/modules/usr/src/sys/modules/ath_hal_ar5416/ar9280_olc.o

In this last case the number of files does not match: the
"May 3" is extra. Again the module's .o was updated by the
incremental build but the non-module one was not.


Some exist only in the -r320192 -> -r320387 incremental build:
(some omitted but incremental builds seem to not clean out old
.o's from prior buildkernel activity in general)

--rw-r--r--  1 root  wheel  46992 20 ./GENERIC-NODBG/amd64_mem.o
--rw-r--r--  1 root  wheel  4176 20 ./GENERIC-NODBG/eisa_if.o
--rw-r--r--  1 root  wheel  27064 20 ./GENERIC-NODBG/hv_heartbeat.o
--rw-r--r--  1 root  wheel  87368 20 ./GENERIC-NODBG/hv_net_vsc.o
--rw-r--r--  1 root  wheel  278712 20 ./GENERIC-NODBG/hv_netvsc_drv_freebsd.o
--rw-r--r--  1 root  wheel  101920 20 ./GENERIC-NODBG/hv_rndis_filter.o
--rw-r--r--  1 root  wheel  27704 20 ./GENERIC-NODBG/hv_shutdown.o
--rw-r--r--  1 root  wheel  38008 20 ./GENERIC-NODBG/hv_timesync.o
--rw-r--r--  1 root  wheel  24640 20 ./GENERIC-NODBG/hv_util.o
--rw-r--r--  1 root  wheel  590520 20 ./GENERIC-NODBG/if_igb.o
--rw-r--r--  1 root  wheel  465848 20 ./GENERIC-NODBG/if_lem.o
--rw-r--r--  1 root  wheel  86488 20 ./GENERIC-NODBG/ip_ipsec.o
--rw-r--r--  1 root  wheel  153472 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/ath/ah.o
--rw-r--r--  1 root  wheel  99056 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/ath/ah_eeprom_9287.o
--rw-r--r--  1 root  wheel  90416 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/ath/ah_eeprom_v1.o
--rw-r--r--  1 root  wheel  100608 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/ath/ah_eeprom_v14.o
--rw-r--r--  1 root  wheel  151288 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/ath/ah_eeprom_v3.o
. . .
--rw-r--r--  1 root  wheel  245592 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/ath/if_ath_tx_edma.o
--rw-r--r--  1 root  wheel  226432 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/ath/if_ath_tx_ht.o
--rw-r--r--  1 root  wheel  289928 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/ath/sample.o
--rw-r--r--  1 root  wheel  18440 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/bhnd/bhnd_nvram.o
--rw-r--r--  1 root  wheel  161840 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/bhnd/bhnd_nvram_common.o
--rw-r--r--  1 root  wheel  67320 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/bhnd/bhnd_nvram_parser.o
--rw-r--r--  1 root  wheel  40488 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/bhnd/bhnd_sprom_parser.o
--rw-r--r--  1 root  wheel  34728 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/bhnd/bhnd_sprom_subr.o
--rw-r--r--  1 root  wheel  31976 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/bhnd/cores/bhnd_chipc/bhnd_sprom_chipc.o
--rw-r--r--  1 root  wheel  115256 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/bhnd/cores/bhnd_chipc/chipc.o
--rw-r--r--  1 root  wheel  46264 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/bhnd/cores/bhnd_chipc/chipc_subr.o
--rw-r--r--  1 root  wheel  133560 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/bhnd/nvram_subr.o
--rw-r--r--  1 root  wheel  247344 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/ctl/ctl_frontend_iscsi.o
--rw-r--r--  1 root  wheel  162408 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/cxgbe/cxgbei/cxgbei_ulp2_ddp.o
--rw-r--r--  1 root  wheel  174752 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/i915/i915_dma.o
--rw-r--r--  1 root  wheel  120016 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/i915/i915_drv.o
--rw-r--r--  1 root  wheel  141880 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/i915/i915_irq.o
--rw-r--r--  1 root  wheel  134000 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/i915/i915_mem.o
--rw-r--r--  1 root  wheel  136912 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/i915/i915_suspend.o
--rw-r--r--  1 root  wheel  208104 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/radeon/r300_cmdbuf.o
--rw-r--r--  1 root  wheel  174912 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/radeon/r600_blit.o
--rw-r--r--  1 root  wheel  339512 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/radeon/r600_cp.o
--rw-r--r--  1 root  wheel  245632 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/radeon/radeon_cp.o
--rw-r--r--  1 root  wheel  156736 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/radeon/radeon_cs.o
--rw-r--r--  1 root  wheel  140072 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/radeon/radeon_drv.o
--rw-r--r--  1 root  wheel  139608 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/radeon/radeon_irq.o
--rw-r--r--  1 root  wheel  129824 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/radeon/radeon_mem.o
--rw-r--r--  1 root  wheel  352464 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/drm/radeon/radeon_state.o
--rw-r--r--  1 root  wheel  816 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/dtrace/dtrace/assym.o
--rw-r--r--  1 root  wheel  430976 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/em/if_lem.o
--rw-r--r--  1 root  wheel  117376 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/en/if_en_pci.o
--rw-r--r--  1 root  wheel  236040 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/en/midway.o
--rw-r--r--  1 root  wheel  282368 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/fatm/if_fatm.o
--rw-r--r--  1 root  wheel  83520 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/geom/geom_part/geom_part_pc98/g_part_pc98.o
--rw-r--r--  1 root  wheel  310872 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/hatm/if_hatm.o
--rw-r--r--  1 root  wheel  93040 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/hatm/if_hatm_intr.o
--rw-r--r--  1 root  wheel  77992 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/hatm/if_hatm_ioctl.o
--rw-r--r--  1 root  wheel  77784 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/hatm/if_hatm_rx.o
--rw-r--r--  1 root  wheel  151736 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/hatm/if_hatm_tx.o
--rw-r--r--  1 root  wheel  86872 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/hyperv/netvsc/hv_net_vsc.o
--rw-r--r--  1 root  wheel  243992 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/hyperv/netvsc/hv_netvsc_drv_freebsd.o
--rw-r--r--  1 root  wheel  101480 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/hyperv/netvsc/hv_rndis_filter.o
--rw-r--r--  1 root  wheel  27240 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/hyperv/utilities/hv_heartbeat.o
--rw-r--r--  1 root  wheel  27880 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/hyperv/utilities/hv_shutdown.o
--rw-r--r--  1 root  wheel  38184 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/hyperv/utilities/hv_timesync.o
--rw-r--r--  1 root  wheel  24824 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/hyperv/utilities/hv_util.o
--rw-r--r--  1 root  wheel  125184 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_80003es2lan.o
--rw-r--r--  1 root  wheel  78984 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_82540.o
--rw-r--r--  1 root  wheel  95856 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_82541.o
--rw-r--r--  1 root  wheel  69624 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_82542.o
--rw-r--r--  1 root  wheel  125888 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_82543.o
--rw-r--r--  1 root  wheel  166040 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_82571.o
--rw-r--r--  1 root  wheel  240320 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_82575.o
--rw-r--r--  1 root  wheel  91168 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_api.o
--rw-r--r--  1 root  wheel  96536 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_i210.o
--rw-r--r--  1 root  wheel  342880 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_ich8lan.o
--rw-r--r--  1 root  wheel  167104 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_mac.o
--rw-r--r--  1 root  wheel  76168 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_manage.o
--rw-r--r--  1 root  wheel  82936 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_mbx.o
--rw-r--r--  1 root  wheel  100096 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_nvm.o
--rw-r--r--  1 root  wheel  52456 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_osdep.o
--rw-r--r--  1 root  wheel  177672 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_phy.o
--rw-r--r--  1 root  wheel  59088 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/e1000_vf.o
--rw-r--r--  1 root  wheel  554784 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/igb/if_igb.o
--rw-r--r--  1 root  wheel  50496 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/mcd/mcd_isa.o
--rw-r--r--  1 root  wheel  47072 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/mem/amd64_mem.o
--rw-r--r--  1 root  wheel  26888 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/mmcsd/mmc_subr.o
--rw-r--r--  1 root  wheel  55000 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/msdosfs/msdosfs_fileno.o
--rw-r--r--  1 root  wheel  142248 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/patm/if_patm.o
--rw-r--r--  1 root  wheel  152064 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/patm/if_patm_attach.o
--rw-r--r--  1 root  wheel  102056 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/patm/if_patm_intr.o
--rw-r--r--  1 root  wheel  75560 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/patm/if_patm_ioctl.o
--rw-r--r--  1 root  wheel  40592 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/patm/if_patm_rtables.o
--rw-r--r--  1 root  wheel  107744 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/patm/if_patm_rx.o
--rw-r--r--  1 root  wheel  167912 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/patm/if_patm_tx.o
--rw-r--r--  1 root  wheel  19080 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/rtwnfw/rtwnrtl8192cUB/rtwn-rtl8192cfwU_B.o
--rw-r--r--  1 root  wheel  96288 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/scd/scd.o
--rw-r--r--  1 root  wheel  49512 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/scd/scd_isa.o
--rw-r--r--  1 root  wheel  96376 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/sfxge/efx_wol.o
--rw-r--r--  1 root  wheel  80552 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/sfxge/hunt_phy.o
--rw-r--r--  1 root  wheel  75160 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/si/si.o
--rw-r--r--  1 root  wheel  11952 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/si/si2_z280.o
--rw-r--r--  1 root  wheel  24904 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/si/si3_t225.o
--rw-r--r--  1 root  wheel  37416 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/si/si_isa.o
--rw-r--r--  1 root  wheel  33280 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/si/si_pci.o
--rw-r--r--  1 root  wheel  617464 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/urtwn/if_urtwn.o
--rw-r--r--  1 root  wheel  18136 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/urtwnfw/urtwnrtl8188eu/urtwn-rtl8188eufw.o
--rw-r--r--  1 root  wheel  18136 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/urtwnfw/urtwnrtl8192cT/urtwn-rtl8192cfwT.o
--rw-r--r--  1 root  wheel  18136 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/urtwnfw/urtwnrtl8192cU/urtwn-rtl8192cfwU.o
--rw-r--r--  1 root  wheel  55040 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/utopia/idtphy.o
--rw-r--r--  1 root  wheel  53400 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/utopia/suni.o
--rw-r--r--  1 root  wheel  123216 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/utopia/utopia.o
--rw-r--r--  1 root  wheel  12952 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/vmm/amdv.o
--rw-r--r--  1 root  wheel  204240 20 ./GENERIC-NODBG/modules/usr/src/sys/modules/zfs/gfs.o
--rw-r--r--  1 root  wheel  54880 20 ./GENERIC-NODBG/msdosfs_fileno.o
--rw-r--r--  1 root  wheel  75480 20 ./GENERIC-NODBG/nvme_all.o
--rw-r--r--  1 root  wheel  125568 20 ./GENERIC-NODBG/nvme_xpt.o
--rw-r--r--  1 root  wheel  82296 20 ./GENERIC-NODBG/procfs_ctl.o
--rw-r--r--  1 root  wheel  77320 20 ./GENERIC-NODBG/vm_unix.o
--rw-r--r--  1 root  wheel  892 20 ./boot/geli/explicit_bzero.o

(The somewhat manual process might have put a few extra lines above.)

If any of this is picked up and linked in to kernel it might explain
part of the kernel file size difference:
27479832 - 27307184 == 172648 .

I stop with this for now. It seems that as things are that one should
clean out the buildkernel materials at least for some types of build
contexts before doing another buildkernel.

===
Mark Millard
markmi at dsl-only.net
Received on Tue Jun 27 2017 - 01:11:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC