Need help

i have both sata hdd and ata hdd running in my system (ata primary) …

my comp is not booting now when sata is enabled …it restarts after disk check…and continues disk check again and after completion it restarts again…it became a constant process …but when sata hdd is disabled my comp boots…i dont know what to do…

please help …