It could just be your BIOS.Try a BIOS reset and if that doesn't work,then re-flash it.The cases in which a brand new drive is defective is very rare.I work in the business and it's only happened twice in about 8-9 years.
Also,make sure your HDDs receive power from the PSU (Power Supply Unit).Check your power cables and as the other members stated,your SATA ports and your SATA cables
Check if your drive is SATA1 or 2, if your drive is SATA2 check if your MB suppports SATA2. some old MB only supports SATA1.
I had the same thing on a SATA1 MB with a SATA2 Western Digital Drive.
With some WD drives you have to use a jumper to get them to work on SATA1 ports.
There is not much you can do in an instance like this, assuming its not the cable or sata port on the motherboard. When this happens at work, its usually do to the firmware on the hdd circuit board causing the BIOS to not detect the drive. When we get drives with bad platters, I remove their still functioning circuit boards so that I can swap them on drives with issues like yours. Unfortunately though, this only works if you can get another drive of the EXACT SAME model using the EXACT SAME firmware.
If you have any SATA devices being recognized by the BIOS such as CD or DVD then you know the cables and MB ports for those devices are OK. Remove the cables from the recognized devices and plug them into the HDD in question. If still unrecognized the problem is within the HDD. If If recognized the problem is with the MB or cables. I don't think SATA drives have jumpers. What would they be for?