The fallback is a resolver of its own beside the network's, since smoltcp
keeps at most three servers in one. It is asked once per lookup, after
the network's servers (or the 15 s wait for one) and the AAAA-then-A
retry, and each use is noted ("asking the public resolvers ... instead",
"resolved by the public resolver ..."). A --dns setting is never replaced.
smoltcp's Failed is the same for a server that never answered, one that
answered with an error code or no address, and a reply from an address it
did not ask. The stack now reads DNS replies off the wire beside it and a
failure says which: "no reply from 192.168.137.1 in 10 s to the A query",
"10.0.2.3 answered SERVFAIL with 0 answer records and no A address", or a
reply that came from another address and was dropped. The no-server text
stays as it was where no public resolver is reachable.
The address wait took a 2002:: (6to4) address that passed DAD 37 s in, with
no DNS server, and never waited for the DHCPv4 lease. IPv6 alone is now
taken at once only with a native global address and a DNS server; else at
the end of the 60 s DHCPv4 wait. Lookups ask A before AAAA when the only
global IPv6 address is 6to4 or Teredo (RFC 6724 ranks them below IPv4).
A Ryzen 5600X with an RTL8111H (XID 541) got its DHCP lease in 2 s and
logged the IPSW's REMOTE IMAGE line, then nothing: no RESTORE PROXY
wiring, no range line, no installer. The reads before the guest
(Store::open and prepare in Experiment::new) had no time limit and the
install's 20-try budget (about a quarter of an hour), nothing stored the
log between "Setting up the Mac's hardware" and "Starting the macOS
installer", and nothing watched: the other processors look at the boot
processor's steps only between guest slices.
- Ranges::before_guest: reads before the first bound give up after
QUIET_BEFORE_GUEST_MS (120 s) without a byte, ATTEMPTS_BEFORE_GUEST (6)
failed tries at one range, or a refusal no try mends, and keep the
reason (GaveUp). A slow server that keeps sending is waited for. The
first bound (the guest's restore host) restores the 20-try budget.
- RangeSource::waiting hears each wait before the guest; Waiting::screen
is the step's line ("try 3/6 in 4 s, no data for 45 s").
- Each range's end is logged with its HTTP status, bytes, first byte and
open time; a response that is not the partial range names its status.
- stela.efi: "Opening the macOS install image from Apple" is its own step.
Before the guest each wait stores the logs when due (flush_due), each
range line and failure stores them at once with the adapter's frame
counts and state line (resyncs=/skipped= on a Realtek), and every 10 s
of silence logs them. A give-up stops with "Couldn't download macOS from
Apple: no data for 2 minutes. Check the network, or put the install
files on the USB with stambha." and the technical error in the log.
- step_watchdog: the boot processor's counter is retired when the machine
starts instead of when the other processors start (they stay parked and
look at nothing before), and the image's reads run in a watched segment
whose waits report progress, so a call that never returns stops the
boot with a named stage. The boot processor still stops running alone
(its dispatcher halts while idle) where it did.
The translator id, options revision 13 and bundle revision 39 are
unchanged.
What "awaited" was. A lookup never waits for the stick: a page whose key
the in-memory index holds but whose record lies only in the file is
answered Awaited, its block compiles, and the reader reads the record for a
later fetch. awaited_lookups counts those later fetches' lookups of the
same pages, not misses: a key no index holds is absent at once and never
read (113 177 distinct absent keys on 2026-11-23, none read). The records
came 60-570 ms after they were asked for, queued on a stick that runs one
command at a time behind up to 16 record reads, the writer's merge reads
and its 512 KiB writes (HOST DISK IO ..6573: 108-124 ms a command, deepest
40), 25 KB a read, and 171 919 asks were dropped as too late.
- stela-runtime translation_bulk: the preload's plan (each segment from its
first record not read ahead, the merged one first, its records in the
order a boot first used them), the memory it fills (Bulk: single writer,
lock-free readers below a Release count), its reader (BulkReader: one
read in flight, started after the record reads a lookup asked for, so a
record's read waits behind one chunk at most), and the lookup shape the
boot follows. FileRead moves here from the boot unchanged.
- The loader sets the memory aside within the room the pack's budget
leaves (host_memory::bulk_bound: all the records in the file within the
room, at most 1 GiB), so the room the window and the guest share shrinks
by it; the descriptor follows the blobs in the handoff region.
- The engine decodes a record the preload holds in Shared::lookup and in
the reader, waits for the preload for a record in its next two chunks,
reads at most two records beside it, stops its own read-ahead while it
runs, serves the writer's merge reads from it, and stops it when a merge
retires the segments. The host core steps it with --host-core on;
otherwise PE 0 steps it between slices at EL0.
- Logs: TRANSLATIONS background preload planned=..., installed, read=N MiB
in M s held=... stopped=..., and at the end lookups in memory, from the
preload and from the stick, before and after it stopped.
Records are still checked by their own trailers as they decode; the
translator id, the pack format, options revision 13 and bundle revision
39 are unchanged.
Tests: absent keys never read the stick; after a whole preload no lookup
does; a bound smaller than the pack holds its first records and reads the
rest on demand; a record damaged on the stick is refused alone; a lookup's
read runs before every later bulk read. A launch model over a fake stick
(30 MB/s, 5-50 ms a command, 16 KiB records), a first lookup every 2 ms:
on demand 0% of records in memory within 50 ms, wait p50 41 s; preloaded
in 2 MiB reads 99%, p99 23 ms. Every 0.25 ms: on demand 0%, p50 44 s;
preloaded p50 0.8 s, p99 1.7 s.
The renamed text is what a person reads on the screen: status lines, GPU
and memory notices, stop reasons, the installer's disk refusals and the
commands they suggest (stambha repair, stambha log).
Boot log lines stay as they are, tags and text, since tools and people
grep them, and so do names written to disks or shown to macOS: the
"Stela macOS" GPT name, partition names, USB strings and Metal names.
The install build is the RTL8852CE Wi-Fi branch (wifi/rtw8852c-m3, 999c0d361)
with upstream's GPT slot, TRIM and 32 MiB log fixes.
One conflict, in crates/stela-boot/src/engine/network.rs (HostNetwork::open):
the Wi-Fi adapter's address wait still runs through network_link::address,
so its connection keeper's failures are retried until the cut, and upstream's
DHCP and DNS notes (Stack::take_notes) are logged after that wait, before the
keeper's retry line. This matches wifi/rtw8852c-m3-test, without its
host-check-only `pub(crate) mod security`.