DF-5030 / reachability.sh
#!/bin/sh # DF-5030 — ar5312_attach.c reachability probe (read-only, run on the QEMU guest) # Question: is sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c compiled into # ANY object shipped with the standard DragonFly build? set -e echo "== uname: $(uname -a)" echo "== kernel: $(sysctl -n kern.osrevision 2>/dev/null || true)" echo "== /usr/src/sys/conf/files mentions of ar5312: $(grep -c ar5312 /usr/src/sys/conf/files || true)" echo "== /usr/src ath_hal kmod Makefile mentions of ar5312:" grep -c ar5312 /usr/src/sys/dev/netif/ath/ath_hal/Makefile || echo 0 echo "== ath_hal module present: $(ls /boot/kernel/ath_hal.ko 2>/dev/null || echo none)" if [ -f /boot/kernel/ath_hal.ko ]; then echo "== ar5312* symbols in shipped ath_hal.ko: $(nm /boot/kernel/ath_hal.ko | grep -ci ar5312 || true)" nm /boot/kernel/ath_hal.ko | grep -i ar5312 | head -5 || true fi echo "== ar5312 symbols in static kernel: $(nm /boot/kernel/kernel | grep -ci ar5312 || true)" |