Repository navigation
Done
Description
Follow-ups found while taking v2026.47 (c34) through the live USB boot, the install and the release on 2026-11-21/22. Each one was worked around on the night; each needs a real fix in the next candidate.
Appliance (os/v3/puppy)
- Models download into RAM on the live stick.
10lemonadekeeps Lemonade's cache and config on/data/lemonade/{cache,config}but sets noHF_HOME, so model downloads land in$HOME/.cache/huggingface(HOME=/, RAM) and vanish on reboot. Fix: exportHF_HOME=/data/lemonade/huggingfacein10lemonadewhen/datais mounted. (Night workaround: the line in/data/lemonade/lemond.conf.) Fixed: os/v3/puppy: keep downloaded models on /data (HF_HOME), not in RAM #3290. - The stick's data partition is not grown on first boot. A written stick keeps the image's 8 GB
1BIT-DATA, which the demo models alone nearly fill. Fix: grow it to the medium on first boot, or have the writer runprepare-stick.shgrow by default. - Boot waits on unrelated USB storage: os: boot waits about 42 s on an unresponsive USB mass-storage device it does not boot from (JetKVM virtual media) #3286.
Release tooling
- Stale release-check rows.
sealedandnpu-kernels-beside-enginelook for the older kernel-set layout and fail on a v2026.47 system whose NPU chat passes at about 98 tok/s. Teach both rows the signed-manifest sets that release: ship the signed-manifest NPU kernel sets, and keep the sealed ones working (engine#3237) #3278 ships. Fixed: release-check: find the NPU sets where os/v3 ships them, in both manifest schemes #3292. -
payload-runpath: 40 payload libraries still carry a build-tree RUNPATH next to$ORIGIN. Fixed: pack: every packaged ELF gets RUNPATH $ORIGIN only #3294, pack: main reproduces the tested payload (pack_strip skips npu/kernels; lemond ships with no RUNPATH) #3297. -
xhci-capture:/bin/1bit-xhci-captureis not on the image. Fixed: os/v3/puppy: install 1bit-xhci-capture on the appliance #3291. - The cut must use the freshly rolled payload. A re-roll refreshed the payload tree but not the staged
lemonade-onebit-<tag>/directory the image is cut from, so one image carried the previous engine binary. The cut should build the staged directory from the roll every time and refuse a mismatch. - The pre-write probe must be able to stop the write. It printed its result and skipped itself when it could not open the image. It must open the image's own filesystem and exit non-zero on a mismatch or a refusal.
- Keep the shipped image. The tested image file lived in a build directory outside the backup set and was lost when the build host was reinstalled; the release image was reassembled from the checksum-verified files. Archive the exact tested
.imgwith its hash.
Serving
- NPU chat with tools offered. Lemonade's chat page sends its built-in tools with every message, and the NPU route refuses any request that carries
tools. When tools are offered but not required, the NPU route should answer and still parse tool calls the model writes. (Night workaround: a small proxy in front of Lemonade that dropstoolsfor NPU models; it moves Lemonade to an internal port, which also needsLEMONADE_ALLOWED_ORIGINS. Remove both once this lands.) Fixed: npu: tools that are only offered are dropped, not refused (no proxy needed for the Lemonade page) #3298. -
chat-npu-queue-plain: a non-streamed NPU chat queued behind a 1,000-token turn gets no HTTP status at all (the streamed form passes). Fixed: release-check: post_watch_once's curl branch used wget's options #3293 + server: pass a backend's Retry-After through to the client lemonade#57 + pins: lemonade b0f39a7e -> 4bd453a0 (backend Retry-After reaches the client) #3296. - Qwen3-1.7B on the NPU failed its known-answer gate (4/5) and did not ship; it follows in the next release.
Metadata
Metadata
Assignees
Labels
No labels
Activity
bong-water-water-bong commentedon Nov 22, 2026
Added (2026-11-22 02:3x): the engine's self-hosted runners (
engine,bench,org) lived on the build host that was reinstalled as the appliance for the install test, so the requiredbuildandreviewerchecks have nothing to run on. Every engine PR waits on them, including #3285 (the v2026.47 docs, whose release-notes anchor the release post links). Re-home the runners on a build machine first; #3285 then merges normally. Runner configs are in the build host's backup.bong-water-water-bong commentedon Nov 22, 2026
Added (2026-11-22 02:4x, owner): c35 ships an AppImage: one portable file with Lemonade,
1bitand the GPU runtime, for a no-install download. It still needs the host's amdgpu and amdxdna drivers and device permissions, which the AppImage cannot carry, so its first page says so. No Flatpak (owner decision): a background server needing raw GPU (/dev/kfd) and NPU (/dev/accel) access fights the sandbox, and Flathub does not accept the closed compiled-in components. The native packages (deb, rpm, Arch, tarball) shipped with v2026.47 and passpack-proof.sh6/6 (with #3289).bong-water-water-bong commentedon Nov 22, 2026
Release-check rows, 2026-11-22 04:3x AST: all five fixed and proven on the hardware. A stick built with these fixes passes
1bit-release-check38/38, no failures both live (booted from the stick) and installed to the NVMe (Secure Boot on; NPU chat 99.2 tok/s, HRX 49.6 tok/s).New, found while proving it, release-blocking: a live stick on a machine that already runs an installed 1bit OS booted the installed system's SFS (both found their root by the
1BIT-DATAlabel). Fixed in #3295 (the stick pins its own UUID; the installer handles it). Also merged tonight: #3289 (pack-proof), #3290 (HF_HOME on /data).Still open from this list: the NPU route answering tool-offered chats (a proxy covers the chat page for now), the stick data partition not growing on first boot, the catalogue offering Qwen3-1.7B-NPU with no kernel set (it fails to load with a misleading 'array busy' error), keeping the exact tested image, and the issue digest skip.
bong-water-water-bong commentedon Nov 22, 2026
c35 stick rebuilt from main: 38/38 PASS on the AI MAX+ 395 (22 Nov 06:3x AST), image sha256
562dd9b6…, live from the stick (booted itself, Secure Boot on; NPU 94.6 tok/s, HRX 45.6 tok/s).Rebuilding from
mainshowed it could not reproduce the tested package on its own; fixes, each open:pack_stripstripped the signed NPU kernels (fails), and lemond/lemonade shipped RUNPATH/usr/local/lib; both had passed tonight only through hand edits.base-modeskeep-list gains the two paths the running system makes writable (/var/local/shared,/var/cache/cups).Not rebuilt from source: the Puppy base layers (woof-CE not available; v2026.47's, permissions normalised by
scripts/base-modes.sh) and the HSA runtime set (the release copy; TheRock not on the build host).bong-water-water-bong commentedon Nov 22, 2026
c35 installed to the NVMe and passes 38/38 INSTALLED (22 Nov, AI MAX+ 395; Secure Boot on; NPU 97.3 tok/s, HRX 51.0 tok/s; identity
payload=lemonade-onebit-rc-2026-11-22-c35).New, unexplained: the box froze on the installer's own reboot.
1bit-installfinished all 7 steps (INSTALLED: … UUID=160b07b2…, Boot0003 first) and began its 10 s countdown to reboot; the machine then dropped off the network and stayed down until it was power-cycled by hand (Puppy left/data/fsckme.flg). No log from the frozen boot exists: the last snapshot is the stick boot the installer ran from (11:36Z), the next is the power-cycled boot (13:56Z), which came up normally. The same reboot after the c35b install, two hours earlier, worked. Changed between the two: the c35 stick adds the xhci keep-awake udev rule and the base-mode normalisation. Needs a console capture on the next install (serial or JetKVM recording) before anything is changed.Also measured on every boot of this board:
GPT: Use GNU Parted to correct GPT errorsfor the stick (the dd'd image's backup GPT sits at the end of the image, not the stick); #3301 relocates it on first boot.bong-water-water-bong commentedon Nov 22, 2026
Installer reboot freeze: evidence so far, and two PRs (cl-release, 22 Nov ~15:20Z). All of this was read on the box without changing anything except where noted.
shutdownmarker at 11:37:29Z. Its shutdown tail is the same, line for line, as three reboots that came back (stick 10:31Z, stick 14:23Z, NVMe 14:18Z). That leaves four places it could have stopped: the end ofrc.shutdown, the kernel's reset, firmware POST, or early in the first NVMe boot.reboot: Restarting system. The next boot then files it under/data/logs/<boot>/pstore/and writes a verdict line tomarkers.bong-water-water-bong commentedon Nov 22, 2026
Release tooling items - PRs (lane cl-buildenv, 2026-11-22):
os/v3/puppy/cut.sh(package, Lemonade andlemonade-onebit-<tag>/rebuilt in every run from a build it checks is at the tree's commit; image viabuild.shwith woof-CE or by patching a released base),image-probe.sh(reads the image's own 1BIT-DATA with debugfs at its offset - no mount, no root - and exits 0 pass / 1 mismatch / 2 could-not-look),archive-image.sh(exact image + sha256 + probe log, copy verified, never overwrites a tag).payload-runpath; with it the 12 set files are byte-for-byte c35's, and HRX runs through them on the box 9/9) and os/v3/puppy/patch-sfs: an addition under a new directory below the root is part of the declared set (engine#3287) #3315 (patch-sfs refused main's newusr/local/sbin/1bit-grow-data: a new directory below the root was read as outside the declared set). Also filed serve: a user-set IREE_HAL_AMDGPU_LIBHSA_PATH is ignored; docs/serve.md says serve keeps it #3314 (serve ignores a user-setIREE_HAL_AMDGPU_LIBHSA_PATH).562dd9b6…): PASS against its payload, FAIL against a fresh build, REFUSED on a truncated image.~/release-archive/rc-2026-11-22-c35/1bit-os-puppy-rc-2026-11-22-c35.img(sha256562dd9b6dd4cd19a810e5aa52eb50a18ae254ce28ba7451c092361ed0697bb33, re-probed PASS before archiving) with both release-check logs. It still needs an off-host copy - the build host is exactly what was lost last time.bong-water-water-bong commentedon Nov 22, 2026
cl-release: two fixes merged.
printk.always_kmsg_dump=1on the cmdline, with a guard in mkimage.sh).1bit-logsfiles the record into the next boot's log directory, then clears it, and marks whether the kernel reached its own reset line.cut.sh BASE mode does not carry #3308's rc.country change yet; cl-buildenv has a tested patch. The reboot reproduction on the appliance waits on the owner's go.
🤖 Generated with Claude Code
bong-water-water-bong commentedon Nov 22, 2026
cl-release: the plain reboot of the installed c35 appliance (orchestrator GO, owner word). It reproduced a stall, and pstore is empty.
Measured on the box (/data/logs, /data/dev/cl-release/reboot.log):
printk.always_kmsg_dump=Yset at runtime, pstore held 0 records, then/sbin/reboot.markersfile has twoshutdownlines, 19:57:55Z and 20:01:19Z. Both can only come from06onboard-logs stopin rc.shutdown's init.d loop, so rc.shutdown ran twice. Userspace and a writable /data were still alive 3 min 24 s after the first run. The good reboots earlier today (14:15–14:18Z) each have one line.[19959.75] r8169 eno1: Link is Down(19:57:54.8Z). The kernel printed nothing for 3.4 min.x86/amd: Previous system reset reason [0x00080800]: software wrote 0x6 to reset control register 0xCF9. The box ended in the kernel's own software reset, not a power cut. That fits a second/sbin/reboot(inittab maps Ctrl-Alt-Del to/sbin/reboot); I'm asking whether one was sent at ~20:01.kernel_restart()callskmsg_dump(KMSG_DUMP_SHUTDOWN)before the reset, and efi_pstore, with max_reason UNDEF and always_kmsg_dump=Y, should have dumped. Butefi_pstore_writeusesefivar_trylockand a non-blocking SetVariable, and returns -EBUSY when the EFI runtime is busy.Next step: find which rc.shutdown step after
06onboard-logs stopstalls. Candidates: the 05/04/03/00 stops,sfs_load --cli stop, umount, connman stop, networkdisconnect, andmodprobe -rof r8169/mt7925e. Lemonade :13300/:13305 are back up (HTTP 200).🤖 Generated with Claude Code
bong-water-water-bong commentedon Nov 22, 2026
cl-release, follow-up on the reboot stall: the second shutdown at 20:01:19Z was the owner rebooting the box by hand, because it was unreachable.
What that means for the c35 "frozen reboot":
06onboard-logs stopmarker at 20:01:19Z) and ended in a CF9 software reset. A power cut would have done neither.06onboard-logs stop. The network is already down at that point, which is why the box looks frozen from outside. That run was never seen to finish, so stuck versus slow is still open.#3330 (merged) makes the next one observable:
1bit-shutdown-watchnames each rc.shutdown step, and the stack of a step that hangs, in the kernel log, which reaches the screen, the serial console and the next boot's dmesg snapshot. It reaches the box with the next image, or sooner if the owner agrees to it being put on the live box.🤖 Generated with Claude Code
bong-water-water-bong commentedon Nov 22, 2026
cl-release: correction, and the pstore record. pstore was not empty. At 20:03 I listed
/sys/fs/pstorewhile it was not mounted; the c35 image's 1bit-logs predates #3306 and does not mount it.Measured on the box, read-only: NVRAM holds 18
dump-type0-*-1795377686variables, timestamped 20:01:26Z, which is the owner's manual reboot. I mounted pstore, copied the records without deleting any (the NVRAM variables are still there) to/data/dev/cl-release/pstore-20261122T2001Z/, and unmounted again. So efi_pstore does keep the shutdown record on this board (printk.always_kmsg_dump, #3306, works as intended). The reassembled log ends:[14344.849850] amdgpu 0000:c5:00.0: GPU reset: queues of 1 process(es) are no longer usable, then[drm] device wedged, but no recovery needed(about 18:24Z). A process stuck on the wedged GPU is now my lead for what rc.shutdown waited on. It is not proven.🤖 Generated with Claude Code
bong-water-water-bong commentedon Nov 23, 2026
cl-release: second GO'd plain reboot, 23 Nov 04:28:41Z, with the #3330 shutdown watcher in place. The box was back at 04:33:27Z, about 4.8 min later, after a software reset (reset reason CF9). The pstore record (16 parts) was filed automatically into the new boot's log directory by v2026.48's 1bit-logs (#3306 working). It shows the stall:
The same shape as 22 Nov: the first rc.shutdown stalls after the NIC unload and never finishes, and a second one starts about 4 min later and finishes in 19 s. Last time the owner started the second run by hand. For this run I'm asking whether anyone touched the box at about 04:32:40Z.
The first watcher went silent, with no
finishedand nostill in … after N s. There are two possible reasons:/proc/<pid>/cmdlineof a stuck process, because that read takes the target's mmap lock.Either way, the next step is a watcher that cannot be silenced this way: it logs on SIGTERM, prints a heartbeat every 15 s, and reads cmdline with a timeout. Then one more reboot will name the stuck step.
🤖 Generated with Claude Code
bong-water-water-bong commentedon Nov 23, 2026
cl-release: a clean baseline for comparison. The owner's reboot at 09:48Z finished its shutdown on its own: the old boot's
shutdownmarker is at 09:48:11Z, the new boot at 09:48:46Z, and the reset was a CF9 software reset. That is 35 s for rc.shutdown plus POST, against about 4 min in both stalled reboots, which only ended with a hand reboot.The difference: the box was idle (6 W), with no model loaded in lemond and no lane jobs. In both stalls, lemond and lane jobs held GPU/NPU state (lemond's last lines on 22 Nov were its model teardown) when rc.shutdown reached the NIC unload and the dev_save kill loop. That points at a process stuck releasing device state, which is what the v2 watcher (#3362) is built to name.
This reboot left no pstore record:
/proc/cmdlinehas noprintk.always_kmsg_dump=1because1bit-updatecopies the old slot's kernel parameters. That is filed separately.🤖 Generated with Claude Code
bong-water-water-bong commentedon Nov 23, 2026
cl-release, reboot under load, 23 Nov:
Qwen3-0.6B-NPU-1bitloaded in Lemonade with a streaming chat in flight. The GPU model,Qwen3-4B-Instruct-2507-HRX, failed to load just before ("llama-server failed to start"), so this was an NPU-only load./sbin/rebootat 15:02:05Z, ssh gone at 15:02:21, box back at 15:07:26 with uptime 0 min. That is ~4.5 min of shutdown, against 35 s idle, so the stall reproduced. This time it cleared on its own, with no Ctrl-Alt-Del.efi_pstoreandalways_kmsg_dump=Ywas set at runtime. The kernel's restart dump doesn't reach EFI on this box, so watcher v2's kernel-log lines are lost.🤖 Generated with Claude Code
bong-water-water-bong commentedon Nov 23, 2026
Correction to my comment above: the 15:02Z stall did not clear on its own. The owner hand-rebooted at 15:06:46Z (orchestrator's read on #3361). The capture also worked: the previous boot's
/data/logs/<boot>/dmesg.logholds watcher v2's lines up to rc.shutdown line 169'ssleep 2, then 258 s of silence. pstore isn't needed for this. The follow-up is on #3361.🤖 Generated with Claude Code
bong-water-water-bong commentedon Nov 24, 2026
Every checklist line in this issue has landed on
main; the body's boxes were just never ticked. Verified the commits, not the prose: all 18 PRs named on the thread have merge commits onmain(spot-checked every sha), andgh pr viewconfirms the two that looked dubious (#3293→0287d8d58cmerged,#3296→8396b2fdbdmerged).Landed, by body line:
bff70ed6(os/v3/puppy: keep downloaded models on /data (HF_HOME), not in RAM #3290); release-check rowsbdaed32e(release-check: find the NPU sets where os/v3 ships them, in both manifest schemes #3292)$ORIGINonly —11248c6f(pack: every packaged ELF gets RUNPATH $ORIGIN only #3294),d89673a7(pack: main reproduces the tested payload (pack_strip skips npu/kernels; lemond ships with no RUNPATH) #3297)856e959f(os/v3/puppy: install 1bit-xhci-capture on the appliance #3291)b902e159(npu: tools that are only offered are dropped, not refused (no proxy needed for the Lemonade page) #3298)0287d8b58c(release-check: post_watch_once's curl branch used wget's options #3293),8396b2fdbd(pins: lemonade b0f39a7e -> 4bd453a0 (backend Retry-After reaches the client) #3296, lemonade pin)04fe8586(os/v3/puppy: read the hardware clock as UTC, so a boot does not run 4 h ahead until NTP (engine#3287) #3308),8fa1148d(os/v3/puppy: every reboot leaves its kernel log tail in EFI pstore, and the next boot files it (engine#3287) #3306),10319886(os/v3/puppy: rc.shutdown names each step in the kernel log, so a stalled reboot shows where (engine#3287) #3330),066f16f0(1bit-shutdown-watch v2: a stalled step cannot silence the watcher, and its own death is logged (engine#3287) #3362)5d97428e(os/v3/puppy/patch-sfs: an addition under a new directory below the root is part of the declared set (engine#3287) #3315),557c2137(os/v3/puppy: cut.sh builds the payload fresh, image-probe.sh can stop the write, archive-image.sh keeps the tested image (engine#3287) #3316),82eb5696(os/v3/puppy/cut.sh: a BASE cut stages Node.js + npm, so the image passes release-check node (engine#3287) #3324),9b4d60ff(os/v3/puppy/cut.sh: the payload gets weekly.sh's catalogue filter and link localising too (engine#3287) #3341),c1c3f6c6(weekly.sh package_checks: three rows that failed every release package now check what ships (engine#3287) #3338),be7886b4(os/v3/puppy/vm-check.sh: the boot pin row expects the UUID pin #3295 made, read from the /data device (engine#3287) #3339)c98dcdb3(os/v3/puppy: a written stick grows its data partition to the medium on first boot #3301), called fromos/v3/puppy/embed/etc/init.d/05onboard-data:62The two follow-ups this umbrella spawned are open under their own numbers and are where the remaining work lives:
rc.shutdown(its real cause is the stray-unmountfuser -kkillingrc.shutdownitself; being fixed there)and os: boot waits about 42 s on an unresponsive USB mass-storage device it does not boot from (JetKVM virtual media) #3286 (USB boot wait) was closed completed.
Closing this as a completed checklist, with the pointer above so nothing lands back here.
1bit OS: stray-unmount fuser -k SIGKILLed rc.shutdown and its caller …