The compiled code in sysutils/memtest86 is not an even multiple of 512 bytes. Thus, at least on my system (4.10-STABLE), dd errors out at the last sector with "Invalid argument" and the last sector doesn't get written. I solved this problem by tacking on enough bytes from /dev/zero to pad out to an even multiple of 512. -- Shawn K. Quinn