Skip to content

2.24.0 — demo bundle: boot pagh desktop in one command

Pre-release
Pre-release

Choose a tag to compare

@ccclosed ccclosed released this 16 Nov 20:58
· 364 commits to dev since this release
9d5c782

One-command QEMU/OVMF demo of Pagh-OS 2.24.0 (integration build f9b58a16, branch integration/mvp-full; origin/dev @ 14e3168a merged: every feature PR #118–#143, including boot-menu-once, kernel network data (K0–K3) and the network flyout).

Desktop starts automatically (fbdev + evdev) once the system volume is mounted; damage-only compositor;
ShmSurface clients over PDP/1.

What is new in this build (vs the previous demo image):

  • The disk menu is asked once per machine. fix/boot-menu-once (#143) replaces the old
    "a pagh volume exists ⇒ skip the menu" rule. That rule was wrong in both directions: it never
    asked an operator who had never answered (an image built by the tooling already carries a pagh
    volume), and it could never be un-answered. The kernel now records the chosen action in the
    boot block of the mounted volume (fs::mount_choice, LBA 1, written last, after the mount
    and seed succeed), and boot_menu::run skips only when that recorded choice is present.
    On media that keep the system volume in RAM (this USB image and the ISO load disk.img as
    ram0, writes are lost at reboot) the record cannot survive, so the menu appears on every
    boot there — that is expected and documented in TRY-IT.md. Installed on a real disk it is
    asked once.
  • The network flyout shows real kernel data (feat/kernel-net-data K0–K3 +
    feat/network-flyout-data): per-channel byte/packet counters (src/net/netstats.rs),
    /proc/net/dev render (docs/procfs.md §15), SIOCGIFCONF/SIOCGIFADDR/SIOCGIFFLAGS on
    AF_INET sockets (Linux UAPI 40-byte ifreq), and pagh-desktop's netinfo reader. Panel
    network icon and flyout are fed by those, no longer by a hardcoded guess.
  • Long sessions no longer die. fix/pf-guard-reentry (#140) is in this image: the page-fault
    guard is per task (owner pid beside the depth), ring-3 faults are always serviced, and the
    kill path abandons only its own owner's entry instead of wrapping a per-CPU counter.
  • Click really navigates. SO_RCVTIMEO/SO_SNDTIMEO are honoured and blocking socket waits
    sleep one tick (fix/unix-recv-delivery, #137).
  • Rubber-band selection on the empty desktop (feat/desktop-ux, #136).
  • Ring-0 mini-Rust interpreter removed (#139); rust is an lxrun alias.
  • pagh-terminal runs its own shell session in a window (#138); Alt+Shift+F4 in Files
    opens it without touching the panel chip. Non-root identity/permissions (#131, #132),
    crisp icons (#128, #130, #133), frame-time harness (#135) and real-app e2e (#124)
    are all in this tree.

Boot-menu-once, and where it does (not) appear. The harness tools/e2e.py usb pins this path
in the guest: it formats a disk through the menu over the emulated USB keyboard, reboots and
asserts boot disk menu skipped (the skip now comes from the recorded marker), then erases that
marker from a fresh copy — a provisioned volume nobody answered for — and asserts the menu SHOWS,
Enter mounts, and the next boot skips again. The host property mount_choice pins the other half:
a damaged, foreign or random marker sector reads as "no choice", so a corrupt sector can never
decide a mount for the operator. src/test.rs also carries the in-QEMU routines for the net-data
chain (K0–K3).

The menu is a question about partitions: these demo media carry the system as a bare ext2 image
on the boot medium (disk.img → ram0), so there are no partition candidates and the boot path
mounts it directly — no menu, no 20 s pause, desktop starts immediately (verified in QEMU on all
three media). A partitioned disk — an installed system — is where the menu appears once, records
the answer, and stays away.

Heavy-session verification. The fix/pf-guard-reentry build (in this image) was booted from
pagh-boot.img under QEMU with -snapshot and driven through a ten-minute desktop session:
terminal command load plus a sidebar click campaign. The serial log contains zero
[EXC #14], SIGSEGV, refusing re-entry, PANIC or Broken pipe entries, and Files still
navigated at the end of the run. This image is that tree plus the dev merge, with all gates
re-run green (host-tests 797/0, e2e selftest 115 routines / 0 failed).

pagh-demo-x86_64.tar.gz (~60 MB) contains:

  • pagh-boot.img — GPT+ESP UEFI USB image (dd to a stick), SHA256 775ae20c61cd37bccf774e626ab35af7651ce647d8dde8120e871d3640775e61
  • PAGH-OS-2.24.0-desktop-demo.iso — BIOS+UEFI ISO (Ventoy-ready, verified booting), SHA256 48c2181fba3f507ca26ddfdda08d7ac0f23ad795626673e0170386f4c6f78a7d
  • run.sh (./run.sh or ./run.sh --iso), TRY-IT.md, README.txt, SHA256SUMS

SHA256 of the archive: d462c3920e6155ba7f476640d54ed95ecac2f741907f360c091117ec3ec1ff9e

Media verification. pagh-boot.img and the ISO were both booted in this build under QEMU/OVMF
and reach the same desktop (app="pagh-files" in the serial log); the demo disk boot was driven
long enough to open the terminal window as well. Serial logs for every run: no EPIPE,
[EXC, SIGSEGV, PANIC or refusing re-entry.