DF-4780 / fix_run.log
############################################################################
# DF-4780 fix_run.log โ FIXED module, identical trigger (fresh boot)
# fix = guard atom dispatch: if (sc->sc_is_atom) { if (sc->sc_version != 0)
# corecstat_init_atom_cpu(sc, cpu); } else { corecstat_init_core_cpu(...); }
# + "#define INVARIANTS 1" on line 1 (same as baseline build).
# NOTE: with the fix, -O2 interprocedural analysis proves the KKASSERT condition
# always true (single static call site now guarded by sc_version != 0) and
# dead-code-eliminates the panic path โ the fixed .ko (11536 bytes) no longer
# contains the "assertion ... failed in" string for exactly this reason.
############################################################################
PATCH_LOADED
FIXED_LOADED
LOAD_RC=0
hw.sensors.dev_idmax: 7
corecstat2: <CPU Package C-State residency counters> on cpu2
device_probe_and_attach: corecstat2 attach returned 6
corecstat3: <CPU Package C-State residency counters> on cpu3
device_probe_and_attach: corecstat3 attach returned 6
corecstat4: <CPU Package C-State residency counters> on cpu4
device_probe_and_attach: corecstat4 attach returned 6
corecstat5: <CPU Package C-State residency counters> on cpu5
msr node0 PC2 residency (0x000003f8) not available
msr node0 PC4 residency (0x000003f9) not available
msr node0 PC6 residency (0x000003fa) not available
# ^ ONLY the 3 package probes โ the "core5 C1 res. (0x660)" / "core5 C6 res." lines
# are GONE: corecstat_init_atom_cpu() is no longer called for version 0.
UNLOAD_OK
hw.sensors.dev_idmax: 6
GUEST_STILL_UP
RUN_RC=0
# vm.sh status => up
#
# Earlier identical fix run (previous boot, same construction):
PATCH_LOADED
FIXED_CORECSTAT_LOADED
LOAD_RC=0
hw.sensors.dev_idmax: 7
corecstat5: <CPU Package C-State residency counters> on cpu5
msr node0 PC2 residency (0x000003f8) not available
msr node0 PC4 residency (0x000003f9) not available
msr node0 PC6 residency (0x000003fa) not available
UNLOAD_OK
hw.sensors.dev_idmax: 6
GUEST_STILL_UP