diff --git a/Kconfig.kernel b/Kconfig.kernel index 41cbb350..4ab0fe30 100644 --- a/Kconfig.kernel +++ b/Kconfig.kernel @@ -111,6 +111,15 @@ config STADIUM_CAPACITY_TICK tuning is DoE work (item 5.1), same treatment as the other placeholder constants in this file. +config STADIUM_HEAT_SLICE_CELLS + int "Stadium cells walked per heartbeat tick for the heartbeat's load (STADIUM_HEAT_SLICE_CELLS)" + default 5500 + help + The adaptive heartbeat paces by the Stadium's resident heat, walked a + slice each tick: a whole walk is cells / this many ticks. 5500 is about + 0.25 ms on aarch64 under TCG (measured 2026-11-19), a tenth of the + fastest tick. + config STADIUM_MEMORY_PERCENT int "Percent of free physical memory the Stadium claims at boot (STADIUM_MEMORY_PERCENT)" default 1 diff --git a/experiments/bare_metal/runs/doe-aarch64-20261119-020208.csv b/experiments/bare_metal/runs/doe-aarch64-20261119-020208.csv new file mode 100644 index 00000000..e69de29b diff --git a/experiments/bare_metal/runs/doe-aarch64-20261119-020944.csv b/experiments/bare_metal/runs/doe-aarch64-20261119-020944.csv new file mode 100644 index 00000000..e69de29b diff --git a/experiments/bare_metal/runs/doe-aarch64-20261119-021722.csv b/experiments/bare_metal/runs/doe-aarch64-20261119-021722.csv new file mode 100644 index 00000000..e69de29b diff --git a/experiments/bare_metal/runs/doe-aarch64-20261119-022453.csv b/experiments/bare_metal/runs/doe-aarch64-20261119-022453.csv new file mode 100644 index 00000000..e69de29b diff --git a/kernel/Makefile b/kernel/Makefile index c701ea66..8a483cd1 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -494,6 +494,7 @@ $(eval $(call kconfig_int,STADIUM_CONTAINS_DEPTH_MAX,5)) $(eval $(call kconfig_int,STADIUM_CAPACITY_TICK,1000)) $(eval $(call kconfig_int,STADIUM_MEMORY_PERCENT,1)) $(eval $(call kconfig_int,STADIUM_WORD_HEAT_QUANTUM,2048)) +$(eval $(call kconfig_int,STADIUM_HEAT_SLICE_CELLS,5500)) $(eval $(call kconfig_int,STADIUM_WORD_COOL_RATE_Q48,21845)) $(eval $(call kconfig_int,STADIUM_BLOCK_HEAT_QUANTUM,2048)) $(eval $(call kconfig_int,STADIUM_BLOCK_COOL_RATE_Q48,21845)) @@ -543,7 +544,7 @@ VM_FEATURE_FLAG_VARS := \ HEARTBEAT_SLOPE_VALIDATION_FREQUENCY SK_PARITY_DEBUG \ EMERGENCY_CONSOLE_ENABLED STADIUM_MAX_VM_COUNT \ STADIUM_CONTAINS_DEPTH_MAX STADIUM_CAPACITY_TICK \ - STADIUM_MEMORY_PERCENT \ + STADIUM_MEMORY_PERCENT STADIUM_HEAT_SLICE_CELLS \ SSM_ENTROPY_HIGH_THRESHOLD SSM_CV_HIGH_THRESHOLD \ SSM_TEMPORAL_DECAY_THRESHOLD SSM_TEMPORAL_DECAY_LOW_THRESHOLD \ SSM_HYSTERESIS_TICKS \ diff --git a/kernel/include/starkernel/timer.h b/kernel/include/starkernel/timer.h index c6fa2b08..cd740a0e 100644 --- a/kernel/include/starkernel/timer.h +++ b/kernel/include/starkernel/timer.h @@ -203,7 +203,9 @@ uint64_t heartbeat_read_counter(void); #define HEARTBEAT_PACE_EVERY 1000u /* samples between runs: Kconfig.heartbeat's inference frequency */ #endif #define HEARTBEAT_PACE_WINDOW 1024u /* the heartbeat's own rolling window, in samples */ -typedef uint64_t (*heartbeat_load_fn)(void); +/* The source does a slice of its work each call, and gives a sample (returns 1) when a whole one is done + * (2026-11-19: the Stadium walked a slice each tick); 0 otherwise. */ +typedef int (*heartbeat_load_fn)(uint64_t *sample); void heartbeat_pace_from(heartbeat_load_fn load); /* 0: no source, no pacing */ uint64_t heartbeat_pace_samples(void); uint64_t heartbeat_pace_runs(void); diff --git a/kernel/include/starkernel/vm/stadium.h b/kernel/include/starkernel/vm/stadium.h index 254a5f88..cd26f26e 100644 --- a/kernel/include/starkernel/vm/stadium.h +++ b/kernel/include/starkernel/vm/stadium.h @@ -397,6 +397,17 @@ uint64_t stadium_resident_sum(VMUuid vm_id); * by (kernel/src/heartbeat.c, heartbeat_pace_from; Captain Bob, 2026-11-17). Read only. */ uint64_t stadium_resident_heat_total(void); +/* The same total, walked a slice at a time (Captain Bob, 2026-11-19: "A slice each tick"). A whole walk of the + * Stadium is ~15 ms on aarch64 under TCG (335,544 cells, ~22,000 a millisecond), more than a heartbeat tick: the + * heartbeat that took it every tick starved the system (CI's aarch64 BIRTH stall). Each step walks the next `cells` + * cells into `w`; when the walk reaches the end it gives the sum in *sample, returns 1 and starts again; otherwise 0. + * A walk's sum is stadium_resident_heat_total() as it stood over the walk. Read only. */ +typedef struct { size_t cursor; uint64_t acc; } stadium_heat_walk; +int stadium_heat_walk_step(stadium_heat_walk *w, size_t cells, uint64_t *sample); +#ifndef STADIUM_HEAT_SLICE_CELLS +#define STADIUM_HEAT_SLICE_CELLS 5500u /* Kconfig: ~0.25 ms on aarch64 TCG, a tenth of the fastest tick (2.5 ms) */ +#endif + /* * stadium_conserved - Boolean analogue of vm_physics_conserved(), for the * Stadium per-VM quota invariant rather than fleet-wide execution heat diff --git a/kernel/src/heartbeat.c b/kernel/src/heartbeat.c index 1f52d298..d014c108 100644 --- a/kernel/src/heartbeat.c +++ b/kernel/src/heartbeat.c @@ -83,8 +83,9 @@ uint64_t heartbeat_pace_runs(void) { return g_pace_runs; } /* one sample of the load into the window; every HEARTBEAT_PACE_EVERY of them, the slope provider and Loop #7 */ static void pace_sample(void) { - if (!g_pace_load) return; - g_pace_window[g_pace_samples % HEARTBEAT_PACE_WINDOW] = g_pace_load(); + uint64_t v; + if (!g_pace_load || !g_pace_load(&v)) return; /* a slice each tick; a sample when a walk is done */ + g_pace_window[g_pace_samples % HEARTBEAT_PACE_WINDOW] = v; g_pace_samples++; #if STARFORTH_V4 if (g_pace_samples % HEARTBEAT_PACE_EVERY == 0) { diff --git a/kernel/src/v4/sk_v4.c b/kernel/src/v4/sk_v4.c index acbcd103..20f19619 100644 --- a/kernel/src/v4/sk_v4.c +++ b/kernel/src/v4/sk_v4.c @@ -95,6 +95,10 @@ static void sk_v4_release(void *self, void *p) { (void)self; kfree(p); } * Read by the mesh at every fabric step, which also gives the heartbeat's bottom half its turn during a line. */ static int sk_v4_heart_live; static uint64_t sk_v4_heart_base; +/* The heartbeat's one input: the Stadium's resident heat, walked a slice each tick (2026-11-19). */ +static stadium_heat_walk sk_v4_heat_walk; +static int sk_v4_heat(uint64_t *sample) { return stadium_heat_walk_step(&sk_v4_heat_walk, STADIUM_HEAT_SLICE_CELLS, sample); } + static uint64_t sk_v4_clock(void *self) { (void)self; @@ -356,7 +360,7 @@ void sk_v4_boot(void (*chain)(void), const BootDisk *boot_disk) sk_v4_mesh.physics = sk_v4_physics; sk_v4_mesh.alloc = sk_v4_alloc; sk_v4_mesh.release = sk_v4_release; sk_v4_mesh.clock = sk_v4_clock; - heartbeat_pace_from(stadium_resident_heat_total); /* the heartbeat's one input: the Stadium's resident heat */ + heartbeat_pace_from(sk_v4_heat); /* the heartbeat's one input: the Stadium's resident heat */ sk_v4_mesh.out = sk_v4_out; sk_v4_mesh.key = sk_v4_key; sk_v4_mesh.words = sk_v4_words; sk_v4_mesh.word_count = sizeof sk_v4_words / sizeof sk_v4_words[0]; sk_v4_mesh.serve = sk_v4_serve; diff --git a/kernel/src/vm/stadium.c b/kernel/src/vm/stadium.c index 70a1e6a0..4a641b97 100644 --- a/kernel/src/vm/stadium.c +++ b/kernel/src/vm/stadium.c @@ -832,6 +832,19 @@ uint64_t stadium_resident_heat_total(void) { return sum; } +int stadium_heat_walk_step(stadium_heat_walk *w, size_t cells, uint64_t *sample) { + size_t k; + if (!w || !sample || cells == 0 || stadium_ncells == 0) return 0; + if (w->cursor >= stadium_ncells) { w->cursor = 0; w->acc = 0; } + for (k = 0; k < cells && w->cursor < stadium_ncells; k++, w->cursor++) + if (bitmap_get(w->cursor)) w->acc += stadium_cell_array[w->cursor].header.heat; + if (w->cursor < stadium_ncells) return 0; + *sample = w->acc; + w->cursor = 0; + w->acc = 0; + return 1; +} + void stadium_consumed_record(VMUuid vm_id, uint64_t amount) { int slot = quota_slot_for_vm(vm_id); diff --git a/kernel/tests/test_heartbeat.c b/kernel/tests/test_heartbeat.c index 576b0cae..62c61284 100644 --- a/kernel/tests/test_heartbeat.c +++ b/kernel/tests/test_heartbeat.c @@ -26,14 +26,24 @@ void sk_vm_switch_signal_tick(void) { } static uint64_t load_value, loads_read; static int load_mode; /* 0 constant; 1 alternating, the same spread; 2 a spread that doubles each run */ -static uint64_t load(void) +static unsigned slices = 1; /* how many ticks a walk of the source takes (2026-11-19: a slice each tick) */ +static uint64_t value(void) { - loads_read++; if (load_mode == 1) return (loads_read & 1u) ? 100u : 200u; /* doubling for six runs, then back: v4's inference variance (v3's, ported to the bit) saturates beyond that */ if (load_mode == 2) return (loads_read & 1u) ? 100u : 100u + (100u << (heartbeat_pace_runs() % 6u)); return load_value; } +/* the source: a slice each call; a walk done every `slices` calls gives a sample */ +static unsigned slice_at; +static int load(uint64_t *sample) +{ + if (++slice_at < slices) return 0; + slice_at = 0; + loads_read++; + *sample = value(); + return 1; +} #define BASE 10000000ULL @@ -92,6 +102,19 @@ int main(void) CHECK(heartbeat_next_period_ns() >= BASE / 4u && heartbeat_next_period_ns() <= BASE * 4u, "a constant load: within the bounds (%llu)", (unsigned long long)heartbeat_next_period_ns()); + /* a source whose walk takes three ticks (the Stadium walked a slice at a time): a sample every third tick, + * and the slope provider runs after HEARTBEAT_PACE_EVERY samples, not ticks */ + heartbeat_pace_from(0); heartbeat_init(100000u, 100u); + load_mode = 1; loads_read = 0; slices = 3; slice_at = 0; + heartbeat_pace_from(load); + ticks(30); + CHECK(heartbeat_pace_samples() == 10 && loads_read == 10, "a walk of three slices: 30 ticks, 10 samples (%llu)", + (unsigned long long)heartbeat_pace_samples()); + ticks(HEARTBEAT_PACE_EVERY * 3u - 30u); + CHECK(heartbeat_pace_runs() == 1, " and the slope provider runs after %u samples: %u ticks", HEARTBEAT_PACE_EVERY, + HEARTBEAT_PACE_EVERY * 3u); + slices = 1; + /* stopped: no source, no pacing */ heartbeat_pace_from(0); { diff --git a/kernel/tests/test_stadium_node.c b/kernel/tests/test_stadium_node.c index 8c626033..60999036 100644 --- a/kernel/tests/test_stadium_node.c +++ b/kernel/tests/test_stadium_node.c @@ -65,5 +65,23 @@ int main(void) CHECK(total + stadium_reservoir_peek(key) == Q48_ONE, "with its reservoir, the whole share: 1.0"); CHECK(stadium_resident_heat_total() == total && stadium_conserved(key), "read twice, the same; nothing changed"); } + /* the same total, walked a slice at a time (2026-11-19, Captain Bob: "A slice each tick"): the heartbeat + * takes its one input from a walk of so many cells per tick, so no tick pays for the whole Stadium */ + { + stadium_heat_walk w = { 0, 0 }; + uint64_t total = stadium_resident_heat_total(), sample = 0; + size_t ncells = stadium_cell_count(); + unsigned calls = 0; + int done = 0; + while (!done && calls < 10000000u) { done = stadium_heat_walk_step(&w, 7, &sample); calls++; } + CHECK(done && sample == total, "walked 7 cells at a time, a walk's sum is the resident heat (%llu, %llu)", + (unsigned long long)sample, (unsigned long long)total); + CHECK(calls == (ncells + 6u) / 7u, " and it is done after ceil(cells / 7) slices (%u, of %zu cells)", calls, ncells); + calls = 0; done = 0; sample = 0; + while (!done && calls < 10000000u) { done = stadium_heat_walk_step(&w, 7, &sample); calls++; } + CHECK(done && sample == total && calls == (ncells + 6u) / 7u, " then it starts again: the next walk the same"); + CHECK(stadium_heat_walk_step(&w, 0, &sample) == 0, "a slice of no cells finishes nothing"); + CHECK(stadium_conserved(key), " and walking changed nothing"); + } return DONE(); } diff --git a/logs/20261119-020208/aarch64/qemu-aarch64-20261119-020208.log b/logs/20261119-020208/aarch64/qemu-aarch64-20261119-020208.log new file mode 100644 index 00000000..23417628 --- /dev/null +++ b/logs/20261119-020208/aarch64/qemu-aarch64-20261119-020208.log @@ -0,0 +1,179 @@ +UEFI firmware (version 2024.02-2ubuntu0.10 built at 15:40:28 on Sep 23 2026) +[=3h[=3hBdsDxe: loading Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) +BdsDxe: starting Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) +[=3hStarKernel UEFI Loader +Loading kernel from ESP... +[CKPT 001] Entered efi_main - ConOut live +Collecting boot information... +[CKPT 004] Command line parsed +[CKPT 005] Kernel stack allocation decided +[CKPT 006] Boot info collected (ACPI table located) +[CKPT 007] GOP: linear framebuffer found +[CKPT 008] About to enter ExitBootServices retry loop + + + _____ _ _ __ _ + / ____| | | |/ / | | + | (___ | |_ __ _ _ __| ' / ___ _ __ _ __ ___| | + \___ \| __/ _` | '__| < / _ \ '__| '_ \ / _ \ | + ____) | || (_| | | | . \ __/ | | | | | __/ | + |_____/ \__\__,_|_| |_|\_\___|_| |_| |_|\___|_| + +LithosAnanke v4.0.0-alpha.5 aarch64 +Architecture: aarch64 +Build: Nov 19 2026 02:01:40 + +UEFI BootServices: EXITED +Console: serial line is a PL011 at 0x0000000009000000 (no devicetree: QEMU's) + +=== StarKernel Boot Information === +Memory map entries: 33 +Total memory: 4093 MB +Usable memory: 4052 MB +=================================== + +PMM initialized. +PMM statistics: + Total pages: 1038856 + Free pages : 1037432 + Used pages : 1424 + Total MB : 4058 + Free MB : 4052 + Used MB : 5 + +VMM initialized (mapped RAM, CR3 switched) +VMM initialized (mapped RAM, CR3 switched) +VMM self-test: mapped OK at 0xffff800000000000 +VMM self-test complete. + +AArch64: running at EL1 +IDT installed. + +APIC: init... +PSCI: no DTB -- using HVC (QEMU virt-machine default) +GICv2: no DTB GIC node -- using QEMU virt-machine defaults +GICv2: distributor+CPU interface enabled, PPI 30 +APIC: init done + +Timer: init... +Timer: AArch64 generic timer initialised. +Timer: init done + +Kernel heap initialized. +Heap statistics: + Total bytes: 2147483608 + Free bytes: 2147483608 + Used bytes: 0 + Peak bytes: 0 + Heap base addr: 1207959552 + Heap end addr: 3355443200 + +Heartbeat: init... +Heartbeat: init done +Kernel initialization complete. +Boot successful! + +Boot disk: not a StarshipOS stick +System: StarForth v4 (this build's default) +Stadium: 335544 cells (20971 KB), 202 VM slots +Switch-signal: 202 slots +Kernel-Hermes: 202 channel slots +Kernel-Hermes: 202 pending-queue slots +StarForth v4: Hera, born in the kernel's fabric +V4: capsule v4:sys:map-64.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:map-64.f18 capsule_hash=0x06cb44832df2b8fd +V4: capsule v4:sys:core.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:core.f18 capsule_hash=0x0f415502fccc3fba +V4: capsule v4:sys:input.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:input.f18 capsule_hash=0x0f13c3f9d5fd07fc +V4: capsule v4:sys:dict.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:dict.f18 capsule_hash=0xe3453808afd5a0af +V4: capsule v4:sys:codegen.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:codegen.f18 capsule_hash=0x36d2ae84d2911b90 +V4: capsule v4:sys:compile.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:compile.f18 capsule_hash=0xb46bf77ceee7245a +V4: capsule v4:sys:quit.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:quit.f18 capsule_hash=0x7fa7a7668b6bf1ed +V4: capsule v4:sys:forth.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:forth.f18 capsule_hash=0xc4c0ad315c95eda4 +V4: capsule v4:sys:numout.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:numout.f18 capsule_hash=0xca0fb0f9c1589e20 +V4: capsule v4:sys:words.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:words.f18 capsule_hash=0x2f4e5f7f3e7f736f +V4: capsule v4:sys:system.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:system.f18 capsule_hash=0xfe257eb084c43a5d +V4: capsule v4:sys:qmath.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:qmath.f18 capsule_hash=0xa93783c2c8f9b7db +V4: capsule v4:sys:blocks.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:blocks.f18 capsule_hash=0x09d361dbe6174236 +V4: capsule v4:sys:log.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:log.f18 capsule_hash=0x544cd004233dff62 +V4: capsule v4:sys:acl.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:acl.f18 capsule_hash=0x76e7e746befa2733 +V4: capsule v4:sys:end.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:end.f18 capsule_hash=0x98fd33b1c431cfe7 +PARITY:V4_ROM words=2383 rom_hash=0xd858ef412d684f92 instructions=63411003 +V4: capsule v4:forth79.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:forth79.4th capsule_id=0x4609d6ef54166ef8 capsule_hash=0x4609d6ef54166ef8 dict_hash=0x71be72a2ab8daaad +V4: capsule v4:starshipos.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:starshipos.4th capsule_id=0x1734a8f4fe7483a5 capsule_hash=0x1734a8f4fe7483a5 dict_hash=0xa461a1e1146cda29 +V4: capsule v4:centre.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:centre.4th capsule_id=0xea5815290d56dff3 capsule_hash=0xea5815290d56dff3 dict_hash=0x50efc3b2760c96e2 +V4: capsule v4:hera.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:hera.4th capsule_id=0x78730b1d6effe892 capsule_hash=0x78730b1d6effe892 dict_hash=0x5b59c0e119ee3fba +V4: capsule v4:physics.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:physics.4th capsule_id=0x5b0195fc30828bde capsule_hash=0x5b0195fc30828bde dict_hash=0xd9d729b0640e1879 +PARITY:V4_POST tests=990 pass=990 fail=0 +PARITY:V4_SYSTEM word_count=404 dict_hash=0x847bd8ef42f53e14 +PARITY:OK +POST: PASSED +PCI: init... +virtio-rng: found device +rng: backend = virtio-rng +entropy: ready +virtio-input: found device +virtio-input: driver ready +Starting heartbeat... +Heartbeat running. +Stadium opcodes: 31 resident, hottest opcode 8 +Stadium words: promotions=249 evictions=0 +Stadium conservation: resident_sum=43678 reservoir=21858 sum=65536 (Q48_ONE=65536) +Stadium conservation: CONSERVED +Stadium quota grant self-test: OK + Hera reservoir=21858 + test-vm reservoir=65536 +Heartbeat: 5 ticks, trust=0x00010000, variance=0x00000000 +blkio_usb: MSC device ready +Artemis: the stick's partition attached +[Hera] Zuse: genesis minted onto attached thumbdrive +[zuse@Hera] ok> 3 4 + . +[zuse@Hera] 7 ok +[zuse@Hera] ok> NODE-ME . +[zuse@Hera] 0 ok +[zuse@Hera] ok> 11 2 2 BIRTH . +[zuse@Hera] V4: capsule v4:forth79.4th signature: missing (unsigned) +[zuse@Hera] PARITY:V4_BIRTH node=11 dict_hash=0x74781d08f32ff33a +[zuse@Hera] 1 ok +[zuse@Hera] ok> S" 6 7 * ." 11 SEND 11 AWAIT . +[zuse@Hera] 42 1 ok +[zuse@Hera] ok> 11 KILL +[zuse@Hera] Stadium words: promotions=283 evictions=0 +[zuse@Hera] Stadium conservation: resident_sum=150 reservoir=65386 sum=65536 (Q48_ONE=65536) +[zuse@Hera] Stadium conservation: CONSERVED +[zuse@Hera] ok +[zuse@Hera] ok> 11 2 2 BIRTH . +[zuse@Hera] V4: capsule v4:forth79.4th signature: missing (unsigned) +[zuse@Hera] PARITY:V4_BIRTH node=11 dict_hash=0x74781d08f32ff33a +[zuse@Hera] 1 ok +[zuse@Hera] ok> S" VARIABLE N1 : SPIN BEGIN 1 N1 +! AGAIN ;" 11 SEND 11 AWAIT . +[zuse@Hera] 1 ok +[zuse@Hera] ok> S" SPIN" 11 SEND +[zuse@Hera] ok +[zuse@Hera] ok> 3 4 + . +[zuse@Hera] 7 ok +[zuse@Hera] ok> 11 KILL +[zuse@Hera] Stadium words: promotions=288 evictions=0 +[zuse@Hera] Stadium conservation: resident_sum=196 reservoir=65340 sum=65536 (Q48_ONE=65536) +[zuse@Hera] Stadium conservation: CONSERVED +[zuse@Hera] ok +[zuse@Hera] ok>  \ No newline at end of file diff --git a/logs/20261119-020944/aarch64/qemu-aarch64-20261119-020944.log b/logs/20261119-020944/aarch64/qemu-aarch64-20261119-020944.log new file mode 100644 index 00000000..9ccd01a3 --- /dev/null +++ b/logs/20261119-020944/aarch64/qemu-aarch64-20261119-020944.log @@ -0,0 +1,179 @@ +UEFI firmware (version 2024.02-2ubuntu0.10 built at 15:40:28 on Sep 23 2026) +[=3h[=3hBdsDxe: loading Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) +BdsDxe: starting Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) +[=3hStarKernel UEFI Loader +Loading kernel from ESP... +[CKPT 001] Entered efi_main - ConOut live +Collecting boot information... +[CKPT 004] Command line parsed +[CKPT 005] Kernel stack allocation decided +[CKPT 006] Boot info collected (ACPI table located) +[CKPT 007] GOP: linear framebuffer found +[CKPT 008] About to enter ExitBootServices retry loop + + + _____ _ _ __ _ + / ____| | | |/ / | | + | (___ | |_ __ _ _ __| ' / ___ _ __ _ __ ___| | + \___ \| __/ _` | '__| < / _ \ '__| '_ \ / _ \ | + ____) | || (_| | | | . \ __/ | | | | | __/ | + |_____/ \__\__,_|_| |_|\_\___|_| |_| |_|\___|_| + +LithosAnanke v4.0.0-alpha.5 aarch64 +Architecture: aarch64 +Build: Nov 19 2026 02:09:17 + +UEFI BootServices: EXITED +Console: serial line is a PL011 at 0x0000000009000000 (no devicetree: QEMU's) + +=== StarKernel Boot Information === +Memory map entries: 33 +Total memory: 4093 MB +Usable memory: 4052 MB +=================================== + +PMM initialized. +PMM statistics: + Total pages: 1038855 + Free pages : 1037431 + Used pages : 1424 + Total MB : 4058 + Free MB : 4052 + Used MB : 5 + +VMM initialized (mapped RAM, CR3 switched) +VMM initialized (mapped RAM, CR3 switched) +VMM self-test: mapped OK at 0xffff800000000000 +VMM self-test complete. + +AArch64: running at EL1 +IDT installed. + +APIC: init... +PSCI: no DTB -- using HVC (QEMU virt-machine default) +GICv2: no DTB GIC node -- using QEMU virt-machine defaults +GICv2: distributor+CPU interface enabled, PPI 30 +APIC: init done + +Timer: init... +Timer: AArch64 generic timer initialised. +Timer: init done + +Kernel heap initialized. +Heap statistics: + Total bytes: 2147483608 + Free bytes: 2147483608 + Used bytes: 0 + Peak bytes: 0 + Heap base addr: 1207959552 + Heap end addr: 3355443200 + +Heartbeat: init... +Heartbeat: init done +Kernel initialization complete. +Boot successful! + +Boot disk: not a StarshipOS stick +System: StarForth v4 (this build's default) +Stadium: 335544 cells (20971 KB), 202 VM slots +Switch-signal: 202 slots +Kernel-Hermes: 202 channel slots +Kernel-Hermes: 202 pending-queue slots +StarForth v4: Hera, born in the kernel's fabric +V4: capsule v4:sys:map-64.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:map-64.f18 capsule_hash=0x06cb44832df2b8fd +V4: capsule v4:sys:core.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:core.f18 capsule_hash=0x0f415502fccc3fba +V4: capsule v4:sys:input.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:input.f18 capsule_hash=0x0f13c3f9d5fd07fc +V4: capsule v4:sys:dict.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:dict.f18 capsule_hash=0xe3453808afd5a0af +V4: capsule v4:sys:codegen.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:codegen.f18 capsule_hash=0x36d2ae84d2911b90 +V4: capsule v4:sys:compile.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:compile.f18 capsule_hash=0xb46bf77ceee7245a +V4: capsule v4:sys:quit.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:quit.f18 capsule_hash=0x7fa7a7668b6bf1ed +V4: capsule v4:sys:forth.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:forth.f18 capsule_hash=0xc4c0ad315c95eda4 +V4: capsule v4:sys:numout.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:numout.f18 capsule_hash=0xca0fb0f9c1589e20 +V4: capsule v4:sys:words.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:words.f18 capsule_hash=0x2f4e5f7f3e7f736f +V4: capsule v4:sys:system.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:system.f18 capsule_hash=0xfe257eb084c43a5d +V4: capsule v4:sys:qmath.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:qmath.f18 capsule_hash=0xa93783c2c8f9b7db +V4: capsule v4:sys:blocks.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:blocks.f18 capsule_hash=0x09d361dbe6174236 +V4: capsule v4:sys:log.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:log.f18 capsule_hash=0x544cd004233dff62 +V4: capsule v4:sys:acl.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:acl.f18 capsule_hash=0x76e7e746befa2733 +V4: capsule v4:sys:end.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:end.f18 capsule_hash=0x98fd33b1c431cfe7 +PARITY:V4_ROM words=2383 rom_hash=0xd858ef412d684f92 instructions=63411003 +V4: capsule v4:forth79.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:forth79.4th capsule_id=0x4609d6ef54166ef8 capsule_hash=0x4609d6ef54166ef8 dict_hash=0x71be72a2ab8daaad +V4: capsule v4:starshipos.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:starshipos.4th capsule_id=0x1734a8f4fe7483a5 capsule_hash=0x1734a8f4fe7483a5 dict_hash=0xa461a1e1146cda29 +V4: capsule v4:centre.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:centre.4th capsule_id=0xea5815290d56dff3 capsule_hash=0xea5815290d56dff3 dict_hash=0x50efc3b2760c96e2 +V4: capsule v4:hera.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:hera.4th capsule_id=0x78730b1d6effe892 capsule_hash=0x78730b1d6effe892 dict_hash=0x5b59c0e119ee3fba +V4: capsule v4:physics.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:physics.4th capsule_id=0x5b0195fc30828bde capsule_hash=0x5b0195fc30828bde dict_hash=0xd9d729b0640e1879 +PARITY:V4_POST tests=990 pass=990 fail=0 +PARITY:V4_SYSTEM word_count=404 dict_hash=0x847bd8ef42f53e14 +PARITY:OK +POST: PASSED +PCI: init... +virtio-rng: found device +rng: backend = virtio-rng +entropy: ready +virtio-input: found device +virtio-input: driver ready +Starting heartbeat... +Heartbeat running. +Stadium opcodes: 31 resident, hottest opcode 8 +Stadium words: promotions=249 evictions=0 +Stadium conservation: resident_sum=43678 reservoir=21858 sum=65536 (Q48_ONE=65536) +Stadium conservation: CONSERVED +Stadium quota grant self-test: OK + Hera reservoir=21858 + test-vm reservoir=65536 +Heartbeat: 5 ticks, trust=0x00010000, variance=0x00000000 +blkio_usb: MSC device ready +Artemis: the stick's partition attached +[Hera] Zuse: genesis minted onto attached thumbdrive +[zuse@Hera] ok> 3 4 + . +[zuse@Hera] 7 ok +[zuse@Hera] ok> NODE-ME . +[zuse@Hera] 0 ok +[zuse@Hera] ok> 11 2 2 BIRTH . +[zuse@Hera] V4: capsule v4:forth79.4th signature: missing (unsigned) +[zuse@Hera] PARITY:V4_BIRTH node=11 dict_hash=0x74781d08f32ff33a +[zuse@Hera] 1 ok +[zuse@Hera] ok> S" 6 7 * ." 11 SEND 11 AWAIT . +[zuse@Hera] 42 1 ok +[zuse@Hera] ok> 11 KILL +[zuse@Hera] Stadium words: promotions=283 evictions=0 +[zuse@Hera] Stadium conservation: resident_sum=150 reservoir=65386 sum=65536 (Q48_ONE=65536) +[zuse@Hera] Stadium conservation: CONSERVED +[zuse@Hera] ok +[zuse@Hera] ok> 11 2 2 BIRTH . +[zuse@Hera] V4: capsule v4:forth79.4th signature: missing (unsigned) +[zuse@Hera] PARITY:V4_BIRTH node=11 dict_hash=0x74781d08f32ff33a +[zuse@Hera] 1 ok +[zuse@Hera] ok> S" VARIABLE N1 : SPIN BEGIN 1 N1 +! AGAIN ;" 11 SEND 11 AWAIT . +[zuse@Hera] 1 ok +[zuse@Hera] ok> S" SPIN" 11 SEND +[zuse@Hera] ok +[zuse@Hera] ok> 3 4 + . +[zuse@Hera] 7 ok +[zuse@Hera] ok> 11 KILL +[zuse@Hera] Stadium words: promotions=288 evictions=0 +[zuse@Hera] Stadium conservation: resident_sum=186 reservoir=65350 sum=65536 (Q48_ONE=65536) +[zuse@Hera] Stadium conservation: CONSERVED +[zuse@Hera] ok +[zuse@Hera] ok>  \ No newline at end of file diff --git a/logs/20261119-021722/aarch64/qemu-aarch64-20261119-021722.log b/logs/20261119-021722/aarch64/qemu-aarch64-20261119-021722.log new file mode 100644 index 00000000..7e8c2a6b --- /dev/null +++ b/logs/20261119-021722/aarch64/qemu-aarch64-20261119-021722.log @@ -0,0 +1,179 @@ +UEFI firmware (version 2024.02-2ubuntu0.10 built at 15:40:28 on Sep 23 2026) +[=3h[=3hBdsDxe: loading Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) +BdsDxe: starting Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) +[=3hStarKernel UEFI Loader +Loading kernel from ESP... +[CKPT 001] Entered efi_main - ConOut live +Collecting boot information... +[CKPT 004] Command line parsed +[CKPT 005] Kernel stack allocation decided +[CKPT 006] Boot info collected (ACPI table located) +[CKPT 007] GOP: linear framebuffer found +[CKPT 008] About to enter ExitBootServices retry loop + + + _____ _ _ __ _ + / ____| | | |/ / | | + | (___ | |_ __ _ _ __| ' / ___ _ __ _ __ ___| | + \___ \| __/ _` | '__| < / _ \ '__| '_ \ / _ \ | + ____) | || (_| | | | . \ __/ | | | | | __/ | + |_____/ \__\__,_|_| |_|\_\___|_| |_| |_|\___|_| + +LithosAnanke v4.0.0-alpha.5 aarch64 +Architecture: aarch64 +Build: Nov 19 2026 02:16:55 + +UEFI BootServices: EXITED +Console: serial line is a PL011 at 0x0000000009000000 (no devicetree: QEMU's) + +=== StarKernel Boot Information === +Memory map entries: 33 +Total memory: 4093 MB +Usable memory: 4052 MB +=================================== + +PMM initialized. +PMM statistics: + Total pages: 1038856 + Free pages : 1037432 + Used pages : 1424 + Total MB : 4058 + Free MB : 4052 + Used MB : 5 + +VMM initialized (mapped RAM, CR3 switched) +VMM initialized (mapped RAM, CR3 switched) +VMM self-test: mapped OK at 0xffff800000000000 +VMM self-test complete. + +AArch64: running at EL1 +IDT installed. + +APIC: init... +PSCI: no DTB -- using HVC (QEMU virt-machine default) +GICv2: no DTB GIC node -- using QEMU virt-machine defaults +GICv2: distributor+CPU interface enabled, PPI 30 +APIC: init done + +Timer: init... +Timer: AArch64 generic timer initialised. +Timer: init done + +Kernel heap initialized. +Heap statistics: + Total bytes: 2147483608 + Free bytes: 2147483608 + Used bytes: 0 + Peak bytes: 0 + Heap base addr: 1207959552 + Heap end addr: 3355443200 + +Heartbeat: init... +Heartbeat: init done +Kernel initialization complete. +Boot successful! + +Boot disk: not a StarshipOS stick +System: StarForth v4 (this build's default) +Stadium: 335544 cells (20971 KB), 202 VM slots +Switch-signal: 202 slots +Kernel-Hermes: 202 channel slots +Kernel-Hermes: 202 pending-queue slots +StarForth v4: Hera, born in the kernel's fabric +V4: capsule v4:sys:map-64.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:map-64.f18 capsule_hash=0x06cb44832df2b8fd +V4: capsule v4:sys:core.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:core.f18 capsule_hash=0x0f415502fccc3fba +V4: capsule v4:sys:input.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:input.f18 capsule_hash=0x0f13c3f9d5fd07fc +V4: capsule v4:sys:dict.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:dict.f18 capsule_hash=0xe3453808afd5a0af +V4: capsule v4:sys:codegen.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:codegen.f18 capsule_hash=0x36d2ae84d2911b90 +V4: capsule v4:sys:compile.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:compile.f18 capsule_hash=0xb46bf77ceee7245a +V4: capsule v4:sys:quit.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:quit.f18 capsule_hash=0x7fa7a7668b6bf1ed +V4: capsule v4:sys:forth.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:forth.f18 capsule_hash=0xc4c0ad315c95eda4 +V4: capsule v4:sys:numout.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:numout.f18 capsule_hash=0xca0fb0f9c1589e20 +V4: capsule v4:sys:words.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:words.f18 capsule_hash=0x2f4e5f7f3e7f736f +V4: capsule v4:sys:system.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:system.f18 capsule_hash=0xfe257eb084c43a5d +V4: capsule v4:sys:qmath.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:qmath.f18 capsule_hash=0xa93783c2c8f9b7db +V4: capsule v4:sys:blocks.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:blocks.f18 capsule_hash=0x09d361dbe6174236 +V4: capsule v4:sys:log.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:log.f18 capsule_hash=0x544cd004233dff62 +V4: capsule v4:sys:acl.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:acl.f18 capsule_hash=0x76e7e746befa2733 +V4: capsule v4:sys:end.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:end.f18 capsule_hash=0x98fd33b1c431cfe7 +PARITY:V4_ROM words=2383 rom_hash=0xd858ef412d684f92 instructions=63411003 +V4: capsule v4:forth79.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:forth79.4th capsule_id=0x4609d6ef54166ef8 capsule_hash=0x4609d6ef54166ef8 dict_hash=0x71be72a2ab8daaad +V4: capsule v4:starshipos.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:starshipos.4th capsule_id=0x1734a8f4fe7483a5 capsule_hash=0x1734a8f4fe7483a5 dict_hash=0xa461a1e1146cda29 +V4: capsule v4:centre.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:centre.4th capsule_id=0xea5815290d56dff3 capsule_hash=0xea5815290d56dff3 dict_hash=0x50efc3b2760c96e2 +V4: capsule v4:hera.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:hera.4th capsule_id=0x78730b1d6effe892 capsule_hash=0x78730b1d6effe892 dict_hash=0x5b59c0e119ee3fba +V4: capsule v4:physics.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:physics.4th capsule_id=0x5b0195fc30828bde capsule_hash=0x5b0195fc30828bde dict_hash=0xd9d729b0640e1879 +PARITY:V4_POST tests=990 pass=990 fail=0 +PARITY:V4_SYSTEM word_count=404 dict_hash=0x847bd8ef42f53e14 +PARITY:OK +POST: PASSED +PCI: init... +virtio-rng: found device +rng: backend = virtio-rng +entropy: ready +virtio-input: found device +virtio-input: driver ready +Starting heartbeat... +Heartbeat running. +Stadium opcodes: 31 resident, hottest opcode 8 +Stadium words: promotions=249 evictions=0 +Stadium conservation: resident_sum=43678 reservoir=21858 sum=65536 (Q48_ONE=65536) +Stadium conservation: CONSERVED +Stadium quota grant self-test: OK + Hera reservoir=21858 + test-vm reservoir=65536 +Heartbeat: 5 ticks, trust=0x00010000, variance=0x00000000 +blkio_usb: MSC device ready +Artemis: the stick's partition attached +[Hera] Zuse: genesis minted onto attached thumbdrive +[zuse@Hera] ok> 3 4 + . +[zuse@Hera] 7 ok +[zuse@Hera] ok> NODE-ME . +[zuse@Hera] 0 ok +[zuse@Hera] ok> 11 2 2 BIRTH . +[zuse@Hera] V4: capsule v4:forth79.4th signature: missing (unsigned) +[zuse@Hera] PARITY:V4_BIRTH node=11 dict_hash=0x74781d08f32ff33a +[zuse@Hera] 1 ok +[zuse@Hera] ok> S" 6 7 * ." 11 SEND 11 AWAIT . +[zuse@Hera] 42 1 ok +[zuse@Hera] ok> 11 KILL +[zuse@Hera] Stadium words: promotions=283 evictions=0 +[zuse@Hera] Stadium conservation: resident_sum=150 reservoir=65386 sum=65536 (Q48_ONE=65536) +[zuse@Hera] Stadium conservation: CONSERVED +[zuse@Hera] ok +[zuse@Hera] ok> 11 2 2 BIRTH . +[zuse@Hera] V4: capsule v4:forth79.4th signature: missing (unsigned) +[zuse@Hera] PARITY:V4_BIRTH node=11 dict_hash=0x74781d08f32ff33a +[zuse@Hera] 1 ok +[zuse@Hera] ok> S" VARIABLE N1 : SPIN BEGIN 1 N1 +! AGAIN ;" 11 SEND 11 AWAIT . +[zuse@Hera] 1 ok +[zuse@Hera] ok> S" SPIN" 11 SEND +[zuse@Hera] ok +[zuse@Hera] ok> 3 4 + . +[zuse@Hera] 7 ok +[zuse@Hera] ok> 11 KILL +[zuse@Hera] Stadium words: promotions=288 evictions=0 +[zuse@Hera] Stadium conservation: resident_sum=191 reservoir=65345 sum=65536 (Q48_ONE=65536) +[zuse@Hera] Stadium conservation: CONSERVED +[zuse@Hera] ok +[zuse@Hera] ok>  \ No newline at end of file diff --git a/logs/20261119-022453/aarch64/qemu-aarch64-20261119-022453.log b/logs/20261119-022453/aarch64/qemu-aarch64-20261119-022453.log new file mode 100644 index 00000000..f5a38942 --- /dev/null +++ b/logs/20261119-022453/aarch64/qemu-aarch64-20261119-022453.log @@ -0,0 +1,179 @@ +UEFI firmware (version 2024.02-2ubuntu0.10 built at 15:40:28 on Sep 23 2026) +[=3h[=3hBdsDxe: loading Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) +BdsDxe: starting Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) +[=3hStarKernel UEFI Loader +Loading kernel from ESP... +[CKPT 001] Entered efi_main - ConOut live +Collecting boot information... +[CKPT 004] Command line parsed +[CKPT 005] Kernel stack allocation decided +[CKPT 006] Boot info collected (ACPI table located) +[CKPT 007] GOP: linear framebuffer found +[CKPT 008] About to enter ExitBootServices retry loop + + + _____ _ _ __ _ + / ____| | | |/ / | | + | (___ | |_ __ _ _ __| ' / ___ _ __ _ __ ___| | + \___ \| __/ _` | '__| < / _ \ '__| '_ \ / _ \ | + ____) | || (_| | | | . \ __/ | | | | | __/ | + |_____/ \__\__,_|_| |_|\_\___|_| |_| |_|\___|_| + +LithosAnanke v4.0.0-alpha.5 aarch64 +Architecture: aarch64 +Build: Nov 19 2026 02:24:28 + +UEFI BootServices: EXITED +Console: serial line is a PL011 at 0x0000000009000000 (no devicetree: QEMU's) + +=== StarKernel Boot Information === +Memory map entries: 33 +Total memory: 4093 MB +Usable memory: 4052 MB +=================================== + +PMM initialized. +PMM statistics: + Total pages: 1038856 + Free pages : 1037432 + Used pages : 1424 + Total MB : 4058 + Free MB : 4052 + Used MB : 5 + +VMM initialized (mapped RAM, CR3 switched) +VMM initialized (mapped RAM, CR3 switched) +VMM self-test: mapped OK at 0xffff800000000000 +VMM self-test complete. + +AArch64: running at EL1 +IDT installed. + +APIC: init... +PSCI: no DTB -- using HVC (QEMU virt-machine default) +GICv2: no DTB GIC node -- using QEMU virt-machine defaults +GICv2: distributor+CPU interface enabled, PPI 30 +APIC: init done + +Timer: init... +Timer: AArch64 generic timer initialised. +Timer: init done + +Kernel heap initialized. +Heap statistics: + Total bytes: 2147483608 + Free bytes: 2147483608 + Used bytes: 0 + Peak bytes: 0 + Heap base addr: 1207959552 + Heap end addr: 3355443200 + +Heartbeat: init... +Heartbeat: init done +Kernel initialization complete. +Boot successful! + +Boot disk: not a StarshipOS stick +System: StarForth v4 (this build's default) +Stadium: 335544 cells (20971 KB), 202 VM slots +Switch-signal: 202 slots +Kernel-Hermes: 202 channel slots +Kernel-Hermes: 202 pending-queue slots +StarForth v4: Hera, born in the kernel's fabric +V4: capsule v4:sys:map-64.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:map-64.f18 capsule_hash=0x06cb44832df2b8fd +V4: capsule v4:sys:core.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:core.f18 capsule_hash=0x0f415502fccc3fba +V4: capsule v4:sys:input.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:input.f18 capsule_hash=0x0f13c3f9d5fd07fc +V4: capsule v4:sys:dict.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:dict.f18 capsule_hash=0xe3453808afd5a0af +V4: capsule v4:sys:codegen.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:codegen.f18 capsule_hash=0x36d2ae84d2911b90 +V4: capsule v4:sys:compile.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:compile.f18 capsule_hash=0xb46bf77ceee7245a +V4: capsule v4:sys:quit.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:quit.f18 capsule_hash=0x7fa7a7668b6bf1ed +V4: capsule v4:sys:forth.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:forth.f18 capsule_hash=0xc4c0ad315c95eda4 +V4: capsule v4:sys:numout.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:numout.f18 capsule_hash=0xca0fb0f9c1589e20 +V4: capsule v4:sys:words.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:words.f18 capsule_hash=0x2f4e5f7f3e7f736f +V4: capsule v4:sys:system.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:system.f18 capsule_hash=0xfe257eb084c43a5d +V4: capsule v4:sys:qmath.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:qmath.f18 capsule_hash=0xa93783c2c8f9b7db +V4: capsule v4:sys:blocks.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:blocks.f18 capsule_hash=0x09d361dbe6174236 +V4: capsule v4:sys:log.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:log.f18 capsule_hash=0x544cd004233dff62 +V4: capsule v4:sys:acl.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:acl.f18 capsule_hash=0x76e7e746befa2733 +V4: capsule v4:sys:end.f18 signature: missing (unsigned) +PARITY:V4_F18 name=v4:sys:end.f18 capsule_hash=0x98fd33b1c431cfe7 +PARITY:V4_ROM words=2383 rom_hash=0xd858ef412d684f92 instructions=63411003 +V4: capsule v4:forth79.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:forth79.4th capsule_id=0x4609d6ef54166ef8 capsule_hash=0x4609d6ef54166ef8 dict_hash=0x71be72a2ab8daaad +V4: capsule v4:starshipos.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:starshipos.4th capsule_id=0x1734a8f4fe7483a5 capsule_hash=0x1734a8f4fe7483a5 dict_hash=0xa461a1e1146cda29 +V4: capsule v4:centre.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:centre.4th capsule_id=0xea5815290d56dff3 capsule_hash=0xea5815290d56dff3 dict_hash=0x50efc3b2760c96e2 +V4: capsule v4:hera.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:hera.4th capsule_id=0x78730b1d6effe892 capsule_hash=0x78730b1d6effe892 dict_hash=0x5b59c0e119ee3fba +V4: capsule v4:physics.4th signature: missing (unsigned) +PARITY:V4_CAPSULE name=v4:physics.4th capsule_id=0x5b0195fc30828bde capsule_hash=0x5b0195fc30828bde dict_hash=0xd9d729b0640e1879 +PARITY:V4_POST tests=990 pass=990 fail=0 +PARITY:V4_SYSTEM word_count=404 dict_hash=0x847bd8ef42f53e14 +PARITY:OK +POST: PASSED +PCI: init... +virtio-rng: found device +rng: backend = virtio-rng +entropy: ready +virtio-input: found device +virtio-input: driver ready +Starting heartbeat... +Heartbeat running. +Stadium opcodes: 31 resident, hottest opcode 8 +Stadium words: promotions=249 evictions=0 +Stadium conservation: resident_sum=43678 reservoir=21858 sum=65536 (Q48_ONE=65536) +Stadium conservation: CONSERVED +Stadium quota grant self-test: OK + Hera reservoir=21858 + test-vm reservoir=65536 +Heartbeat: 5 ticks, trust=0x00010000, variance=0x00000000 +blkio_usb: MSC device ready +Artemis: the stick's partition attached +[Hera] Zuse: genesis minted onto attached thumbdrive +[zuse@Hera] ok> 3 4 + . +[zuse@Hera] 7 ok +[zuse@Hera] ok> NODE-ME . +[zuse@Hera] 0 ok +[zuse@Hera] ok> 11 2 2 BIRTH . +[zuse@Hera] V4: capsule v4:forth79.4th signature: missing (unsigned) +[zuse@Hera] PARITY:V4_BIRTH node=11 dict_hash=0x74781d08f32ff33a +[zuse@Hera] 1 ok +[zuse@Hera] ok> S" 6 7 * ." 11 SEND 11 AWAIT . +[zuse@Hera] 42 1 ok +[zuse@Hera] ok> 11 KILL +[zuse@Hera] Stadium words: promotions=283 evictions=0 +[zuse@Hera] Stadium conservation: resident_sum=150 reservoir=65386 sum=65536 (Q48_ONE=65536) +[zuse@Hera] Stadium conservation: CONSERVED +[zuse@Hera] ok +[zuse@Hera] ok> 11 2 2 BIRTH . +[zuse@Hera] V4: capsule v4:forth79.4th signature: missing (unsigned) +[zuse@Hera] PARITY:V4_BIRTH node=11 dict_hash=0x74781d08f32ff33a +[zuse@Hera] 1 ok +[zuse@Hera] ok> S" VARIABLE N1 : SPIN BEGIN 1 N1 +! AGAIN ;" 11 SEND 11 AWAIT . +[zuse@Hera] 1 ok +[zuse@Hera] ok> S" SPIN" 11 SEND +[zuse@Hera] ok +[zuse@Hera] ok> 3 4 + . +[zuse@Hera] 7 ok +[zuse@Hera] ok> 11 KILL +[zuse@Hera] Stadium words: promotions=288 evictions=0 +[zuse@Hera] Stadium conservation: resident_sum=201 reservoir=65335 sum=65536 (Q48_ONE=65536) +[zuse@Hera] Stadium conservation: CONSERVED +[zuse@Hera] ok +[zuse@Hera] ok>  \ No newline at end of file diff --git a/logs/20261119-heat-slice/README.txt b/logs/20261119-heat-slice/README.txt new file mode 100644 index 00000000..44b53c29 --- /dev/null +++ b/logs/20261119-heat-slice/README.txt @@ -0,0 +1,30 @@ +The heartbeat's load, walked a slice each tick (2026-11-19). + +The cause of CI's aarch64 BIRTH stall (every head since 58d0e887): +- stadium_resident_heat_total(), the heartbeat's one input (11-17, "ONE adaptive heartbeat"), walked + every Stadium cell on every serviced tick; +- aarch64: 335,544 cells. One walk measured ~15 ms on TCG (walk-timing-session.txt): 925k-987k + ticks of the 62.5 MHz counter, against 625k per 10 ms base tick. That is 1.5 base ticks, and + about 6 of the fastest (2.5 ms); +- so at fast pacing the walk took the CPU, and a birth did not finish within the session's 300 s. + +Ruled (Captain Bob): "#2 but with a multiplier and maybe a slope inference"; "Scaled by the cells"; +"Measure first"; "A slice each tick"; the slope inference "Later". + +Built: +- stadium_heat_walk_step(): walks the next STADIUM_HEAT_SLICE_CELLS cells (Kconfig, 5500: about + 0.25 ms on aarch64 TCG, a tenth of the fastest tick). A walk done gives one sample, so the ticks + per sample grow with the cells; +- the heartbeat's load type takes a sample only when a walk completes (timer.h, heartbeat.c); +- sk_v4.c gives the heartbeat the sliced walk. + +Test first (tests-before.log: neither test built; tests-after.log): +- test_stadium_node, 21 checks: the walk in slices of 7 equals the full total, finishes after + ceil(cells/7), and starts again; +- test_heartbeat, 13 checks: a three-slice source gives a sample every third tick, and the slope + provider runs after HEARTBEAT_PACE_EVERY samples. + +kernel-tests.log: all kernel host tests pass. build-aarch64.log: clean. + +Four aarch64 boots in a row with the fix (run1-4.txt): 18 of 18 checks each, 453-458 s, BIRTH and +everything after it. The same loop caught the stall on its first boot before. diff --git a/logs/20261119-heat-slice/build-aarch64.log b/logs/20261119-heat-slice/build-aarch64.log new file mode 100644 index 00000000..b16acc3f --- /dev/null +++ b/logs/20261119-heat-slice/build-aarch64.log @@ -0,0 +1,267 @@ +CC (loader) kernel/src/heartbeat.c +CC (loader) kernel/src/vm/stadium.c +CC (loader) kernel/src/v4/sk_v4.c +CC (loader) v3/src/blkio_ram.c +CC (loader) v3/src/block_subsystem.c +CC (loader) v3/src/compudynamics.c +CC (loader) v3/src/dictionary_heat_optimization.c +CC (loader) v3/src/dictionary_management.c +CC (loader) v3/src/heartbeat_export.c +CC (loader) v3/src/inference_engine.c +CC (loader) v3/src/io.c +CC (loader) v3/src/math_portable.c +CC (loader) v3/src/memory_management.c +CC (loader) v3/src/physics_execution_hooks.c +CC (loader) v3/src/physics_hotwords_cache.c +CC (loader) v3/src/physics_metadata.c +CC (loader) v3/src/physics_pipelining_metrics.c +CC (loader) v3/src/physics_runtime.c +CC (loader) v3/src/profiler.c +CC (loader) v3/src/rolling_window_of_truth.c +CC (loader) v3/src/stack_management.c +CC (loader) v3/src/ssm_jacquard.c +CC (loader) v3/src/vm_api.c +CC (loader) v3/src/vm_debug.c +CC (loader) v3/src/word_registry.c +CC (loader) v3/src/word_source/acl_words.c +CC (loader) v3/src/word_source/arithmetic_words.c +CC (loader) v3/src/word_source/block_words.c +CC (loader) v3/src/word_source/control_words.c +CC (loader) v3/src/word_source/defer_words.c +CC (loader) v3/src/word_source/defining_words.c +CC (loader) v3/src/word_source/dictionary_heat_diagnostic_words.c +CC (loader) v3/src/word_source/dictionary_manipulation_words.c +CC (loader) v3/src/word_source/dictionary_words.c +CC (loader) v3/src/word_source/double_words.c +CC (loader) v3/src/word_source/editor_words.c +CC (loader) v3/src/word_source/format_words.c +CC (loader) v3/src/word_source/framebuffer_words.c +CC (loader) v3/src/word_source/inference_words.c +CC (loader) v3/src/word_source/io_words.c +CC (loader) v3/src/word_source/keyboard_words.c +CC (loader) v3/src/word_source/lifecycle_words_hosted.c +CC (loader) v3/src/word_source/log_words.c +CC (loader) v3/src/word_source/logical_words.c +CC (loader) v3/src/word_source/memory_words.c +CC (loader) v3/src/word_source/mixed_arithmetic_words.c +CC (loader) v3/src/word_source/physics_benchmark_words.c +CC (loader) v3/src/word_source/physics_diagnostic_words.c +CC (loader) v3/src/word_source/physics_freeze_words.c +CC (loader) v3/src/word_source/physics_pipelining_diagnostic_words.c +CC (loader) v3/src/word_source/q48_words.c +CC (loader) v3/src/word_source/return_stack_words.c +CC (loader) v3/src/word_source/stack_words.c +CC (loader) v3/src/word_source/scroll_words.c +CC (loader) v3/src/word_source/starforth_words.c +CC (loader) v3/src/word_source/string_words.c +CC (loader) v3/src/word_source/system_words.c +CC (loader) v3/src/word_source/ttf_words.c +CC (loader) v3/src/word_source/vocabulary_words.c +CC (loader) v3/src/test_runner/test_common.c +CC (loader) v3/src/test_runner/test_contracts.c +CC (loader) v3/src/test_runner/test_runner.c +CC (loader) v3/src/test_runner/modules/acl_words_test.c +CC (loader) v3/src/test_runner/modules/arithmetic_words_test.c +CC (loader) v3/src/test_runner/modules/control_words_test.c +CC (loader) v3/src/test_runner/modules/block_words_test.c +CC (loader) v3/src/test_runner/modules/defining_words_tests.c +CC (loader) v3/src/test_runner/modules/dictionary_manipulation_words_test.c +CC (loader) v3/src/test_runner/modules/dictionary_words_test.c +CC (loader) v3/src/test_runner/modules/double_words_test.c +CC (loader) v3/src/test_runner/modules/inference_words_test.c +CC (loader) v3/src/test_runner/modules/format_words_test.c +CC (loader) v3/src/test_runner/modules/integration_tests.c +CC (loader) v3/src/test_runner/modules/io_words_test.c +CC (loader) v3/src/test_runner/modules/logical_words_test.c +CC (loader) v3/src/test_runner/modules/mama_forth_words_test.c +CC (loader) v3/src/test_runner/modules/memory_words_test.c +CC (loader) v3/src/test_runner/modules/mixed_arithmetic_words_test.c +CC (loader) v3/src/test_runner/modules/physics_freeze_words_test.c +CC (loader) v3/src/test_runner/modules/q48_words_test.c +CC (loader) v3/src/test_runner/modules/return_stack_words_test.c +CC (loader) v3/src/test_runner/modules/stack_words_test.c +CC (loader) v3/src/test_runner/modules/starforth_words_test.c +CC (loader) v3/src/test_runner/modules/stress_tests.c +CC (loader) v3/src/test_runner/modules/string_words_test.c +CC (loader) v3/src/test_runner/modules/system_words_test.c +CC (loader) v3/src/test_runner/modules/vocabulary_words_test.c + V4ROM capsules/v4/rom -> build/aarch64/kernel/v4_rom_64.c build/aarch64/kernel/v4_map_64.c build/aarch64/kernel/v4_mesh_rom_64.c +CC (kernel) kernel/src/heartbeat.c +CC (kernel) kernel/src/vm/stadium.c +CC (kernel) kernel/src/v4/sk_v4.c +CC (kernel) v3/src/blkio_ram.c +CC (kernel) v3/src/block_subsystem.c +CC (kernel) v3/src/compudynamics.c +CC (kernel) v3/src/dictionary_heat_optimization.c +CC (kernel) v3/src/dictionary_management.c +CC (kernel) v3/src/heartbeat_export.c +CC (kernel) v3/src/inference_engine.c +CC (kernel) v3/src/io.c +CC (kernel) v3/src/math_portable.c +CC (kernel) v3/src/memory_management.c +CC (kernel) v3/src/physics_execution_hooks.c +CC (kernel) v3/src/physics_hotwords_cache.c +CC (kernel) v3/src/physics_metadata.c +CC (kernel) v3/src/physics_pipelining_metrics.c +CC (kernel) v3/src/physics_runtime.c +CC (kernel) v3/src/profiler.c +CC (kernel) v3/src/rolling_window_of_truth.c +CC (kernel) v3/src/ssm_jacquard.c +CC (kernel) v3/src/stack_management.c +CC (kernel) v3/src/vm_api.c +CC (kernel) v3/src/vm_debug.c +CC (kernel) v3/src/word_registry.c +CC (kernel) v3/src/word_source/acl_words.c +CC (kernel) v3/src/word_source/arithmetic_words.c +CC (kernel) v3/src/word_source/block_words.c +CC (kernel) v3/src/word_source/control_words.c +CC (kernel) v3/src/word_source/defer_words.c +CC (kernel) v3/src/word_source/defining_words.c +CC (kernel) v3/src/word_source/dictionary_heat_diagnostic_words.c +CC (kernel) v3/src/word_source/dictionary_manipulation_words.c +CC (kernel) v3/src/word_source/dictionary_words.c +CC (kernel) v3/src/word_source/double_words.c +CC (kernel) v3/src/word_source/editor_words.c +CC (kernel) v3/src/word_source/format_words.c +CC (kernel) v3/src/word_source/framebuffer_words.c +CC (kernel) v3/src/word_source/inference_words.c +CC (kernel) v3/src/word_source/io_words.c +CC (kernel) v3/src/word_source/keyboard_words.c +CC (kernel) v3/src/word_source/lifecycle_words_hosted.c +CC (kernel) v3/src/word_source/log_words.c +CC (kernel) v3/src/word_source/logical_words.c +CC (kernel) v3/src/word_source/memory_words.c +CC (kernel) v3/src/word_source/mixed_arithmetic_words.c +CC (kernel) v3/src/word_source/physics_benchmark_words.c +CC (kernel) v3/src/word_source/physics_diagnostic_words.c +CC (kernel) v3/src/word_source/physics_freeze_words.c +CC (kernel) v3/src/word_source/physics_pipelining_diagnostic_words.c +CC (kernel) v3/src/word_source/q48_words.c +CC (kernel) v3/src/word_source/return_stack_words.c +CC (kernel) v3/src/word_source/scroll_words.c +CC (kernel) v3/src/word_source/stack_words.c +CC (kernel) v3/src/word_source/starforth_words.c +CC (kernel) v3/src/word_source/string_words.c +CC (kernel) v3/src/word_source/system_words.c +CC (kernel) v3/src/word_source/ttf_words.c +CC (kernel) v3/src/word_source/vocabulary_words.c +CC (kernel) v3/src/test_runner/test_common.c +CC (kernel) v3/src/test_runner/test_contracts.c +CC (kernel) v3/src/test_runner/test_runner.c +CC (kernel) v3/src/test_runner/modules/acl_words_test.c +CC (kernel) v3/src/test_runner/modules/arithmetic_words_test.c +CC (kernel) v3/src/test_runner/modules/block_words_test.c +CC (kernel) v3/src/test_runner/modules/control_words_test.c +CC (kernel) v3/src/test_runner/modules/defining_words_tests.c +CC (kernel) v3/src/test_runner/modules/dictionary_manipulation_words_test.c +CC (kernel) v3/src/test_runner/modules/dictionary_words_test.c +CC (kernel) v3/src/test_runner/modules/double_words_test.c +CC (kernel) v3/src/test_runner/modules/format_words_test.c +CC (kernel) v3/src/test_runner/modules/inference_words_test.c +CC (kernel) v3/src/test_runner/modules/integration_tests.c +CC (kernel) v3/src/test_runner/modules/io_words_test.c +CC (kernel) v3/src/test_runner/modules/logical_words_test.c +CC (kernel) v3/src/test_runner/modules/mama_forth_words_test.c +CC (kernel) v3/src/test_runner/modules/memory_words_test.c +CC (kernel) v3/src/test_runner/modules/mixed_arithmetic_words_test.c +CC (kernel) v3/src/test_runner/modules/physics_freeze_words_test.c +CC (kernel) v3/src/test_runner/modules/q48_words_test.c +CC (kernel) v3/src/test_runner/modules/return_stack_words_test.c +CC (kernel) v3/src/test_runner/modules/stack_words_test.c +CC (kernel) v3/src/test_runner/modules/starforth_words_test.c +CC (kernel) v3/src/test_runner/modules/stress_tests.c +CC (kernel) v3/src/test_runner/modules/string_words_test.c +CC (kernel) v3/src/test_runner/modules/system_words_test.c +CC (kernel) v3/src/test_runner/modules/vocabulary_words_test.c + MKCAP capsules -> build/aarch64/kernel/capsule_generated.c +mkcapsule: scanning capsules + [p] zuse.4th (1684 bytes, hash=0x490ded9be257a90b) + [p] font.4th (17688 bytes, hash=0x3f305911500c78f6) + [p] MANIFEST_AUTO.md (11687 bytes, hash=0xe022545a0755960f) + [p] multiuser-doe.4th (3942 bytes, hash=0x22140588ee7c39e6) + [p] hestia:init.4th (891 bytes, hash=0x64e111990fbc45ff) + [p] contrib:README.md (1855 bytes, hash=0x4212e52b927793e7) + [p] ACL.4th (4318 bytes, hash=0xf8890c05c0d8f921) + [p] workload-3.4th (2189 bytes, hash=0x62b7a71576ad1041) + [p] init-l8-diverse.4th (430 bytes, hash=0xaa293201a6c91838) + [p] user-font-demo.4th (1674 bytes, hash=0xce1fd7d1b581a56d) + [p] workload-9.4th (1321 bytes, hash=0x3f2bec73142aa424) + [p] lib.4th (619 bytes, hash=0x4b216635c359ef73) + [p] workload-calib1.4th (304 bytes, hash=0x3b9f2d17b554fabc) + [m] init.4th (669 bytes, hash=0xd09db9461b336431) + [p] workload-1-lite.4th (540 bytes, hash=0x44a7a7e3176dcc8d) + [p] init-l8-stable.4th (278 bytes, hash=0xdc3830f189063a9a) + [p] v4:physics.4th (2953 bytes, hash=0x5b0195fc30828bde) + [p] v4:forth79.4th (1216 bytes, hash=0x4609d6ef54166ef8) + [p] v4:sys:log.f18 (4535 bytes, hash=0x544cd004233dff62) + [p] v4:sys:qmath.f18 (8607 bytes, hash=0xa93783c2c8f9b7db) + [p] v4:sys:map-32.f18 (3162 bytes, hash=0x5bdf8cbbebdd3c8f) + [p] v4:sys:blocks.f18 (6112 bytes, hash=0x09d361dbe6174236) + [p] v4:sys:input.f18 (10692 bytes, hash=0x0f13c3f9d5fd07fc) + [p] v4:sys:dict.f18 (13816 bytes, hash=0xe3453808afd5a0af) + [p] v4:sys:forth.f18 (12617 bytes, hash=0xc4c0ad315c95eda4) + [p] v4:sys:quit.f18 (32141 bytes, hash=0x7fa7a7668b6bf1ed) + [p] v4:sys:map-64.f18 (3201 bytes, hash=0x06cb44832df2b8fd) + [p] v4:sys:codegen.f18 (4999 bytes, hash=0x36d2ae84d2911b90) + [p] v4:sys:acl.f18 (4100 bytes, hash=0x76e7e746befa2733) + [p] v4:sys:core.f18 (24370 bytes, hash=0x0f415502fccc3fba) + [p] v4:sys:system.f18 (10189 bytes, hash=0xfe257eb084c43a5d) + [p] v4:sys:numout.f18 (6641 bytes, hash=0xca0fb0f9c1589e20) + [p] v4:sys:words.f18 (9642 bytes, hash=0x2f4e5f7f3e7f736f) + [p] v4:sys:compile.f18 (23099 bytes, hash=0xb46bf77ceee7245a) + [p] v4:sys:end.f18 (1452 bytes, hash=0x98fd33b1c431cfe7) + [p] v4:starshipos.4th (706 bytes, hash=0x1734a8f4fe7483a5) + [p] v4:hera.4th (1376 bytes, hash=0x78730b1d6effe892) + [p] v4:rom:sym.f18 (5610 bytes, hash=0xbbad5748f5bbf863) + [p] v4:rom:main.f18 (2284 bytes, hash=0x6994f1f1d567e163) + [p] v4:rom:math.f18 (5108 bytes, hash=0x9be63ad87934622f) + [p] v4:rom:dir.f18 (5112 bytes, hash=0x51b069f0623ded16) + [p] v4:rom:num.f18 (2634 bytes, hash=0x08b76f1b058cac17) + [p] v4:rom:pack.f18 (4583 bytes, hash=0x65a944d8eb7de7f2) + [p] v4:rom:word.f18 (12966 bytes, hash=0x9210d6c2ac424d11) + [p] v4:rom:in.f18 (4230 bytes, hash=0x65798bed38a09f0f) + [p] v4:rom:mesh.f18 (449 bytes, hash=0x83723d76b9620c2c) + [p] v4:centre.4th (3923 bytes, hash=0xea5815290d56dff3) + [p] README.md (2305 bytes, hash=0x09a684ebdfbeb01c) + [p] block-acl.4th (980 bytes, hash=0xf6cc2a59e3a6734e) + [p] sdk.4th (2295 bytes, hash=0x008fdbbb62c94a3a) + [p] pki:starshipos-intermediate.der (408 bytes, hash=0xb40aab540c19f877) + [p] init-l8-omni.4th (1986 bytes, hash=0x5979e314d6452045) + [p] acl-std79.4th (5040 bytes, hash=0x773bf9209df191d1) + [p] doe-campaign.4th (2369 bytes, hash=0x26fb485e5c9dc6ff) + [p] init-l8-volatile.4th (718 bytes, hash=0x98caabbbd92abac4) + [p] doe.4th (3244 bytes, hash=0xf154616d248e861f) + [p] fabric.4th (10359 bytes, hash=0x9d9489cbeca4099b) + [p] workload-4.4th (469 bytes, hash=0x099619264e650b1c) + [p] init-l8-temporal.4th (363 bytes, hash=0x51abd4c138246651) + [p] workload-5.4th (480 bytes, hash=0x526964c7c9506a11) + [p] fonts:README.md (1846 bytes, hash=0xf628c2b7a49f4d46) + [p] fonts:JetBrainsMono-Regular.ttf (270224 bytes, hash=0xf4b7077dab274e6b) + [p] init-l8-transition.4th (529 bytes, hash=0xbcc1a81976f0a4c9) + [p] workload-2.4th (1321 bytes, hash=0xf113b3d0bcccae47) + [p] workload-1.4th (1041 bytes, hash=0x63e251adb0a03613) + [p] workload-5-lite.4th (468 bytes, hash=0xea0303f38824f254) + [p] workload-0.4th (290 bytes, hash=0x93f86f60aeba8feb) + [p] artemis:init.4th (16782 bytes, hash=0x7ba120e2a6aab239) + [p] MANIFEST.md (35813 bytes, hash=0x9d3a6fdb7415d224) + [p] workload-7.4th (206 bytes, hash=0x02862291387eb7ac) + [p] BLOCK_MAP.md (22886 bytes, hash=0x86df913cdae857c6) + [p] turtle.4th (3254 bytes, hash=0x4d470418ca543365) + [p] workload-8.4th (172 bytes, hash=0x56b7f2f0efa000df) + [p] workload-6.4th (1986 bytes, hash=0x06fc0ce1e369ef5a) +mkcapsule: 74 capsule(s) collected +mkcapsule: wrote build/aarch64/kernel/capsule_generated.c + MKCAP capsules -> capsules/BLOCK_MAP.md +mkcapsule: manifest written to capsules/BLOCK_MAP.md (40 capsule(s)) + CC build/aarch64/kernel/capsule_generated.c + CC (kernel) build/aarch64/kernel/capsule_generated.c +LD (kernel) build/aarch64/kernel/starkernel_kernel.elf +LLD-LINK (loader PE) build/aarch64/kernel/starkernel_loader.efi +lld-link: warning: /align specified without /driver; image may not run +aarch64-linux-gnu-ld: warning: build/aarch64/kernel/starkernel_kernel.elf has a LOAD segment with RWX permissions +Kernel built: build/aarch64/kernel/starkernel_kernel.elf +Loader built: build/aarch64/kernel/starkernel_loader.efi +StarKernel built successfully for aarch64 + Loader: build/aarch64/kernel/starkernel_loader.efi + Kernel: build/aarch64/kernel/starkernel_kernel.elf +rc=0 diff --git a/logs/20261119-heat-slice/kernel-tests.log b/logs/20261119-heat-slice/kernel-tests.log new file mode 100644 index 00000000..28f5dcf7 --- /dev/null +++ b/logs/20261119-heat-slice/kernel-tests.log @@ -0,0 +1,31 @@ +test_heartbeat +test_heartbeat + 13 checks, 0 failures +test_gpt + 12 checks, 0 failures +test_usb_config + 20 checks, 0 failures +test_sk_v4_stop + 2 checks, 0 failures +test_sk_v4_slots + 6 checks, 0 failures +test_sk_v4_mint + 17 checks, 0 failures +test_sk_v4_identity + 10 checks, 0 failures +test_heartbeat_export + 4 checks, 0 failures +test_ssm_jacquard + 7 checks, 0 failures +test_physics_l2 + 4 checks, 0 failures +test_stadium_node + 21 checks, 0 failures +test_stadium_ops + 20 checks, 0 failures +test_stadium_words + 9 checks, 0 failures +check_cap + 3 checks, 0 failures +all kernel host tests passed +rc=0 diff --git a/logs/20261119-heat-slice/run1.txt b/logs/20261119-heat-slice/run1.txt new file mode 100644 index 00000000..d9c57ac4 --- /dev/null +++ b/logs/20261119-heat-slice/run1.txt @@ -0,0 +1,20 @@ +LOG: logs/20261119-020208/aarch64/qemu-aarch64-20261119-020208.log +PASS: POST: PASSED +PASS: Boot disk: not a StarshipOS stick (an ISO or ESP boot) +PASS: Zuse: genesis minted onto attached thumbdrive (a fresh data stick) +PASS: the Stadium: its cells allocated +PASS: the Stadium: conservation CONSERVED +PASS: the heartbeat: ticking +PASS: the Stadium: Hera's words admitted after POST +PASS: [zuse@Hera] ok> +PASS: 7 ok, and a prompt +PASS: NODE-ME: Hera is at place 0 of the kernel's fabric +PASS: BIRTH: node 11 born from Hera, its parity recorded +PASS: node 11 answers Hera: 42, and its text completed +PASS: KILL: node 11 removed, the Stadium CONSERVED after +PASS: after a kill, 11 is born again +PASS: node 11 is given SPIN +PASS: Hera's line ends, though node 11 runs for ever +PASS: and the prompt answers while it runs: 7 ok +PASS: a node running for ever is killed, the Stadium CONSERVED after +RESULT: PASS diff --git a/logs/20261119-heat-slice/run2.txt b/logs/20261119-heat-slice/run2.txt new file mode 100644 index 00000000..1344ae72 --- /dev/null +++ b/logs/20261119-heat-slice/run2.txt @@ -0,0 +1,20 @@ +LOG: logs/20261119-020944/aarch64/qemu-aarch64-20261119-020944.log +PASS: POST: PASSED +PASS: Boot disk: not a StarshipOS stick (an ISO or ESP boot) +PASS: Zuse: genesis minted onto attached thumbdrive (a fresh data stick) +PASS: the Stadium: its cells allocated +PASS: the Stadium: conservation CONSERVED +PASS: the heartbeat: ticking +PASS: the Stadium: Hera's words admitted after POST +PASS: [zuse@Hera] ok> +PASS: 7 ok, and a prompt +PASS: NODE-ME: Hera is at place 0 of the kernel's fabric +PASS: BIRTH: node 11 born from Hera, its parity recorded +PASS: node 11 answers Hera: 42, and its text completed +PASS: KILL: node 11 removed, the Stadium CONSERVED after +PASS: after a kill, 11 is born again +PASS: node 11 is given SPIN +PASS: Hera's line ends, though node 11 runs for ever +PASS: and the prompt answers while it runs: 7 ok +PASS: a node running for ever is killed, the Stadium CONSERVED after +RESULT: PASS diff --git a/logs/20261119-heat-slice/run3.txt b/logs/20261119-heat-slice/run3.txt new file mode 100644 index 00000000..141ba954 --- /dev/null +++ b/logs/20261119-heat-slice/run3.txt @@ -0,0 +1,20 @@ +LOG: logs/20261119-021722/aarch64/qemu-aarch64-20261119-021722.log +PASS: POST: PASSED +PASS: Boot disk: not a StarshipOS stick (an ISO or ESP boot) +PASS: Zuse: genesis minted onto attached thumbdrive (a fresh data stick) +PASS: the Stadium: its cells allocated +PASS: the Stadium: conservation CONSERVED +PASS: the heartbeat: ticking +PASS: the Stadium: Hera's words admitted after POST +PASS: [zuse@Hera] ok> +PASS: 7 ok, and a prompt +PASS: NODE-ME: Hera is at place 0 of the kernel's fabric +PASS: BIRTH: node 11 born from Hera, its parity recorded +PASS: node 11 answers Hera: 42, and its text completed +PASS: KILL: node 11 removed, the Stadium CONSERVED after +PASS: after a kill, 11 is born again +PASS: node 11 is given SPIN +PASS: Hera's line ends, though node 11 runs for ever +PASS: and the prompt answers while it runs: 7 ok +PASS: a node running for ever is killed, the Stadium CONSERVED after +RESULT: PASS diff --git a/logs/20261119-heat-slice/run4.txt b/logs/20261119-heat-slice/run4.txt new file mode 100644 index 00000000..b324833b --- /dev/null +++ b/logs/20261119-heat-slice/run4.txt @@ -0,0 +1,20 @@ +LOG: logs/20261119-022453/aarch64/qemu-aarch64-20261119-022453.log +PASS: POST: PASSED +PASS: Boot disk: not a StarshipOS stick (an ISO or ESP boot) +PASS: Zuse: genesis minted onto attached thumbdrive (a fresh data stick) +PASS: the Stadium: its cells allocated +PASS: the Stadium: conservation CONSERVED +PASS: the heartbeat: ticking +PASS: the Stadium: Hera's words admitted after POST +PASS: [zuse@Hera] ok> +PASS: 7 ok, and a prompt +PASS: NODE-ME: Hera is at place 0 of the kernel's fabric +PASS: BIRTH: node 11 born from Hera, its parity recorded +PASS: node 11 answers Hera: 42, and its text completed +PASS: KILL: node 11 removed, the Stadium CONSERVED after +PASS: after a kill, 11 is born again +PASS: node 11 is given SPIN +PASS: Hera's line ends, though node 11 runs for ever +PASS: and the prompt answers while it runs: 7 ok +PASS: a node running for ever is killed, the Stadium CONSERVED after +RESULT: PASS diff --git a/logs/20261119-heat-slice/tests-after.log b/logs/20261119-heat-slice/tests-after.log new file mode 100644 index 00000000..d92a0e4e --- /dev/null +++ b/logs/20261119-heat-slice/tests-after.log @@ -0,0 +1,5 @@ +test_stadium_node + 21 checks, 0 failures +test_heartbeat +test_heartbeat + 13 checks, 0 failures diff --git a/logs/20261119-heat-slice/tests-before.log b/logs/20261119-heat-slice/tests-before.log new file mode 100644 index 00000000..ead55608 --- /dev/null +++ b/logs/20261119-heat-slice/tests-before.log @@ -0,0 +1,33 @@ +/home/user/LithosAnanke/kernel/tests/test_stadium_node.c: In function 'main': +/home/user/LithosAnanke/kernel/tests/test_stadium_node.c:71:9: error: unknown type name 'stadium_heat_walk' + 71 | stadium_heat_walk w = { 0, 0 }; + | ^~~~~~~~~~~~~~~~~ +/home/user/LithosAnanke/kernel/tests/test_stadium_node.c:71:36: error: excess elements in scalar initializer [-Werror] + 71 | stadium_heat_walk w = { 0, 0 }; + | ^ +/home/user/LithosAnanke/kernel/tests/test_stadium_node.c:71:36: note: (near initialization for 'w') +/home/user/LithosAnanke/kernel/tests/test_stadium_node.c:76:53: error: implicit declaration of function 'stadium_heat_walk_step' [-Werror=implicit-function-declaration] + 76 | while (!done && calls < 10000000u) { done = stadium_heat_walk_step(&w, 7, &sample); calls++; } + | ^~~~~~~~~~~~~~~~~~~~~~ +cc1: all warnings being treated as errors +make: *** [Makefile:56: /home/user/LithosAnanke/build/kernel-tests/test_stadium_node] Error 1 +/home/user/LithosAnanke/kernel/tests/test_heartbeat.c: In function 'main': +/home/user/LithosAnanke/kernel/tests/test_heartbeat.c:69:25: error: passing argument 1 of 'heartbeat_pace_from' from incompatible pointer type [-Werror=incompatible-pointer-types] + 69 | heartbeat_pace_from(load); + | ^~~~ + | | + | int (*)(uint64_t *) {aka int (*)(long unsigned int *)} +In file included from /home/user/LithosAnanke/kernel/tests/test_heartbeat.c:18: +/home/user/LithosAnanke/kernel/include/starkernel/timer.h:207:48: note: expected 'heartbeat_load_fn' {aka 'long unsigned int (*)(void)'} but argument is of type 'int (*)(uint64_t *)' {aka 'int (*)(long unsigned int *)'} + 207 | void heartbeat_pace_from(heartbeat_load_fn load); /* 0: no source, no pacing */ + | ~~~~~~~~~~~~~~~~~~^~~~ +/home/user/LithosAnanke/kernel/tests/test_heartbeat.c:109:25: error: passing argument 1 of 'heartbeat_pace_from' from incompatible pointer type [-Werror=incompatible-pointer-types] + 109 | heartbeat_pace_from(load); + | ^~~~ + | | + | int (*)(uint64_t *) {aka int (*)(long unsigned int *)} +/home/user/LithosAnanke/kernel/include/starkernel/timer.h:207:48: note: expected 'heartbeat_load_fn' {aka 'long unsigned int (*)(void)'} but argument is of type 'int (*)(uint64_t *)' {aka 'int (*)(long unsigned int *)'} + 207 | void heartbeat_pace_from(heartbeat_load_fn load); /* 0: no source, no pacing */ + | ~~~~~~~~~~~~~~~~~~^~~~ +cc1: all warnings being treated as errors +make: *** [Makefile:56: /home/user/LithosAnanke/build/kernel-tests/test_heartbeat] Error 1 diff --git a/logs/20261119-heat-slice/walk-timing-session.txt b/logs/20261119-heat-slice/walk-timing-session.txt new file mode 100644 index 00000000..603be1cf --- /dev/null +++ b/logs/20261119-heat-slice/walk-timing-session.txt @@ -0,0 +1,3 @@ +LOG: logs/20261119-014934/aarch64/qemu-aarch64-20261119-014934.log +PASS: POST: PASSED +PASS: Boot disk: not a StarshipOS stick (an ISO or ESP boot)