I hade a similar problem with one of my servers. The SSDs would stop responding at odd times. Strange lockups and other hardware wierdness. When I tried putting FreeBSD on it it would kernel panic at odd times during the instalation.
Turns out the CPU aux power connector was not hooked up. I must have knocked it loose while working on the innards a while back. The machine has been rock solid ever since I reconnected it.