DF-0893 / run_live_loop.sh
#!/bin/sh # DF-0893 live trigger - repeated attempts to hit the narrow race window. # Run as maxx on the host. Each attempt hammers the HAMMER v1 mount; if the # guest panics it will not return (ssh dies). Caller checks vm.sh status + # boot.log after. cd /home/maxx/poc/DF-0893 2>/dev/null || cd poc/DF-0893 ATTEMPTS=${1:-8} a=1 while [ $a -le $ATTEMPTS ]; do echo "----- live attempt $a/$ATTEMPTS -----" # vary thread/round counts to widen the race window ./hammer_race_live /mnt/h0893 6 5000 2>&1 rc=$? echo "attempt $a rc=$rc" if [ $rc -ne 0 ]; then echo "NONZERO rc - possibly killed by panic" break fi a=$((a+1)) done echo "LIVE_LOOP_DONE" |