Its not freeware but look into spinrite. I used it many years ago, and apparently it is still available. Info should be at http://www.grc.com.