DF-0609 / run.sh
#!/bin/sh # DF-0609 run: load the trigger kld and fire the sysctl. # On the UNFIXED kernel this panics during the sysctl write. # On the FIXED kernel the module returns cleanly. set -e echo "=== kldload df0609_trigger.ko ===" kldload ./df0609_trigger.ko echo "=== trigger: sysctl hw.df0609.trigger=1 ===" sysctl hw.df0609.trigger=1 echo "=== kldunload ===" kldunload df0609_trigger.ko 2>/dev/null || true |