In the case of the CD drives, i would have suspected that you dont have the jumpers on the CD drives correctly set. There will be a 'map' of sorts on the CD(or DVD) drive which will tell you which connections need to be bridged to suit the drive being a master or slave. This is done by simply joining a couple of pins with a tiny slide on 'jumper' which is a small piece of metal within a plastic sheath. The pins form 2 rows totalling 8 pins, and are on the back of the drive next to the IDE socket.
Mitz from Tips4pc