Actually its probably a hardware problem.
If you are using 80 wire ATA100 cables then your system should be
configured as follow.
Black connector --------- Grey connector ----- Blue connector
Master -------------- Slave ----------- motherboard
If you have a normal 40 wire connector then just make sure they cables
a seated properly.