Find out the make of your harddrive and download from its manufacturer's site their free harddrive diagnostics tool. Run a full diagnostics.
You had another 0xD1 but this time it cited hardware. That is too general of a descripter. However, there was constant reference to your USB. I suggest going to HP's website, find the make and model of your particular HP, and update all the drivers possible for your system. That may very well bring the stability you need.