Skip to content

os: two menus at boot (12 s chooser, then the appliance screen) and no visible network wait - one flow #705

Closed

Description

@bong-water-water-bong

Owner's dry-run feedback on c18 (2026-10-31): after the kernel log there is a chooser (1) Lemonade appliance (default, starts in 12s) 2) verbose, no GPU 3) shell 4) off), then the appliance screen (1bit-menu) which shows "starting" until lemond answers and only then the URL; it "takes a while for networking to work".

Measured on this boot: stick mounted 19:27:43, lemond listening on :13305 at 19:28:01 (18 s); eth0 link up at 7.4 s after power-on; DHCP via udhcpc -b -q -t 5. So the visible wait is the 12 s chooser plus the DHCP lease plus lemond's start, with nothing on screen saying which.

Proposed single flow: the chooser stays (install / shell / off need it) but counts down on one line under the banner and falls straight into the appliance screen; the appliance screen shows three live lines while waiting (network: waiting for DHCP on eth0 (link up) -> the IP, Lemonade: starting -> up on http://<ip>:13305, engine: HRX0 ready), each flipping as it happens, so the owner sees progress instead of a blank "starting". The QR code and the URL appear the moment the IP and lemond are both there. Keep tty1-only; nothing changes on ttyS0 for the gates.

Activity

  1. bong-water-water-bong commented on Oct 31, 2026

    @bong-water-water-bong
    CollaboratorAuthor

    Screenshot timeline (JetKVM, 2026-10-31 c18 boot): eth0 link up at 7.41 s; then usb 3-2: reset high-speed USB device number 2 using xhci_hcd at 25.25 s and again at 46.24 s, and the UDisk only attaches at 46.39 s ([sda] 122880000 512-byte logical blocks), /data mounted at 46.99 s. So ~40 s of the wait is the stick's own USB enumeration (two resets), before init even reaches the chooser. Worth reporting on screen (waiting for the boot stick) and worth testing on a USB-3 port / a different stick; the chooser's 12 s and lemond's 18 s come after that.

  2. bong-water-water-bong commented on Oct 31, 2026

    @bong-water-water-bong
    CollaboratorAuthor

    Owner, 2026-10-31 evening: "place a timer on selection" - the appliance menu (1bit-menu) must not wait forever on its selection: after a countdown (10 s, shown on the highlighted row like the chooser's "starts in 12s") it falls into the default item (the status screen with the URL + QR), and any key cancels the countdown and leaves the menu interactive. Same rule for the boot chooser, which already has 12 s. No screen in the boot flow blocks without a visible timer.

  3. added
    os
    on Oct 31, 2026
  4. bong-water-water-bong commented on Nov 1, 2026

    @bong-water-water-bong
    CollaboratorAuthor

    Merged — closing. PR #721 → merge commit 86dbe7ed9.

    What the merge puts on the screen (from the PR): the selection timer moves onto the choice line itself
    (choice [1] starts in 12 s, any key picks) so the chooser is one screen — that is the owner's "place a timer on
    selection" — and each wait then names itself: network: waiting for DHCP on eth0 → network: <ip> on eth0,
    Lemonade: starting → Lemonade: up on http://<ip>:13305/ (a real 20 s probe), then engine: HRX0 ready
    (a llama-server --list-devices probe), all of it to the VT, the serial log and /data/boot.log.

    One residue, stated so it is not mistaken for done: the ~40 s before /data exists — the stick's own USB
    enumeration (two usb 3-2: reset events, UDisk attaching at 46.4 s) — still has no on-screen line, because init
    runs from RAM and has nowhere to log until the data partition mounts; today it only prints still waiting for the 1BIT-DATA partition (t=Ns) at 30 s and 60 s. Your comment asked for waiting for the boot stick. I am not filing a
    separate issue for it unless you want one: at that point the chooser has not drawn yet, so the honest options are a
    kernel-level line (ignore_loglevel off — #703) or a say on tty0 before the mount, and the second one is a two-line
    change inside the same init loop the next OS pass touches.

  5. bong-water-water-bong commented on Nov 1, 2026

    @bong-water-water-bong
    CollaboratorAuthor

    Citation correction (pi-issues): the close above named 86dbe7ed9 from PR #721 — that merge went into #721's base
    branch
    , not main. The content reached main as #742 → 1b3def231 (2026-11-01 09:56:14Z, six files in
    os/mini/), so that is the commit the fix should be cited against. The behaviour is unchanged from what the close
    describes; only the sha was wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementos

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions