Skip to content

console_quiet=1: drop user space's console output (default under avfboot) - #24

Merged
dylanneve1 merged 1 commit into
mainfrom
avf/console-quiet
Oct 23, 2026
Merged

dylanneve1 merged 1 commit into
mainfrom
avf/console-quiet

Conversation

@dylanneve1

Copy link
Copy Markdown
Collaborator

Phone profile (install 2, 20:51): Scion's avf-console thread used 27% of a host core handling the 8250's traps. Most of it was launchd's log of SpringBoard's failed lookups (around 40,000 log events a second, judging by Last log repeated), plus the daemons' standard error and os_log mirrored to the console.

  • 1003 (bsd/dev/arm/km.c): kmwrite(), behind /dev/console, drops what user space writes when console_quiet=1. Kernel printf and panics don't go that way and still print.
  • avfboot adds console_quiet=1 unless the parameters already contain console_quiet=. Use console_quiet=0 for a verbose session.

QEMU (avfboot, this kernel, system.apfs on virtio-blk, virtio-gpu): boot-args: ... console_quiet=1 ..., 941 console lines in 330 s, none of them launchd's, against about 2,800 in 150 s before. No panic; SpringBoard creates its surfaces and draws.

🤖 Generated with Claude Code

…nder avfboot

Phone profile (install 2, 20:51): Scion's avf-console thread at 27% of a
host core, handling the 8250's traps for launchd's log of SpringBoard's
failed lookups (some 40,000 log events a second, 'Last log repeated'),
the daemons' standard error and os_log mirrored to the console.

1003: kmwrite() (behind /dev/console) drops what user space writes when
console_quiet=1; kernel printf and panics are not written that way and
still come out. avfboot adds console_quiet=1 unless the parameters say
console_quiet= themselves (console_quiet=0 for a verbose session).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dylanneve1
dylanneve1 merged commit 5065c94 into main Oct 23, 2026
1 check passed
@dylanneve1
dylanneve1 deleted the avf/console-quiet branch November 2, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant