Improve the expected failure message on amd64 and add additional debugging on
FreeBSD