#!/bin/bash # redboot-triage.sh [base-va] - pull the r613b/r613d wedge-class # evidence from a boot's dmesg capture in one pass. # usage: redboot-triage.sh /tmp/opencode/rNNN-live.log [0x7fc716c00000] set -u LOG="${1:?usage: redboot-triage.sh [base-va]}" VA="${2:-}" echo "=== $LOG ===" echo "--- sema-shadow-dst (r614 witness; the red-boot entry point)" grep -h "sema-shadow-dst" "$LOG" | head -12 echo "--- GRFILL-DROP + held-for-retry + degenerate refusal" grep -hE "GRFILL-DROP|launch held for a bounded retry|GR submit refused|GR forward failed|GR-STALL-fwd-fail|GR-COMPLETE-SW" "$LOG" | tail -24 echo "--- arg-miss walk lists (r614: full, untruncated)" grep -h "arg-miss" "$LOG" | tail -6 echo "--- cand[0] arg base probes (first resolution of each client)" grep -h "cand\[0\] arg base" "$LOG" | tail -12 echo "--- EPOST drop signature (status-ring starvation rounds)" grep -h "no postable event" "$LOG" | tail -6 if [ -n "$VA" ]; then echo "--- all lines for base $VA" grep -h "$VA" "$LOG" | grep -vE "ldatrace|dmatrace" | head -30 fi echo "=== done ==="