danos/system/services
Daniel Samson 1638845a4b
usb/fat: transfer events matched by slot+endpoint; storage failures heal
B2 — the 1-in-3 boot-time READ CAPACITY failure, root-caused: the xHCI
library's awaitTransfer claimed ANY unclaimed transfer event as its own
completion. An interrupt-endpoint event whose TRB pointer no longer
matched the armed subscription (an error or stale completion from the
keyboard/mouse polling concurrently with storage bring-up) fell through
and was misread as the bulk transfer's completion — desynchronizing the
mass-storage bulk protocol in controller state that SURVIVED driver
restarts, so every retry failed too. Awaited transfers now match the
event's slot id and endpoint DCI; foreign events are dropped and named.
Twelve consecutive runs of the previously-flaky cases pass; the full
suite is green with none of its old intermittents.

B1 — and when storage does fail transiently, the system now heals
instead of giving up forever: a nonzero exit maps to ExitReason.aborted
(a deliberate FAILURE exit — supervisors restart those with backoff,
unlike a clean .exited), usb-storage exits nonzero when a PRESENT
device fails bring-up, and the fat service no longer blocks its harness
polling for a block device and then dies — it serves immediately
(requests fail politely), retries on a 500 ms timer, and mounts
whenever storage appears, including after a driver restart.
2026-07-21 20:27:55 +01:00
..
acpi runtime: std.log for every user binary — kernel-stamped attribution 2026-07-21 15:39:51 +01:00
args-echo removing the need for panic and _start snippets in user space binaries 2026-07-17 16:15:30 +01:00
block fat/usb-storage: flush the device cache on close so writes survive power-off 2026-07-13 23:29:15 +01:00
crash-test removing the need for panic and _start snippets in user space binaries 2026-07-17 16:15:30 +01:00
device-list removing the need for panic and _start snippets in user space binaries 2026-07-17 16:15:30 +01:00
device-manager runtime: std.log for every user binary — kernel-stamped attribution 2026-07-21 15:39:51 +01:00
display naming: shm → shared_memory — 'shm' is a Unix clipping, not an acronym 2026-07-21 17:26:15 +01:00
display-demo display-demo: stop drawing a cursor and stop blocking on the mouse 2026-07-21 02:37:47 +01:00
fat usb/fat: transfer events matched by slot+endpoint; storage failures heal 2026-07-21 20:27:55 +01:00
fdt removing the need for panic and _start snippets in user space binaries 2026-07-17 16:15:30 +01:00
init build: -Ddiagnose — boot without the display so the transcript stays on screen 2026-07-21 19:15:14 +01:00
input removing the need for panic and _start snippets in user space binaries 2026-07-17 16:15:30 +01:00
input-source display: track the mouse with a listener thread (Shape A) + cursor 2026-07-21 02:31:29 +01:00
input-test removing the need for panic and _start snippets in user space binaries 2026-07-17 16:15:30 +01:00
logger logger: logger.log becomes the completeness receipt 2026-07-21 20:05:13 +01:00
power Add runtime.time, drop demo drivers, harden TSC timekeeping 2026-07-13 11:56:43 +01:00
process-test boot: the /system tree is the system image — loader-built ramdisk, spawn by path 2026-07-21 14:47:26 +01:00
shared-memory-client naming: shm → shared_memory — 'shm' is a Unix clipping, not an acronym 2026-07-21 17:26:15 +01:00
shared-memory-server naming: shm → shared_memory — 'shm' is a Unix clipping, not an acronym 2026-07-21 17:26:15 +01:00
thread-test docs+code: drop misleading fs.base notation for the thread pointer 2026-07-21 01:52:10 +01:00
vfs-test vfs: the root moves into the kernel — resolve + redirect cutover 2026-07-21 16:27:06 +01:00