So sometimes the hard drive works (second log), and sometimes not (first log).

Time to check out the cable and connections.