Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: init debug logging + logo history report update

Set PATH at top of init (fixes sleep not found), silence scaling_governor
error, add console diagnostics for Mac boot debugging, 30s pause before
ac-native to read GPU/USB status.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+13 -2
+13 -2
fedac/native/initramfs/init
··· 82 82 } 83 83 84 84 echo "[init] mounting USB..." > /dev/tty0 2>/dev/null 85 + echo "[init] block devs: $(ls /dev/sd* /dev/nvme* 2>/dev/null | tr '\n' ' ')" > /dev/tty0 2>/dev/null 85 86 for attempt in 1 2 3 4 5 6 7 8 9 10; do 86 87 mount_usb_partition config && break 87 88 mount_usb_partition boot && break 88 89 [ "$USB_MOUNTED" = "1" ] && break 90 + echo "[init] USB attempt $attempt failed, retrying..." > /dev/tty0 2>/dev/null 89 91 sleep 1 90 92 done 93 + echo "[init] USB_MOUNTED=$USB_MOUNTED (on $(mount | grep /mnt | head -1))" > /dev/tty0 2>/dev/null 91 94 92 95 # Run ac-native in a loop — if it crashes, restart; if clean exit, shutdown 93 96 export LD_LIBRARY_PATH="/lib64:/usr/lib64:${LD_LIBRARY_PATH:-}" ··· 113 116 sync 114 117 echo "[init] pre-launch log written" > /dev/tty0 2>/dev/null 115 118 echo "[init] GPU: $(ls /dev/dri/ 2>/dev/null || echo NONE)" > /dev/tty0 2>/dev/null 116 - echo "[init] starting ac-native..." > /dev/tty0 2>/dev/null 119 + echo "[init] fb: $(ls /dev/fb* 2>/dev/null || echo NONE)" > /dev/tty0 2>/dev/null 120 + echo "[init] block: $(ls /dev/sd* 2>/dev/null | tr '\n' ' ')" > /dev/tty0 2>/dev/null 121 + echo "[init] USB_MOUNTED=$USB_MOUNTED" > /dev/tty0 2>/dev/null 122 + echo "" > /dev/tty0 2>/dev/null 123 + echo "=== AC NATIVE OS DEBUG ===" > /dev/tty0 2>/dev/null 124 + echo "Kernel booted. Pausing 30s before ac-native." > /dev/tty0 2>/dev/null 125 + echo "Read the lines above then report back." > /dev/tty0 2>/dev/null 126 + sleep 30 117 127 118 128 # Start Swank server in background (if SBCL image exists) 119 129 SWANK_PID=0 ··· 127 137 while true; do 128 138 /ac-native /piece.mjs 2>/tmp/ac-native-stderr.log 129 139 EXIT_CODE=$? 130 - echo "[init] ac-native exited: $EXIT_CODE (crash #$CRASH_COUNT)" > /dev/tty0 2>/dev/null 140 + echo "[init] ac-native exited: code=$EXIT_CODE crash=$CRASH_COUNT" > /dev/tty0 2>/dev/null 141 + echo "[init] stderr: $(tail -5 /tmp/ac-native-stderr.log 2>/dev/null)" > /dev/tty0 2>/dev/null 131 142 # Save crash info to USB if mounted 132 143 if [ "$USB_MOUNTED" = "1" ]; then 133 144 echo "exit=$EXIT_CODE crash=$CRASH_COUNT $(date 2>/dev/null)" >> /mnt/ac-crash.log