That would leave the controller which means motherboard or PSU. Now assuming everything else is working fine as you stated then the issue is with the controller or the cable to the controller.
Is your cd drive IDE or SATA?
[attachment=53022:sata-ide_lg.jpg]