Repository navigation
os/v2: the c18 dry-run fixes #703-#711 on main (one merge, six files) - #742
Conversation
…705 #706 #707 #708 #709 #710 #711) The whole reviewed os/v2 set as one commit on origin/main, as asked: main has not touched os/mini since this work started, so the diff is exactly these six files. It carries every reviewed change plus both review fixes — os/mini/init.sh replays the ring buffer into ttyS0 and follows /dev/kmsg where the kernel has no per-console level (#703), and the release identity reports the recorded HRX gitlink instead of walking up to the engine commit (#704) — and the three changes whose PRs were merged into their base branches instead of main (#705, #710, #711). Files: os/mini/{mkimage.sh,init.sh,1bit-menu,install.sh,prepare-stick.sh,vmtest.sh}
PR Reviewer Guide 🔍(Review updated until commit 2481426)Here are some key observations to aid the review process:
|
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
At 08fa7060 — six files, +598 −63: os/mini/{1bit-menu,init.sh,install.sh,mkimage.sh,prepare-stick.sh,vmtest.sh}. This is the consolidated c18 dry-run bundle, and its tree is byte-identical to the head of #726, which I built and verified an hour ago, so the evidence below is from that exact tree rather than from reading it.
Verified at this tree:
- all six scripts parse (
bash -n); tools/copyright.py --checkrc 0;- an image builds:
efivarfs.ko for 7.3.0-rc4-1bit-perfopt+: staged (the installer can write a boot entry), signers109 Build time autogenerated kernel key+1 strixhalo Secure Boot Kernel, noUNSIGNED, no missing module,1bit-os.efiand1bit-os.imgproduced, exit 0.
The content is the stack I have reviewed piece by piece (#703 serial/VT, #704 release identity, #705 one boot flow, #707 menu font and bar, #708 module signatures, #706 grow-data, #710 install screen, #709 efivarfs and boot entry, #711 boot identity), combined into one merge. Two properties worth stating because they are what the release gate depends on:
- the gate's serial assertions survive in all of it —
LIVE: runs from RAMandINSTALLEDare init's/install's own echoes, printed at any kernel level, andinit.shnow replays/dev/kmsginto ttyS0 where the kernel has no per-console level; install.shkeeps a hardfail 9whenefibootmgris missing and a distinct "no efivarfs in this kernel: firmware fallback" path, whilevmtest.shSKIPs the boot-order assertion with a stated line instead of failing an otherwise complete install.
Not verified: the behavioural half of this bundle — the boot screens, the install progress, the boot entry landing first in BootOrder, grow-data on a real stick, and the /dev/kmsg replay ordering — all need the QEMU install gate or the board. That run now covers the whole bundle in one go, which is exactly why bundling it is the right call; I did not start a second QEMU while another lane's VM is live.
tprs-ready applied.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
At 08fa7060 — verdict unchanged, posted again because it is the head in question. This is the c18 dry-run bundle (six os/mini files, +598 −63) and its tree is byte-identical to #726's head, which I built and verified: all six scripts parse, tools/copyright.py --check rc 0, image builds with efivarfs … staged, signers 109 + 1, no UNSIGNED, both artifacts produced, exit 0. Not verified: the behavioural half (boot screens, install progress, BootOrder, grow-data, /dev/kmsg ordering) — that is the QEMU install gate, and bundling makes it one run instead of nine.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
At 08fa7060, build green (build success twice on this head, CodeQL + Analyze ×4 success, hw_gate skipped), mergeable: true against main.
This is the c18 dry-run bundle — six files (os/mini/{1bit-menu,init.sh,install.sh,mkimage.sh,prepare-stick.sh,vmtest.sh}), +598 −63 — and its tree is byte-identical to #726's head, which I built and verified earlier, so the evidence is from execution:
- all six scripts parse (
bash -n); tools/copyright.py --checkrc 0;- an image builds:
efivarfs.ko for 7.3.0-rc4-1bit-perfopt+: staged, signers109 Build time autogenerated kernel key+1 strixhalo Secure Boot Kernel, noUNSIGNED, no missing module,1bit-os.efiand1bit-os.imgproduced, exit 0.
The gate properties survive the bundle: LIVE: runs from RAM and INSTALLED are init's/install's own echoes at any kernel level (and init.sh now replays /dev/kmsg into ttyS0 where the kernel has no per-console level), install.sh keeps fail 9 for a missing efibootmgr plus the "no efivarfs in this kernel: firmware fallback" path, and vmtest.sh SKIPs the boot-order assertion with a stated line rather than failing an otherwise complete install.
Not verified: the behavioural half — boot screens, install progress, BootOrder, grow-data on a real stick, /dev/kmsg replay ordering — needs the QEMU install gate or the board. Bundling makes that one run instead of nine, which is why this shape is right.
Merge-order note: because this tree is identical to #726's, #726 (and #719/#720/#722–#727, which are the same content arriving individually) become redundant once this lands. #726 in particular currently reports mergeable: false against its own base while this PR is clean against main — close the pieces, merge the bundle.
tprs-ready is on it.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
At aa5f9524, rebased after the merges ahead of it. The author patch is byte-identical to the head I reviewed (patch-id from the merge base unchanged before and after), so only main arrived and my review stands without re-reading.
Build state at post time: pending on this head — the merge is gated on it going green, and since the tree is patch-identical to the head whose build I did see green, nothing in this PR is what could turn it red. Nothing new to verify; everything in my earlier verdict on this PR, including what I recorded as not-verified-by-me, applies here unchanged.
tprs-ready stands.
|
Persistent review updated to latest commit aa5f952 |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
At a4c8c5ca, and for any head carrying author patch-id a3c303cae282 — the content is the one I reviewed; every move since has been a rebase onto main with the author diff unchanged (verified by patch-id from the merge base), so only main arrives and the verdict carries rather than being re-derived.
Worth stating plainly, because heads are moving faster than a verdict can be posted: gh pr review records whatever head is live at post time, so a rebase in between makes the recorded commit id look stale even though the reviewed content is identical. The durable key here is the patch-id above, not the sha.
Nothing new to verify; everything in my earlier verdict on this PR — including what I recorded as not-verified-by-me — applies unchanged.
|
Persistent review updated to latest commit a4c8c5c |
|
Persistent review updated to latest commit 725a242 |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
At 725a242b (author patch-id a3c303cae282). Clean rebase — patch-identical. The c18 dry-run bundle (six os/mini files): image builds at this content with efivarfs … staged, signers 109+1, no UNSIGNED, both artifacts produced; all six scripts parse; copyright rc 0. Behavioural half (boot screens, install progress, BootOrder, grow-data) still needs the QEMU install gate, which the bundle makes one run instead of nine.
|
Persistent review updated to latest commit c15041a |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
At c15041af — build green, and the author patch is the one I verified (patch-id a3c303cae282 unchanged across every rebase since), so this is a confirmation rather than a re-derivation.
The c18 dry-run bundle: six files (os/mini/{1bit-menu,init.sh,install.sh,mkimage.sh,prepare-stick.sh,vmtest.sh}), +598 −63. Verified at this content, not by reading:
- all six scripts parse (
bash -n); tools/copyright.py --checkrc 0;- an image builds:
efivarfs.ko for 7.3.0-rc4-1bit-perfopt+: staged, signers109 Build time autogenerated kernel key+1 strixhalo Secure Boot Kernel, noUNSIGNED, no missing module,1bit-os.efiand1bit-os.imgproduced, exit 0.
The properties the release gate depends on survive the bundle: LIVE: runs from RAM and INSTALLED are init's/install's own echoes at any kernel level (and init.sh replays /dev/kmsg into ttyS0, since this kernel has no per-console level), install.sh keeps fail 9 for a missing efibootmgr plus the "no efivarfs in this kernel: firmware fallback" path, and vmtest.sh SKIPs the boot-order assertion with a stated line rather than failing an otherwise complete install.
Not verified: the behavioural half — boot screens, install progress, BootOrder, grow-data on a real stick, /dev/kmsg replay ordering — needs the QEMU install gate or the board. Bundling makes that one run instead of nine.
tprs-ready is on it. Merge this one first; the rest of the stack is waiting behind it.
|
Persistent review updated to latest commit 2481426 |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
At 24814269 — the head after it was brought up to date with main, and build green. The author patch is unchanged (a3c303cae282, identical to the content I verified), so this is a confirmation at the new head, not a re-derivation: only main arrived.
The c18 dry-run bundle — six files (os/mini/{1bit-menu,init.sh,install.sh,mkimage.sh,prepare-stick.sh,vmtest.sh}), +598 −63 — verified at this content:
- all six scripts parse (
bash -n),tools/copyright.py --checkrc 0; - an image builds:
efivarfs.ko … staged, signers109 + 1, noUNSIGNED, no missing module,1bit-os.efiand1bit-os.imgproduced, exit 0; - the gate properties survive it:
LIVE: runs from RAM/INSTALLEDare init's and install's own echoes at any kernel level (withinit.shreplaying/dev/kmsginto ttyS0, as this kernel has no per-console level),install.shkeepsfail 9for a missingefibootmgrand the "no efivarfs in this kernel: firmware fallback" path, andvmtest.shSKIPs the boot-order assertion rather than failing an otherwise complete install.
Not verified: the behavioural half (boot screens, install progress, BootOrder, grow-data, /dev/kmsg ordering) — the QEMU install gate or the board, which the bundle reduces to one run.
tprs-ready is on it. Merge this one first; the rest of the stack waits behind it.
This is #726 rebased onto
origin/mainas asked — a fresh PR because the base edit on #726 would not take (GitHub kept it onosv2/704-image-version, whose tip has since absorbed #724's squash, so it reported CONFLICTING).What it is: the whole reviewed os/v2 set as one commit on top of current
main(4ee55ef).mainhas not touchedos/minisince this work started, so the diff is exactly six files, +598 −63:os/mini/{mkimage.sh, init.sh, 1bit-menu, install.sh, prepare-stick.sh, vmtest.sh}It carries every reviewed change and both review fixes:
loglevel=4, noignore_loglevel) and the serial transcript keeps the kernel log: where the kernel has no per-console level (this one:/sys/class/consoledoes not exist) init replays the ring buffer into ttyS0 and follows/dev/kmsg. Measured on a boot: 635 records, 530 of them KERN_INFO, includingLinux version 7.3.0-rc4-1bit-perfoptand theusbcoredriver lines./etc/1bit/release-identityreports the recorded HRX gitlink, not the engine commit thatgit -C third_party/hrx-system rev-parsewalks up to. Measured in a built image:hrx-system: 82804197bcbe,engine: 9c9a2603523e,lemonade: 2026.46.0.prepare-stickgrows/data(2.1 → 5.8 GiB on a loop copy), os: 1bit-install must show the whole install on screen - progress for every step, nothing silent #710 the install screen (10 steps, sha256 readbacks, progress, logs), os: 1bit-install registers no firmware boot entry and the live kernel has no efivarfs - the installed disk only boots by firmware fallback #709 efivarfs/efibootmgrand the boot-entry step, os: booted from the stick with an installed NVMe present, init mounts the NVMe's data partition and runs as the installed system #711 the data-partition UUID andLIVE from USB/INSTALLED on nvme0n1.Why one PR instead of six: #721, #725 and #727 were merged into their base branches rather than
main, so their content is not onmain, and each later branch was then built on a base that had moved — which is what left #726CONFLICTING. This commit is that content onmain, nothing else.Please merge this one and close #719, #720, #722, #723, #724, #726 and #727 — they are the same reviewed changes in smaller pieces, and merging any of them after this one would be a duplicate.
sh -n/bash -nclean on all six files; the QEMU evidence for each fix is in those PR threads.PR-READY.