Hi, welcome to the forum.
Sounds like a badly seated or damaged IDE cable to me, or a drive going nuts because of bad PSU. Un-connect and re-connect the IDE cable both at the drive and the motherboard, see if it helps. Try another IDE cable (80-conductor DMA). Did you have any other issues with your PC lately? If so, could be that your PSU has damaged the drive.