The fact that your device sporadically started working after booting the RAMDISK image seems to point out some sort of random initialization problem.. could even be some sort of quirk with your USB controller.
Now that you have that sorted, perhaps you can look into the other issues I pointed out regarding your SATA controller.