DF-2620 / fixA.sh
#!/bin/sh # DF-2620 FIX VALIDATION -- variant A on the patched kernel. # Same trigger as trigger_A.sh: mount forged pfs_nmasters=0xFF image, # then reboot (vfs_unmountall -> hammer2_xop_helper_cleanup). # PASS criterion: system reboots cleanly (no Fatal trap in serial log, # comes back to login prompt); unmount of /mnt/h2 reported at shutdown. LOG=/root/poc/df2620/fixA_run.log exec > $LOG 2>&1 set -x vnconfig -u vn0 2>/dev/null vnconfig -c vn0 /root/poc/df2620/A.img mkdir -p /mnt/h2 mount -t hammer2 -o ro /dev/vn0@testvol /mnt/h2 echo MOUNT_RC=$? echo "--- reboot (trigger: vfs_unmountall -> cleanup) ---" date shutdown -r now |