Hi anirudh and welcome to Windows 7 Forums
Check to make sure that the cables are secure. If using non-latching SATA cables, consider replacing them with latching types. Check the settings in your BIOS - on some boards, it is possible to disable unused ports. You could also see if the drives are detected if you swap the connectors around.