probably a wonky motherboard, it happens sometimes. bios update might help.

it could also be it was stuck trying to autodetect your drives, if it keeps happening try reseating the sata cables.