DF-5590 / introspect.sh
#!/bin/sh # DF-5590 runtime evidence collector — legacy VGA window claims on the isa bus. # Run on the DragonFly guest (as root and as an unprivileged user). set -e echo "### uname" uname -a echo echo "### dmesg: vga attachment lines" dmesg | grep -E '^(sc0|vga0|vgapci0|isa1)' || true echo echo "### devinfo -rv: rman claims of vga0 (I/O + memory windows)" devinfo -rv 2>/dev/null | grep -A5 '^ *vga0$' | head -8 echo echo "### cdev surface: /dev/vga* must NOT exist on GENERIC (no FB_INSTALL_CDEV)" ls -l /dev/vga* 2>&1 || true echo echo "### kernel config check: FB_INSTALL_CDEV compiled in?" if [ -c /dev/vga0 ]; then echo "FB_INSTALL_CDEV present"; else echo "no /dev/vga0 -> cdev block compiled out (GENERIC)"; fi |